Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
c6320c33
Commit
c6320c33
authored
Jul 18, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改考勤汇总
parent
cb274a59
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
2 deletions
+43
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/InspectApiController.java
...va/com/mortals/xhx/busiz/h5/web/InspectApiController.java
+2
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/model/CheckAllRecordQuery.java
...m/mortals/xhx/module/check/model/CheckAllRecordQuery.java
+5
-0
attendance-performance-manager/src/main/resources/sqlmap/module/check/CheckAllRecordMapper.xml
...in/resources/sqlmap/module/check/CheckAllRecordMapper.xml
+36
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/InspectApiController.java
View file @
c6320c33
...
@@ -160,8 +160,8 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
...
@@ -160,8 +160,8 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
performReq
.
setPerformEndDate
(
DateUtil
.
endOfMonth
(
DateUtil
.
parse
(
performReq
.
getPerformStartDate
()).
toJdkDate
()).
toDateStr
());
performReq
.
setPerformEndDate
(
DateUtil
.
endOfMonth
(
DateUtil
.
parse
(
performReq
.
getPerformStartDate
()).
toJdkDate
()).
toDateStr
());
}
}
CheckAllRecordQuery
query
=
new
CheckAllRecordQuery
();
CheckAllRecordQuery
query
=
new
CheckAllRecordQuery
();
query
.
setC
heck
TimeStart
(
performReq
.
getPerformStartDate
());
query
.
setC
reate
TimeStart
(
performReq
.
getPerformStartDate
());
query
.
setC
heck
TimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setC
reate
TimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setCreateUserId
(
context
.
getUser
().
getId
());
query
.
setCreateUserId
(
context
.
getUser
().
getId
());
query
.
setSubMethod
(
SubMethodEnum
.
大厅巡查
.
getValue
());
query
.
setSubMethod
(
SubMethodEnum
.
大厅巡查
.
getValue
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/model/CheckAllRecordQuery.java
View file @
c6320c33
...
@@ -17,6 +17,11 @@ public class CheckAllRecordQuery {
...
@@ -17,6 +17,11 @@ public class CheckAllRecordQuery {
private
String
checkTimeEnd
;
private
String
checkTimeEnd
;
private
String
createTimeStart
;
private
String
createTimeEnd
;
private
Long
createUserId
;
private
Long
createUserId
;
/**
/**
...
...
attendance-performance-manager/src/main/resources/sqlmap/module/check/CheckAllRecordMapper.xml
View file @
c6320c33
...
@@ -10,6 +10,9 @@
...
@@ -10,6 +10,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -19,6 +22,9 @@
...
@@ -19,6 +22,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -28,6 +34,9 @@
...
@@ -28,6 +34,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -37,6 +46,9 @@
...
@@ -37,6 +46,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -46,6 +58,9 @@
...
@@ -46,6 +58,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -55,6 +70,9 @@
...
@@ -55,6 +70,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -68,6 +86,9 @@
...
@@ -68,6 +86,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -77,6 +98,9 @@
...
@@ -77,6 +98,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -86,6 +110,9 @@
...
@@ -86,6 +110,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -95,6 +122,9 @@
...
@@ -95,6 +122,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -104,6 +134,9 @@
...
@@ -104,6 +134,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
...
@@ -113,6 +146,9 @@
...
@@ -113,6 +146,9 @@
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subMethod != null and subMethod!=''"
>
AND subMethod = #{subMethod}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"subAddType != null and subAddType!=''"
>
AND subAddType = #{subAddType}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"staffId != null and staffId!=''"
>
AND staffId = #{staffId}
</if>
<if
test=
"createTimeStart != null and createTimeStart!=''"
>
AND createTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{createTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createTimeEnd != null and createTimeEnd!=''"
>
AND createTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{createTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeStart != null and checkTimeStart!=''"
>
AND checkTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{checkTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"checkTimeEnd != null and checkTimeEnd!=''"
>
AND checkTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{checkTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</if>
<if
test=
"createUserId != null and createUserId!=''"
>
AND createUserId = #{createUserId}
</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