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
Jun 20, 2020
by
lal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
344f2897
Show 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
...
@@ -115,4 +115,11 @@ public class KqglAssoOvertimeRules extends Model<KqglAssoOvertimeRules> {
...
@@ -115,4 +115,11 @@ public class KqglAssoOvertimeRules extends Model<KqglAssoOvertimeRules> {
@ApiModelProperty
(
value
=
"企业组织代码 企业组织代码"
,
example
=
"117"
)
@ApiModelProperty
(
value
=
"企业组织代码 企业组织代码"
,
example
=
"117"
)
private
Integer
orgCode
;
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
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
View file @
c3475342
...
@@ -364,7 +364,7 @@ public class TimeCardController {
...
@@ -364,7 +364,7 @@ public class TimeCardController {
vice
.
setOverType
(
rest
[
p
].
getOvertype
());
vice
.
setOverType
(
rest
[
p
].
getOvertype
());
overtimes
.
add
(
vice
);
overtimes
.
add
(
vice
);
}
else
{
}
else
{
break
;
continue
;
}
}
}
}
...
...
src/main/java/cn/timer/api/dto/kqmk/KqglAssoOvertimeRulesDto.java
View file @
c3475342
...
@@ -95,6 +95,13 @@ public class KqglAssoOvertimeRulesDto {
...
@@ -95,6 +95,13 @@ public class KqglAssoOvertimeRulesDto {
@ApiModelProperty
(
value
=
"企业组织代码 企业组织代码"
,
example
=
"117"
)
@ApiModelProperty
(
value
=
"企业组织代码 企业组织代码"
,
example
=
"117"
)
private
Integer
orgCode
;
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"
)
@ApiModelProperty
(
value
=
"扣除休息时间段"
,
example
=
"12:00-13:30"
)
private
StartTimeRestDto
[]
starttime
;
private
StartTimeRestDto
[]
starttime
;
...
...
src/main/resources/mapping/kqmk/KqglAssoOvertimeRulesMapper.xml
View file @
c3475342
...
@@ -31,6 +31,10 @@
...
@@ -31,6 +31,10 @@
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"create_userid"
property=
"createUserid"
/>
<result
column=
"create_userid"
property=
"createUserid"
/>
<result
column=
"org_code"
property=
"orgCode"
/>
<result
column=
"org_code"
property=
"orgCode"
/>
<result
column=
"work"
property=
"work"
/>
<result
column=
"rest"
property=
"rest"
/>
<result
column=
"holidays"
property=
"holidays"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
...
...
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