Commit 4e9ec054 authored by wujipeng's avatar wujipeng
Browse files

去除加班类型的接入

parent 4fba3fc5
......@@ -99,7 +99,8 @@ public class DingTask {
DingUserVO employeeDetail = dingEmployeeController.getEmployeeDetail(dingAttendanceEntity.getUserId());
List<OapiAttendanceGetupdatedataResponse.AtApproveForOpenVo> userClockIn = dingAttendanceController.getUserClockIn(dingAttendanceEntity.getUserId(), startAndEndOfDay[0]);
dingAttendanceEntity.setName(employeeDetail.getName());
if (!userClockIn.isEmpty()) {
//判断员工是否有流程审批
if (!userClockIn.isEmpty() && !"加班".equals(userClockIn.get(0).getTagName())) {
dingAttendanceEntity.setDuration(userClockIn.get(0).getDuration());
dingAttendanceEntity.setDurationUnit(userClockIn.get(0).getDurationUnit());
dingAttendanceEntity.setSubType(userClockIn.get(0).getSubType());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment