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

添加员工钉钉同步userId

parent 7b4deb11
......@@ -633,7 +633,6 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
Map<String, StaffEntity> staffCollect = this.find(staffQuery).stream().collect(Collectors.toMap(x -> x.getWorkNum(), y -> y, (o, n) -> n));
for (DeptEntity deptEntity : deptEntityList) {
String deptCode = deptEntity.getDeptCode();
......@@ -673,6 +672,7 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
// staffEntity.setGender(personInfo.getGender());
staffEntity.setWorkNum(personInfo.getUserid());
staffEntity.setPhoneNumber(personInfo.getMobile());
staffEntity.setDingUserId(personInfo.getUserid());
staffEntity.setCreateUserId(1L);
staffEntity.setCreateTime(new Date());
this.save(staffEntity);
......@@ -689,6 +689,7 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
// staffEntity.setGender(personInfo.getGender());
staffEntity.setWorkNum(personInfo.getUserid());
staffEntity.setPhoneNumber(personInfo.getMobile());
staffEntity.setDingUserId(personInfo.getUserid());
staffEntity.setUpdateUserId(1L);
staffEntity.setUpdateTime(new Date());
this.update(staffEntity);
......
......@@ -59,7 +59,7 @@ Content-Type: application/json
{
"attendanceDateStart": "2025-01-01",
"attendanceDateEnd": "2025-03-24"
"attendanceDateEnd": "2025-04-03"
}
......
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