移动人员时候的所属组织更新到isc
This commit is contained in:
parent
af0d0ed7f7
commit
1f4cdade53
@ -305,15 +305,10 @@ public class WorkerInfoServiceImpl extends ServiceImpl<WorkerInfoMapper, WorkerI
|
|||||||
String workerIdStr = MapUtils.getString(map, "workerIdStr");
|
String workerIdStr = MapUtils.getString(map, "workerIdStr");
|
||||||
if (StringUtils.isNotEmpty(workerIdStr)) {
|
if (StringUtils.isNotEmpty(workerIdStr)) {
|
||||||
for (String id : workerIdStr.split(",")) {
|
for (String id : workerIdStr.split(",")) {
|
||||||
WorkerInfo info = new WorkerInfo();
|
WorkerInfo info = workerInfoMapper.selectById(Long.valueOf(id));
|
||||||
info.setId(Long.valueOf(id));
|
|
||||||
info.setTeamId(MapUtils.getLong(map, "teamId"));
|
info.setTeamId(MapUtils.getLong(map, "teamId"));
|
||||||
info.setEnterpriseId(MapUtils.getLong(map, "enterpriseId"));
|
info.setEnterpriseId(MapUtils.getLong(map, "enterpriseId"));
|
||||||
workerInfoMapper.updateById(info);
|
this.editWorkerInfo(info);
|
||||||
WorkerInfo workerInfo = workerInfoMapper.selectById(info.getId());
|
|
||||||
//上传住建
|
|
||||||
asyncWorker.sendWorkerInfoById(workerInfo);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user