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
362f4f4c
Commit
362f4f4c
authored
Feb 05, 2024
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: SQL语句BUG修改
parent
c5857cc5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
SignMapper.xml
...t-module-jcs-api/src/main/resources/mapper/SignMapper.xml
+5
-1
dbTemplate_check.xml
...-patrol/src/main/resources/db/mapper/dbTemplate_check.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/resources/mapper/SignMapper.xml
View file @
362f4f4c
...
@@ -14,13 +14,17 @@
...
@@ -14,13 +14,17 @@
sign.`biz_org_code` bizOrgCode,
sign.`biz_org_code` bizOrgCode,
sign.`biz_org_name` bizOrgName,
sign.`biz_org_name` bizOrgName,
sign.`sign_time` signTime,
sign.`sign_time` signTime,
sign.remarks
sign.remarks,
sign.photos
FROM
FROM
cb_sign sign
cb_sign sign
<where>
<where>
<if
test=
"dto.name!=null and dto.name!=''"
>
<if
test=
"dto.name!=null and dto.name!=''"
>
and sign.`name` like CONCAT('%',#{dto.name},'%')
and sign.`name` like CONCAT('%',#{dto.name},'%')
</if>
</if>
<if
test=
"dto.signUserId !=null and dto.signUserId !=''"
>
and sign.user_id = #{dto.signUserId}
</if>
<if
test=
"dto.type!=null and dto.type!=''"
>
<if
test=
"dto.type!=null and dto.type!=''"
>
and sign.type=#{dto.type}
and sign.type=#{dto.type}
</if>
</if>
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_check.xml
View file @
362f4f4c
...
@@ -2368,7 +2368,7 @@
...
@@ -2368,7 +2368,7 @@
<if
test=
"bizOrgCode !=null and bizOrgCode!='' "
>
<if
test=
"bizOrgCode !=null and bizOrgCode!='' "
>
pc.org_code like CONCAT(#{bizOrgCode},'%')
pc.org_code like CONCAT(#{bizOrgCode},'%')
</if>
</if>
<if
test=
"
bizOrgCode !=null and bizOrgCode
!='' "
>
<if
test=
"
userId !=null and userId
!='' "
>
AND pc.user_id = #{userId}
AND pc.user_id = #{userId}
</if>
</if>
</where>
</where>
...
...
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