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
4 years ago
by
lal
Committed by
chenzg
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
effa3d72
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/main/java/cn/timer/api/dto/spmk/MySummaryQueryDto.java
+2
-2
src/main/resources/mapping/spmk/SpmkApproveSummaryMapper.xml
+5
-0
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
;
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/mapping/spmk/SpmkApproveSummaryMapper.xml
View file @
131e5ab3
...
...
@@ -151,7 +151,12 @@
WHERE
emp_num = #{param.empNum})
<if
test=
"param.type == 3"
>
and type in (0,1,2)
</if>
<if
test=
"param.type != 3"
>
and type = #{param.type}
</if>
)
</if>
...
...
This diff is collapsed.
Click to expand it.
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