|
@@ -546,9 +546,9 @@ public class WxCorpInfoServiceImpl extends ServiceImpl<WxCorpInfoMapper, WxCorpI
|
|
|
if (jsonObject.get("userid").equals(objects[i])) {
|
|
|
//todo: 获取最早上班打卡时间以及最晚下班打卡时间
|
|
|
Integer time = (Integer) jsonObject.get("checkin_time");
|
|
|
- if (jsonObject.get("checkin_type").equals("上班打卡")) {
|
|
|
+ if (jsonObject.get("checkin_type").equals("上班打卡")&&!jsonObject.get("exception_type").equals("未打卡")) {
|
|
|
upList.add(time);
|
|
|
- } else if(jsonObject.get("checkin_type").equals("下班打卡")) downList.add(time);
|
|
|
+ } else if(jsonObject.get("checkin_type").equals("下班打卡")&&!jsonObject.get("exception_type").equals("未打卡")) downList.add(time);
|
|
|
}
|
|
|
}
|
|
|
double restTime = 0.0;//小时为单位
|