Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
YeeAmosFireAutoSysRoot
Commits
1846daa5
Commit
1846daa5
authored
Nov 23, 2020
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改脚本文件
parent
a89e1576
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
dbTemplate_fire_equip.xml
...rt/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
+9
-10
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
View file @
1846daa5
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
<select
id=
"queryForFireEquipmentHistoryCount"
resultType=
"long"
>
<select
id=
"queryForFireEquipmentHistoryCount"
resultType=
"long"
>
<!--
SELECT
SELECT
count(1)
count(1)
FROM
FROM
(
(
...
@@ -159,12 +159,12 @@
...
@@ -159,12 +159,12 @@
</if>
</if>
<if
test=
"startTime!=null"
>
<if
test=
"startTime!=null"
>
AND d.create_date BETWEEN '${startTime}' AND '${endTime}'
AND d.create_date BETWEEN '${startTime}' AND '${endTime}'
</if>
-->
</if>
</select>
</select>
<select
id=
"queryForFireEquipmentHistory"
resultType=
"map"
>
<select
id=
"queryForFireEquipmentHistory"
resultType=
"map"
>
<!--
SELECT
SELECT
d.*
d.*
FROM
FROM
(
(
...
@@ -220,7 +220,6 @@
...
@@ -220,7 +220,6 @@
</if>
</if>
ORDER BY d.create_date desc
ORDER BY d.create_date desc
LIMIT ${start},${length}
LIMIT ${start},${length}
-->
</select>
</select>
...
@@ -326,7 +325,7 @@
...
@@ -326,7 +325,7 @@
</select>
</select>
<select
id=
"findAllEquipPointInfo"
resultType=
"com.yeejoin.amos.fas.business.vo.EquipCommunicationData"
>
<select
id=
"findAllEquipPointInfo"
resultType=
"com.yeejoin.amos.fas.business.vo.EquipCommunicationData"
>
<!--
SELECT
SELECT
p.`code` pointCode,
p.`code` pointCode,
p.`name` pointName,
p.`name` pointName,
f.`name` equimentName,
f.`name` equimentName,
...
@@ -342,11 +341,11 @@
...
@@ -342,11 +341,11 @@
LEFT JOIN f_fire_equipment e ON e.id = p.fire_equipment_id
LEFT JOIN f_fire_equipment e ON e.id = p.fire_equipment_id
LEFT JOIN f_equipment_fire_equipment fe ON fe.fire_equipment_id = e.id
LEFT JOIN f_equipment_fire_equipment fe ON fe.fire_equipment_id = e.id
LEFT JOIN f_equipment f ON f.id = fe.equipment_id
LEFT JOIN f_equipment f ON f.id = fe.equipment_id
LEFT JOIN f_dict d on d.id = p.alarm_type
-->
LEFT JOIN f_dict d on d.id = p.alarm_type
</select>
</select>
<select
id=
"findOneByPointCode"
resultType=
"com.yeejoin.amos.fas.business.vo.EquipCommunicationData"
>
<select
id=
"findOneByPointCode"
resultType=
"com.yeejoin.amos.fas.business.vo.EquipCommunicationData"
>
<!--
SELECT
SELECT
p.`code` pointCode,
p.`code` pointCode,
p.`name` pointName,
p.`name` pointName,
e.id fireEquipmentId,
e.id fireEquipmentId,
...
@@ -359,7 +358,7 @@
...
@@ -359,7 +358,7 @@
f_fire_equipment_point p
f_fire_equipment_point p
LEFT JOIN f_fire_equipment e ON e.id = p.fire_equipment_id
LEFT JOIN f_fire_equipment e ON e.id = p.fire_equipment_id
LEFT JOIN f_dict d on d.id = p.alarm_type
LEFT JOIN f_dict d on d.id = p.alarm_type
where p.`code` = #{code}
-->
where p.`code` = #{code}
</select>
</select>
<select
id=
"listByCodes"
resultType=
"com.yeejoin.amos.fas.business.entity.mybatis.FireEquipmentEntity"
>
<select
id=
"listByCodes"
resultType=
"com.yeejoin.amos.fas.business.entity.mybatis.FireEquipmentEntity"
>
...
@@ -393,7 +392,7 @@
...
@@ -393,7 +392,7 @@
<insert
id=
"saveBatch"
keyColumn=
"id"
keyProperty=
"id"
<insert
id=
"saveBatch"
keyColumn=
"id"
keyProperty=
"id"
parameterType=
"com.yeejoin.amos.fas.business.param.FireEquipmentParam"
parameterType=
"com.yeejoin.amos.fas.business.param.FireEquipmentParam"
useGeneratedKeys=
"true"
>
useGeneratedKeys=
"true"
>
<!--
insert into f_fire_equipment
insert into f_fire_equipment
(
(
org_code,
org_code,
code,
code,
...
@@ -432,7 +431,7 @@
...
@@ -432,7 +431,7 @@
#{item.weight},
#{item.weight},
#{item.riskSourceId}
#{item.riskSourceId}
)
)
</foreach>
-->
</foreach>
</insert>
</insert>
<update
id=
"updateBatch"
>
<update
id=
"updateBatch"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment