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
be7059f5
Commit
be7059f5
authored
Jun 18, 2020
by
leialin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lal' into 'develop'
Lal See merge request 8timerv2/8timerapiv200!225
parents
37fdd11c
15bc93fb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
3 deletions
+15
-3
src/main/java/cn/timer/api/controller/kqgl/service/KqglServiceImpl.java
+3
-3
src/main/java/cn/timer/api/dto/kqmk/AttEvectionApprovalDto.java
+3
-0
src/main/java/cn/timer/api/dto/kqmk/AttLeaveApprovalDto.java
+3
-0
src/main/java/cn/timer/api/dto/kqmk/AttOvertimeApprovalDto.java
+3
-0
src/main/java/cn/timer/api/dto/kqmk/AttRepairApprovalDto.java
+3
-0
No files found.
src/main/java/cn/timer/api/controller/kqgl/service/KqglServiceImpl.java
View file @
be7059f5
...
...
@@ -46,7 +46,7 @@ public class KqglServiceImpl implements KqglService {
YgglMainEmp
emp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getEmpNum
,
leaveappr
.
getUserid
()));
int
modifynumber
=
1
;
KqglAssoLeaveBalance
balan
=
kqglassoleavebalancemapper
.
selectOne
(
new
QueryWrapper
<
KqglAssoLeaveBalance
>().
lambda
().
eq
(
KqglAssoLeaveBalance:
:
getUserid
,
leaveappr
.
getUserid
())
KqglAssoLeaveBalance
balan
=
kqglassoleavebalancemapper
.
selectOne
(
new
QueryWrapper
<
KqglAssoLeaveBalance
>().
lambda
().
eq
(
KqglAssoLeaveBalance:
:
getUserid
,
leaveappr
.
getUserid
())
.
eq
(
KqglAssoLeaveBalance:
:
getOrgCode
,
leaveappr
.
getOrgcode
())
.
orderByDesc
(
KqglAssoLeaveBalance
::
getModifyNumber
).
last
(
"LIMIT 1"
));
if
(
balan
!=
null
)
{
modifynumber
=
balan
.
getModifyNumber
()+
1
;
...
...
@@ -72,7 +72,7 @@ public class KqglServiceImpl implements KqglService {
.
endTime
(
new
SimpleDateFormat
(
"yyyy-MM-dd' 'HH:mm:ss"
).
format
(
overappr
.
getEndtime
())).
build
().
insert
();
}
YgglMainEmp
emp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getEmpNum
,
overappr
.
getUserid
()));
YgglMainEmp
emp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
YgglMainEmp
>().
lambda
().
eq
(
YgglMainEmp:
:
getEmpNum
,
overappr
.
getUserid
())
.
eq
(
YgglMainEmp:
:
getOrgCode
,
overappr
.
getOrgcode
())
);
//查询当前公司调休的id
KqglAssoLeaveRules
learul
=
KqglAssoLeaveRules
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
KqglAssoLeaveRules
>().
lambda
().
eq
(
KqglAssoLeaveRules:
:
getOrgCode
,
emp
.
getOrgCode
()).
eq
(
KqglAssoLeaveRules:
:
getRulesType
,
2
));
...
...
@@ -80,7 +80,7 @@ public class KqglServiceImpl implements KqglService {
if
(
overappr
.
getCompensate
()
==
1
)
{
int
modifynumber
=
1
;
KqglAssoLeaveBalance
balan
=
kqglassoleavebalancemapper
.
selectOne
(
new
QueryWrapper
<
KqglAssoLeaveBalance
>().
lambda
().
eq
(
KqglAssoLeaveBalance:
:
getUserid
,
overappr
.
getUserid
())
KqglAssoLeaveBalance
balan
=
kqglassoleavebalancemapper
.
selectOne
(
new
QueryWrapper
<
KqglAssoLeaveBalance
>().
lambda
().
eq
(
KqglAssoLeaveBalance:
:
getUserid
,
overappr
.
getUserid
())
.
eq
(
KqglAssoLeaveBalance:
:
getOrgCode
,
overappr
.
getOrgcode
())
.
orderByDesc
(
KqglAssoLeaveBalance
::
getModifyNumber
).
last
(
"LIMIT 1"
));
if
(
balan
!=
null
)
{
modifynumber
=
balan
.
getModifyNumber
()+
1
;
...
...
src/main/java/cn/timer/api/dto/kqmk/AttEvectionApprovalDto.java
View file @
be7059f5
...
...
@@ -21,6 +21,9 @@ public class AttEvectionApprovalDto {
@ApiModelProperty
(
value
=
"用户id"
,
example
=
""
)
private
int
userid
;
@ApiModelProperty
(
value
=
"公司id"
,
example
=
""
)
private
int
orgcode
;
@ApiModelProperty
(
value
=
"开始时间"
,
example
=
"时间戳"
)
private
long
starttime
;
...
...
src/main/java/cn/timer/api/dto/kqmk/AttLeaveApprovalDto.java
View file @
be7059f5
...
...
@@ -21,6 +21,9 @@ public class AttLeaveApprovalDto {
@ApiModelProperty
(
value
=
"用户id"
,
example
=
""
)
private
int
userid
;
@ApiModelProperty
(
value
=
"公司id"
,
example
=
""
)
private
int
orgcode
;
@ApiModelProperty
(
value
=
"请假类型"
,
example
=
"具体传ID"
)
private
int
leavetype
;
...
...
src/main/java/cn/timer/api/dto/kqmk/AttOvertimeApprovalDto.java
View file @
be7059f5
...
...
@@ -21,6 +21,9 @@ public class AttOvertimeApprovalDto {
@ApiModelProperty
(
value
=
"用户id"
,
example
=
""
)
private
int
userid
;
@ApiModelProperty
(
value
=
"公司id"
,
example
=
""
)
private
int
orgcode
;
@ApiModelProperty
(
value
=
"加班类型"
,
example
=
"具体传ID"
)
private
int
overtimetype
;
...
...
src/main/java/cn/timer/api/dto/kqmk/AttRepairApprovalDto.java
View file @
be7059f5
...
...
@@ -21,6 +21,9 @@ public class AttRepairApprovalDto {
@ApiModelProperty
(
value
=
"用户id"
,
example
=
""
)
private
int
userid
;
@ApiModelProperty
(
value
=
"公司id"
,
example
=
""
)
private
int
orgcode
;
@ApiModelProperty
(
value
=
"补卡时间"
,
example
=
"时间戳"
)
private
long
cardrepltime
;
...
...
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