Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
131e5ab3
Commit
131e5ab3
authored
Jul 14, 2020
by
lal
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
effa3d72
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
src/main/java/cn/timer/api/dto/spmk/MySummaryQueryDto.java
+2
-2
src/main/resources/mapping/spmk/SpmkApproveSummaryMapper.xml
+7
-2
No files found.
src/main/java/cn/timer/api/dto/spmk/MySummaryQueryDto.java
View file @
131e5ab3
...
...
@@ -37,8 +37,8 @@ public class MySummaryQueryDto extends Page{
private
String
endTime
;
@NotNull
(
message
=
ValidationMsg
.
NOTNULL
)
@DecimalMax
(
value
=
"
2"
,
message
=
ValidationMsg
.
DECIMALMAX
+
" 只能为 0我发起的 1抄送我的 2我审批的
"
)
@DecimalMin
(
value
=
"0"
,
message
=
ValidationMsg
.
DECIMALMIN
+
" 只能为 0我发起的 1抄送我的 2我审批的"
)
@DecimalMax
(
value
=
"
3"
,
message
=
ValidationMsg
.
DECIMALMAX
+
" 只能为 0我发起的 1抄送我的 2我审批的 3全部
"
)
@DecimalMin
(
value
=
"0"
,
message
=
ValidationMsg
.
DECIMALMIN
+
" 只能为 0我发起的 1抄送我的 2我审批的
3全部
"
)
@ApiModelProperty
(
value
=
"0我发起的 1抄送我的 2我审批的"
,
example
=
"0"
)
private
Integer
type
;
...
...
src/main/resources/mapping/spmk/SpmkApproveSummaryMapper.xml
View file @
131e5ab3
...
...
@@ -150,8 +150,13 @@
spmk_executor
WHERE
emp_num = #{param.empNum})
and type = #{param.type}
<if
test=
"param.type == 3"
>
and type in (0,1,2)
</if>
<if
test=
"param.type != 3"
>
and type = #{param.type}
</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