Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
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
胡园园
yanxuan-qc-change-system
Commits
9a402f98
Commit
9a402f98
authored
Nov 23, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 分页查询
parent
63af442a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ChangeRecordMapper.xml
.../src/main/resources/mybatis/mapper/ChangeRecordMapper.xml
+10
-10
No files found.
yanxuan-qc-change-system-dal/src/main/resources/mybatis/mapper/ChangeRecordMapper.xml
View file @
9a402f98
...
...
@@ -46,34 +46,34 @@
from TB_YX_QC_CHANGE_RECORD
<where>
<if
test=
"itemId != null "
>
change_item like concat('%',itemId,'%') and
and change_item like concat('%',itemId,'%')
</if>
<if
test=
"supplier != null "
>
change_supplier = #{supplier} and
and change_supplier = #{supplier}
</if>
<if
test=
"parentChangeClassId != null"
>
parent_change_class_id = #{parentChangeClassId} and
and parent_change_class_id = #{parentChangeClassId}
</if>
<if
test=
"sonChangeClassId != null"
>
son_change_class_id = #{sonChangeClassId} and
and son_change_class_id = #{sonChangeClassId}
</if>
<if
test=
"state != null"
>
`state` = #{state} and
and `state` = #{state}
</if>
<if
test=
"changeCommander != null and changeCommander != ''"
>
`change_commander` = #{changeCommander} and
and `change_commander` = #{changeCommander}
</if>
<if
test=
"changeDepartment != null and changeDepartment != ''"
>
`change_department` = #{changeDepartment} and
and `change_department` = #{changeDepartment}
</if>
<if
test=
"changeExecDepartment != null and changeExecDepartment != ''"
>
participate_change_exec_department like concat('%',changeExecDepartment,'%') and
and participate_change_exec_department like concat('%',changeExecDepartment,'%')
</if>
<if
test=
"startTime != null"
>
create_time > #{startTime} and
and create_time > #{startTime}
</if>
<if
test=
"endTime != null"
>
create_time
<![CDATA[ < ]]>
#{endTime} and
and create_time
<![CDATA[ < ]]>
#{endTime}
</if>
</where>
</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