Commit 7951a475 by ilal Committed by chenzg

提交

parent 9a54fae6
...@@ -3374,6 +3374,7 @@ public class ClockInController { ...@@ -3374,6 +3374,7 @@ public class ClockInController {
taap.setCalendar_status_type(11); taap.setCalendar_status_type(11);
}else if(spnsw.getApprovalType() == 2) { }else if(spnsw.getApprovalType() == 2) {
KqglAssoLeaveRules rul = KqglAssoLeaveRules.builder().build().selectOne(new QueryWrapper<KqglAssoLeaveRules>().lambda().eq(KqglAssoLeaveRules::getId,spnsw.getLeaveTypeId())); KqglAssoLeaveRules rul = KqglAssoLeaveRules.builder().build().selectOne(new QueryWrapper<KqglAssoLeaveRules>().lambda().eq(KqglAssoLeaveRules::getId,spnsw.getLeaveTypeId()));
if(rul.getRulesType() != null) {
if(rul.getRulesType() == 1) { if(rul.getRulesType() == 1) {
taap.setCalendar_status_type(1); taap.setCalendar_status_type(1);
}else if(rul.getRulesType() == 2) { }else if(rul.getRulesType() == 2) {
...@@ -3395,6 +3396,7 @@ public class ClockInController { ...@@ -3395,6 +3396,7 @@ public class ClockInController {
}else if(rul.getRulesType() == 10) { }else if(rul.getRulesType() == 10) {
taap.setCalendar_status_type(10); taap.setCalendar_status_type(10);
} }
}
}else if(spnsw.getApprovalType() == 3) { }else if(spnsw.getApprovalType() == 3) {
taap.setCalendar_status_type(12); taap.setCalendar_status_type(12);
}else if(spnsw.getApprovalType() == 4) { }else if(spnsw.getApprovalType() == 4) {
......
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