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
c3475342
Commit
c3475342
authored
4 years ago
by
lal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
344f2897
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
1 deletions
+20
-1
src/main/java/cn/timer/api/bean/kqmk/KqglAssoOvertimeRules.java
+8
-0
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
+1
-1
src/main/java/cn/timer/api/dto/kqmk/KqglAssoOvertimeRulesDto.java
+7
-0
src/main/resources/mapping/kqmk/KqglAssoOvertimeRulesMapper.xml
+4
-0
No files found.
src/main/java/cn/timer/api/bean/kqmk/KqglAssoOvertimeRules.java
View file @
c3475342
...
...
@@ -114,5 +114,12 @@ public class KqglAssoOvertimeRules extends Model<KqglAssoOvertimeRules> {
@ApiModelProperty
(
value
=
"企业组织代码 企业组织代码"
,
example
=
"117"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
""
,
example
=
""
)
private
Integer
work
;
@ApiModelProperty
(
value
=
""
,
example
=
""
)
private
Integer
rest
;
@ApiModelProperty
(
value
=
""
,
example
=
""
)
private
Integer
holidays
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
View file @
c3475342
...
...
@@ -364,7 +364,7 @@ public class TimeCardController {
vice
.
setOverType
(
rest
[
p
].
getOvertype
());
overtimes
.
add
(
vice
);
}
else
{
break
;
continue
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dto/kqmk/KqglAssoOvertimeRulesDto.java
View file @
c3475342
...
...
@@ -95,6 +95,13 @@ public class KqglAssoOvertimeRulesDto {
@ApiModelProperty
(
value
=
"企业组织代码 企业组织代码"
,
example
=
"117"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
""
,
example
=
"0"
)
private
Integer
work
;
@ApiModelProperty
(
value
=
""
,
example
=
"0"
)
private
Integer
rest
;
@ApiModelProperty
(
value
=
""
,
example
=
"0"
)
private
Integer
holidays
;
@ApiModelProperty
(
value
=
"扣除休息时间段"
,
example
=
"12:00-13:30"
)
private
StartTimeRestDto
[]
starttime
;
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/mapping/kqmk/KqglAssoOvertimeRulesMapper.xml
View file @
c3475342
...
...
@@ -31,6 +31,10 @@
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"create_userid"
property=
"createUserid"
/>
<result
column=
"org_code"
property=
"orgCode"
/>
<result
column=
"work"
property=
"work"
/>
<result
column=
"rest"
property=
"rest"
/>
<result
column=
"holidays"
property=
"holidays"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
...
...
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