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
a20ac80a
Commit
a20ac80a
authored
Sep 26, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检点查询BUG
parent
78ffb2c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pointMapper.xml
...ystem-patrol/src/main/resources/db/mapper/pointMapper.xml
+4
-4
No files found.
amos-boot-system-patrol/src/main/resources/db/mapper/pointMapper.xml
View file @
a20ac80a
...
@@ -1231,10 +1231,10 @@
...
@@ -1231,10 +1231,10 @@
AND ( pp.risk_source_id is NULL OR trim(pp.risk_source_id)='')
AND ( pp.risk_source_id is NULL OR trim(pp.risk_source_id)='')
</if>
</if>
<if
test=
"companyId != null and companyId != '' "
>
<if
test=
"companyId != null and companyId != '' "
>
AND
PP
.charge_dept_id = #{companyId}
AND
pp
.charge_dept_id = #{companyId}
</if>
</if>
<if
test=
"bizOrgCode != null and bizOrgCode != '' "
>
<if
test=
"bizOrgCode != null and bizOrgCode != '' "
>
AND
PP
.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
AND
pp
.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
</if>
</if>
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
...
@@ -1305,10 +1305,10 @@
...
@@ -1305,10 +1305,10 @@
AND ( pp.risk_source_id is NULL OR trim(pp.risk_source_id)='' )
AND ( pp.risk_source_id is NULL OR trim(pp.risk_source_id)='' )
</if>
</if>
<if
test=
"bizOrgCode != null and bizOrgCode != '' "
>
<if
test=
"bizOrgCode != null and bizOrgCode != '' "
>
AND
PP
.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
AND
pp
.biz_org_code LIKE CONCAT (#{bizOrgCode},'%')
</if>
</if>
<if
test=
"companyId != null and companyId != '' "
>
<if
test=
"companyId != null and companyId != '' "
>
AND
PP
.charge_dept_id = #{companyId}
AND
pp
.charge_dept_id = #{companyId}
</if>
</if>
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
...
...
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