Commit 951fc619 authored by 赵啸非's avatar 赵啸非

临时修改部门

parent b3bb6f31
......@@ -111,6 +111,15 @@
</div>
</div>
<Field
label="所属部门"
prop="deptId"
v-model="form.deptId"
:enumData="dict.deptId"
type="select"
placeholder="请选择所属部门"
/>
<form-buttons
@submit="submitForm"
noCancelBtn
......
......@@ -507,6 +507,10 @@ 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));
List<DoorEntity> doorEntities = doorService.find(new DoorQuery());
try {
for (DoorEntity doorEntity : doorEntities) {
StaffReq staffReq = new StaffReq();
Rest<UserSearchInfo> personCountRest = hikStaffService.getPersonCount(staffReq, doorEntity);
......@@ -560,7 +564,10 @@ public class StaffServiceImpl extends AbstractCRUDCacheServiceImpl<StaffDao, Sta
}
}
}
}catch (Exception e){
log.error("同步人员信息失败:{}",e.getMessage());
staffCollect=List
}
if (staffCollect.size() > 0) {
//需要将此人员变更为离职
log.info("需要将此人员变更为离职:{}", JSON.toJSONString(staffCollect));
......
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