Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
ops
Commits
4e9ec054
Commit
4e9ec054
authored
Mar 05, 2025
by
wujipeng
Browse files
去除加班类型的接入
parent
4fba3fc5
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/sms/task/DingTask.java
View file @
4e9ec054
...
@@ -99,7 +99,8 @@ public class DingTask {
...
@@ -99,7 +99,8 @@ public class DingTask {
DingUserVO
employeeDetail
=
dingEmployeeController
.
getEmployeeDetail
(
dingAttendanceEntity
.
getUserId
());
DingUserVO
employeeDetail
=
dingEmployeeController
.
getEmployeeDetail
(
dingAttendanceEntity
.
getUserId
());
List
<
OapiAttendanceGetupdatedataResponse
.
AtApproveForOpenVo
>
userClockIn
=
dingAttendanceController
.
getUserClockIn
(
dingAttendanceEntity
.
getUserId
(),
startAndEndOfDay
[
0
]);
List
<
OapiAttendanceGetupdatedataResponse
.
AtApproveForOpenVo
>
userClockIn
=
dingAttendanceController
.
getUserClockIn
(
dingAttendanceEntity
.
getUserId
(),
startAndEndOfDay
[
0
]);
dingAttendanceEntity
.
setName
(
employeeDetail
.
getName
());
dingAttendanceEntity
.
setName
(
employeeDetail
.
getName
());
if
(!
userClockIn
.
isEmpty
())
{
//判断员工是否有流程审批
if
(!
userClockIn
.
isEmpty
()
&&
!
"加班"
.
equals
(
userClockIn
.
get
(
0
).
getTagName
()))
{
dingAttendanceEntity
.
setDuration
(
userClockIn
.
get
(
0
).
getDuration
());
dingAttendanceEntity
.
setDuration
(
userClockIn
.
get
(
0
).
getDuration
());
dingAttendanceEntity
.
setDurationUnit
(
userClockIn
.
get
(
0
).
getDurationUnit
());
dingAttendanceEntity
.
setDurationUnit
(
userClockIn
.
get
(
0
).
getDurationUnit
());
dingAttendanceEntity
.
setSubType
(
userClockIn
.
get
(
0
).
getSubType
());
dingAttendanceEntity
.
setSubType
(
userClockIn
.
get
(
0
).
getSubType
());
...
...
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