Commit acf60984 by leialin

Merge branch 'lal' into 'develop'

Lal

See merge request 8timerv2/8timerapiv200!219
parents 9a682769 278261df
...@@ -268,6 +268,7 @@ public class ClockInController { ...@@ -268,6 +268,7 @@ public class ClockInController {
Map<String, Integer> comparemap = new HashMap(); Map<String, Integer> comparemap = new HashMap();
if(dkmc == null) { if(dkmc == null) {
kskd = false;
//打卡时间 对比班次 接近哪个时间就打哪个时间的卡 //打卡时间 对比班次 接近哪个时间就打哪个时间的卡
if(attdate.getAttsch().size() == 2 || attdate.getAttsch().size() == 4 || attdate.getAttsch().size() == 6) { if(attdate.getAttsch().size() == 2 || attdate.getAttsch().size() == 4 || attdate.getAttsch().size() == 6) {
comparemap.put("1", dakjg1); comparemap.put("2", dakjg2); comparemap.put("1", dakjg1); comparemap.put("2", dakjg2);
...@@ -290,6 +291,7 @@ public class ClockInController { ...@@ -290,6 +291,7 @@ public class ClockInController {
} }
//最后一次卡的时候 再继续打视为更新最后一次打卡 //最后一次卡的时候 再继续打视为更新最后一次打卡
if(dkmc.getXbdk1() != null) { if(dkmc.getXbdk1() != null) {
kskd = true;
comparemap.put("2", dakjg2); comparemap.put("2", dakjg2);
} }
} }
......
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