Commit 20e143a7 by ilal

提交

parent 1f5dc028
......@@ -3029,7 +3029,7 @@ public class ClockInController {
}else if(asssum1.getApprovalType() == 2) {
//请假
KqglAssoLeaveRules rul = KqglAssoLeaveRules.builder().build().selectOne(new QueryWrapper<KqglAssoLeaveRules>().lambda().eq(KqglAssoLeaveRules::getId,asssum1.getLeaveTypeId()));
if(rul.getRulesType() == null) {
if(rul.getRulesType() != null) {
if(rul.getRulesType() == 1) {
dkjl.setCalendar_status_type(1);
......@@ -3245,11 +3245,8 @@ public class ClockInController {
AttSchedule attw = attsch.get(dk.getSort()+cr-1);
attw.setIsupdate(1);
}
}else {
if(iscrdk) {
if(attdate.getAttsch().size() == 2) {
AttSchedule attc = attsch.get(0);
AttSchedule attcto = attsch.get(1);
......@@ -3283,7 +3280,6 @@ public class ClockInController {
}
attc.setIsdk(0);
}
}else {
if(crlasttime != null) {
Timestamp dd = Timestamp.valueOf(crlasttime);
......@@ -3313,11 +3309,13 @@ public class ClockInController {
}
}
}
//当全为缺卡时
}else {
//休息的时候
List<AttSchedule> attsch_ = new ArrayList<AttSchedule>();
......
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