Commit f470cd4b authored by 赵啸非's avatar 赵啸非

添加考勤逻辑判断

parent 335b6269
......@@ -121,7 +121,7 @@ public class SyncDoorsEventTaskImpl implements ITaskExcuteService {
if (ObjectUtils.isEmpty(new String(byEmployeeNo).trim())) {
int dwEmployeeNo = item.getStruAcsEventInfo().getDwEmployeeNo();
if (dwEmployeeNo == 0) {
log.info("jobNo is null ==>{}", JSON.toJSONString(item));
//log.info("jobNo is null ==>{}", JSON.toJSONString(item));
return null;
} else {
jobNo = String.valueOf(dwEmployeeNo);
......@@ -129,6 +129,7 @@ public class SyncDoorsEventTaskImpl implements ITaskExcuteService {
} else {
jobNo = new String(byEmployeeNo).trim();
}
log.info("jobNo==>{}",jobNo);
//查看考勤状态
int dwMajor = item.getDwMajor();//报警主类型
int dwMinor = item.getDwMinor();//报警次类型
......
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