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
83c1a3d5
Commit
83c1a3d5
authored
Oct 27, 2023
by
H2T
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
条件查询检查项接口修改
parent
4553619c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dbTemplate_input_item.xml
...ol/src/main/resources/db/mapper/dbTemplate_input_item.xml
+6
-0
No files found.
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_input_item.xml
View file @
83c1a3d5
...
@@ -150,12 +150,18 @@
...
@@ -150,12 +150,18 @@
<select
id=
"queryCustomInputItem"
resultType=
"com.yeejoin.amos.patrol.business.vo.PointInputItemVo"
>
<select
id=
"queryCustomInputItem"
resultType=
"com.yeejoin.amos.patrol.business.vo.PointInputItemVo"
>
SELECT * FROM p_input_item
SELECT * FROM p_input_item
where is_delete = '0' and input_type = 0
where is_delete = '0' and input_type = 0
<if
test=
"id!=null and id !='' "
>
and id like concat('%', #{id}, '%')
</if>
<if
test=
"orgCode!=null and orgCode !='' "
>
<if
test=
"orgCode!=null and orgCode !='' "
>
and org_Code = #{orgCode}
and org_Code = #{orgCode}
</if>
</if>
<if
test=
"itemType!=null and itemType !='' "
>
<if
test=
"itemType!=null and itemType !='' "
>
and item_type = #{itemType}
and item_type = #{itemType}
</if>
</if>
<if
test=
"inputClassify!=null and inputClassify !='' "
>
and input_classify = #{inputClassify}
</if>
<if
test=
"nameOrItemNo!=null and nameOrItemNo !='' "
>
<if
test=
"nameOrItemNo!=null and nameOrItemNo !='' "
>
and (name like concat('%', #{nameOrItemNo}, '%') or item_no like concat('%', #{nameOrItemNo}, '%'))
and (name like concat('%', #{nameOrItemNo}, '%') or item_no like concat('%', #{nameOrItemNo}, '%'))
</if>
</if>
...
...
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