Commit 5e65d689 by ilal Committed by chenzg

提交

parent 3c452d20
......@@ -2853,6 +2853,7 @@ public class ClockInController {
dkjl.setId(888);
//更新打卡关闭
ash.setIsupdate(0);
ash.setIsdk(1);
}
//
......@@ -2862,6 +2863,7 @@ public class ClockInController {
dkjl.setId(888);
//更新打卡关闭
ash.setIsupdate(0);
ash.setIsdk(1);
}
/****/
......@@ -2956,6 +2958,25 @@ public class ClockInController {
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 时
if(bccs == bc && b.before(d) && lcdkgb) {
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