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

修改请假计算考勤

parent 6bcb80aa
...@@ -351,7 +351,7 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID ...@@ -351,7 +351,7 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
if (mobileRest.getCode() == Rest.SUCCESS) { if (mobileRest.getCode() == Rest.SUCCESS) {
String mobile = mobileRest.getData(); String mobile = mobileRest.getData();
StaffQuery staffQuery = new StaffQuery(); StaffQuery staffQuery = new StaffQuery();
staffQuery.setStatusList(Arrays.asList(1,2,3)); staffQuery.setStatusList(Arrays.asList(1,2));
staffQuery.setPhoneNumber(mobile); staffQuery.setPhoneNumber(mobile);
StaffEntity staffEntity = staffService.selectOne(staffQuery); StaffEntity staffEntity = staffService.selectOne(staffQuery);
if (!ObjectUtils.isEmpty(staffEntity)) { if (!ObjectUtils.isEmpty(staffEntity)) {
......
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