Commit eab53c9d by leialin

Merge branch 'lal' into 'develop'

提交

See merge request 8timerv2/8timerapiv200!407
parents 803ee100 b47be63e
...@@ -2853,6 +2853,7 @@ public class ClockInController { ...@@ -2853,6 +2853,7 @@ public class ClockInController {
dkjl.setId(888); dkjl.setId(888);
//更新打卡关闭 //更新打卡关闭
ash.setIsupdate(0); ash.setIsupdate(0);
ash.setIsdk(1);
} }
// //
...@@ -2862,6 +2863,7 @@ public class ClockInController { ...@@ -2862,6 +2863,7 @@ public class ClockInController {
dkjl.setId(888); dkjl.setId(888);
//更新打卡关闭 //更新打卡关闭
ash.setIsupdate(0); ash.setIsupdate(0);
ash.setIsdk(1);
} }
/****/ /****/
...@@ -2956,6 +2958,25 @@ public class ClockInController { ...@@ -2956,6 +2958,25 @@ public class ClockInController {
attw.setIsupdate(0); attw.setIsupdate(0);
} }
//全部为缺卡时 没有打卡按钮显示
if(attdate.getAttsch().size() == 2 || attdate.getAttsch().size() == 4 || attdate.getAttsch().size() == 6) {
if(attsch.get(0).getDajl().getId() == 888 && attsch.get(0).getDajl().getStatus() == 17
&&attsch.get(1).getDajl().getId() == 888 && attsch.get(1).getDajl().getStatus() == 17) {
lcdkgb = false;
}
}else if(attdate.getAttsch().size() == 4 || attdate.getAttsch().size() == 6) {
if(attsch.get(2).getDajl().getId() == 888 && attsch.get(2).getDajl().getStatus() == 17
&&attsch.get(3).getDajl().getId() == 888 && attsch.get(3).getDajl().getStatus() == 17) {
lcdkgb = false;
}
}else if(attdate.getAttsch().size() == 6) {
if(attsch.get(4).getDajl().getId() == 888 && attsch.get(4).getDajl().getStatus() == 17
&&attsch.get(5).getDajl().getId() == 888 && attsch.get(5).getDajl().getStatus() == 17) {
lcdkgb = false;
}
}
//全部为 1 时 //全部为 1 时
if(bccs == bc && b.before(d) && lcdkgb) { if(bccs == bc && b.before(d) && lcdkgb) {
System.err.println(cr); System.err.println(cr);
......
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