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
1641f041
Commit
1641f041
authored
Jul 31, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
所有核查类型列表接口增加查询条件
parent
ecff2c42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/model/CheckAllRecordQuery.java
...m/mortals/xhx/module/check/model/CheckAllRecordQuery.java
+3
-0
attendance-performance-manager/src/main/resources/sqlmap/module/check/CheckAllRecordMapper.xml
...in/resources/sqlmap/module/check/CheckAllRecordMapper.xml
+14
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/model/CheckAllRecordQuery.java
View file @
1641f041
...
@@ -40,4 +40,7 @@ public class CheckAllRecordQuery {
...
@@ -40,4 +40,7 @@ public class CheckAllRecordQuery {
private
transient
List
<
OrderCol
>
orderColList
=
new
ArrayList
();
private
transient
List
<
OrderCol
>
orderColList
=
new
ArrayList
();
/** 扣分方式(1.系统自动,2.人工添加,3.大厅巡查)列表 */
private
List
<
Integer
>
subMethodList
;
}
}
attendance-performance-manager/src/main/resources/sqlmap/module/check/CheckAllRecordMapper.xml
View file @
1641f041
...
@@ -74,6 +74,13 @@
...
@@ -74,6 +74,13 @@
<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>
) AS a
) AS a
where 1=1
<if
test=
"subMethodList != null"
>
and subMethod in
<foreach
collection=
"subMethodList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
</foreach>
</if>
<if
test=
"orderColList != null and !orderColList.isEmpty()"
>
<if
test=
"orderColList != null and !orderColList.isEmpty()"
>
order by
order by
<trim
suffixOverrides=
","
suffix=
""
>
<trim
suffixOverrides=
","
suffix=
""
>
...
@@ -159,6 +166,13 @@
...
@@ -159,6 +166,13 @@
<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>
) AS a
) AS a
where 1=1
<if
test=
"subMethodList != null"
>
and subMethod in
<foreach
collection=
"subMethodList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
</foreach>
</if>
</select>
</select>
<select
id=
"getScoreSummary"
parameterType=
"com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery"
resultType=
"com.mortals.xhx.module.check.model.vo.CheckAllScoreSummaryVo"
>
<select
id=
"getScoreSummary"
parameterType=
"com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery"
resultType=
"com.mortals.xhx.module.check.model.vo.CheckAllScoreSummaryVo"
>
...
...
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