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
677cfa81
Commit
677cfa81
authored
4 years ago
by
lal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
59741ed8
Hide 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 @
677cfa81
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dto/kqmk/AttEvectionApprovalDto.java
View file @
677cfa81
...
...
@@ -20,6 +20,9 @@ public class AttEvectionApprovalDto {
@ApiModelProperty
(
value
=
"用户id"
,
example
=
""
)
private
int
userid
;
@ApiModelProperty
(
value
=
"公司id"
,
example
=
""
)
private
int
orgcode
;
@ApiModelProperty
(
value
=
"开始时间"
,
example
=
"时间戳"
)
private
long
starttime
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dto/kqmk/AttLeaveApprovalDto.java
View file @
677cfa81
...
...
@@ -20,6 +20,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
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dto/kqmk/AttOvertimeApprovalDto.java
View file @
677cfa81
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dto/kqmk/AttRepairApprovalDto.java
View file @
677cfa81
...
...
@@ -20,6 +20,9 @@ public class AttRepairApprovalDto {
@ApiModelProperty
(
value
=
"用户id"
,
example
=
""
)
private
int
userid
;
@ApiModelProperty
(
value
=
"公司id"
,
example
=
""
)
private
int
orgcode
;
@ApiModelProperty
(
value
=
"补卡时间"
,
example
=
"时间戳"
)
private
long
cardrepltime
;
...
...
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