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
c2f5e02f
Commit
c2f5e02f
authored
Dec 14, 2020
by
zhengjiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql修改
parent
6943a580
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dbTemplate_fire_equip.xml
...rt/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
+3
-3
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/dbTemplate_fire_equip.xml
View file @
c2f5e02f
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
WHERE
WHERE
efe.fire_equipment_id = ind.equipment_specific_id
efe.fire_equipment_id = ind.equipment_specific_id
) equipmentName,
) equipmentName,
ind.update_date
ind.update_date
as create_date
FROM
FROM
wl_equipment_specific_index as ind
wl_equipment_specific_index as ind
left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id
left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id
...
@@ -189,9 +189,9 @@
...
@@ -189,9 +189,9 @@
AND d.equipmentName LIKE '%${equipmentName}%'
AND d.equipmentName LIKE '%${equipmentName}%'
</if>
</if>
<if
test=
"startTime!=null"
>
<if
test=
"startTime!=null"
>
AND d.
upd
ate_date BETWEEN '${startTime}' AND '${endTime}'
AND d.
cre
ate_date BETWEEN '${startTime}' AND '${endTime}'
</if>
</if>
ORDER BY d.
upd
ate_date desc
ORDER BY d.
cre
ate_date desc
LIMIT ${start},${length}
LIMIT ${start},${length}
</select>
</select>
...
...
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