Commit 12c9d62c authored by 赵啸非's avatar 赵啸非

添加员工钉钉同步userId

parent ecb47791
......@@ -181,7 +181,7 @@ public class DingTalkLoginController extends BaseCRUDJsonBodyMappingController<U
if (ObjectUtils.isEmpty(req.getOpenId()))
throw new AppException("openId不能为空!");
StaffEntity staffEntity = staffService.selectOne(new StaffQuery().phoneNumber(req.getPhone()).name(req.getUserName()));
StaffEntity staffEntity = staffService.selectOne(new StaffQuery().phoneNumber(req.getPhone()));
if (ObjectUtils.isEmpty(staffEntity))
throw new AppException(String.format("系统未找到当前用户,姓名:%s,手机:%s,请联系管理员!", req.getUserName(), req.getPhone()));
UserQuery userQuery = new UserQuery();
......
......@@ -772,9 +772,7 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
}
});
}
}
log.info("部门{}获取人员信息:{}", deptCode, JSON.toJSONString(collect));
}
......
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