Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
c804413a
Commit
c804413a
authored
Nov 07, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检模块代码bug修改 && 机场代码迁移
parent
63612568
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+1
-1
dbTemplate_check.xml
...-patrol/src/main/resources/db/mapper/dbTemplate_check.xml
+6
-2
pointMapper.xml
...ystem-patrol/src/main/resources/db/mapper/pointMapper.xml
+1
-0
routeMapper.xml
...ystem-patrol/src/main/resources/db/mapper/routeMapper.xml
+1
-0
No files found.
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
c804413a
...
@@ -2873,7 +2873,7 @@
...
@@ -2873,7 +2873,7 @@
LEFT JOIN wl_warehouse_structure wws ON wsd.warehouse_structure_id = wws.id
LEFT JOIN wl_warehouse_structure wws ON wsd.warehouse_structure_id = wws.id
<where>
<where>
and wec.industry_code = 2
<if
test=
"dto.code!=null and dto.code!=''"
>
<if
test=
"dto.code!=null and dto.code!=''"
>
and wesp.code = #{dto.code}
and wesp.code = #{dto.code}
</if>
</if>
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_check.xml
View file @
c804413a
...
@@ -75,7 +75,9 @@
...
@@ -75,7 +75,9 @@
LEFT JOIN ( SELECT check_id, GROUP_CONCAT( latent_danger_id ) dangerIds FROM p_latent_danger_patrol GROUP BY check_id ) t ON t.check_id = a.id
LEFT JOIN ( SELECT check_id, GROUP_CONCAT( latent_danger_id ) dangerIds FROM p_latent_danger_patrol GROUP BY check_id ) t ON t.check_id = a.id
</if>
</if>
<trim
prefix=
"WHERE"
prefixOverrides=
"AND "
>
<trim
prefix=
"WHERE"
prefixOverrides=
"AND "
>
<if
test=
"beginDate!=null and endDate!=null"
>
and a.check_time BETWEEN #{beginDate} and #{endDate}
</if>
<!-- <if test="beginDate!=null and endDate!=null">and a.check_time BETWEEN #{beginDate} and #{endDate}</if>-->
<if
test=
"beginDate!=null and beginDate!= ''"
>
and a.check_time >= #{beginDate}
</if>
<if
test=
"endDate!=null and endDate!= ''"
>
and #{endDate} >= a.check_time
</if>
<!-- <if test="endDate!=null"> and #{endDate} <![CDATA[>=]]> a.check_time </if> -->
<!-- <if test="endDate!=null"> and #{endDate} <![CDATA[>=]]> a.check_time </if> -->
<if
test=
"userName!=null"
>
and a.user_name like concat(concat("%",#{userName}),"%")
</if>
<if
test=
"userName!=null"
>
and a.user_name like concat(concat("%",#{userName}),"%")
</if>
<if
test=
"pointName!=null"
>
and b.name like concat(concat("%",#{pointName}),"%")
</if>
<if
test=
"pointName!=null"
>
and b.name like concat(concat("%",#{pointName}),"%")
</if>
...
@@ -257,7 +259,9 @@
...
@@ -257,7 +259,9 @@
LEFT JOIN ( SELECT check_id, GROUP_CONCAT( latent_danger_id ) dangerIds FROM p_latent_danger_patrol GROUP BY check_id ) t ON t.check_id = a.id
LEFT JOIN ( SELECT check_id, GROUP_CONCAT( latent_danger_id ) dangerIds FROM p_latent_danger_patrol GROUP BY check_id ) t ON t.check_id = a.id
</if>
</if>
<trim
prefix=
"WHERE"
prefixOverrides=
"AND "
>
<trim
prefix=
"WHERE"
prefixOverrides=
"AND "
>
<if
test=
"beginDate!=null and endDate!=null"
>
and a.check_time BETWEEN #{beginDate} and #{endDate}
</if>
<!-- <if test="beginDate!=null and endDate!=null">and a.check_time BETWEEN #{beginDate} and #{endDate}</if>-->
<if
test=
"beginDate!=null and beginDate!= ''"
>
and a.check_time >= #{beginDate}
</if>
<if
test=
"endDate!=null and endDate!= ''"
>
and #{endDate} >= a.check_time
</if>
<!-- <if test="endDate!=null"> and #{endDate} <![CDATA[>=]]> a.check_time </if> -->
<!-- <if test="endDate!=null"> and #{endDate} <![CDATA[>=]]> a.check_time </if> -->
<if
test=
"userName!=null"
>
and a.user_name like concat(concat("%",#{userName}),"%")
</if>
<if
test=
"userName!=null"
>
and a.user_name like concat(concat("%",#{userName}),"%")
</if>
<if
test=
"pointName!=null"
>
and b.name like concat(concat("%",#{pointName}),"%")
</if>
<if
test=
"pointName!=null"
>
and b.name like concat(concat("%",#{pointName}),"%")
</if>
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/pointMapper.xml
View file @
c804413a
...
@@ -1315,6 +1315,7 @@
...
@@ -1315,6 +1315,7 @@
and ( select COUNT(p_point_inputitem.id) fROM p_point_inputitem where p_point_inputitem.point_id =pp.id) >0
and ( select COUNT(p_point_inputitem.id) fROM p_point_inputitem where p_point_inputitem.point_id =pp.id) >0
AND pp.is_delete = 0
AND pp.is_delete = 0
</where>
</where>
order by pp.create_date DESC
LIMIT #{offset}, #{size}
LIMIT #{offset}, #{size}
</select>
</select>
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/routeMapper.xml
View file @
c804413a
...
@@ -458,6 +458,7 @@
...
@@ -458,6 +458,7 @@
WHERE
WHERE
r.is_delete = 0 and r.biz_org_code like CONCAT( #{orgCode}, '%')
r.is_delete = 0 and r.biz_org_code like CONCAT( #{orgCode}, '%')
GROUP BY r.id
GROUP BY r.id
order by r.create_date DESC
</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