移动人员时候的所属组织更新到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");
|
||||
if (StringUtils.isNotEmpty(workerIdStr)) {
|
||||
for (String id : workerIdStr.split(",")) {
|
||||
WorkerInfo info = new WorkerInfo();
|
||||
info.setId(Long.valueOf(id));
|
||||
WorkerInfo info = workerInfoMapper.selectById(Long.valueOf(id));
|
||||
info.setTeamId(MapUtils.getLong(map, "teamId"));
|
||||
info.setEnterpriseId(MapUtils.getLong(map, "enterpriseId"));
|
||||
workerInfoMapper.updateById(info);
|
||||
WorkerInfo workerInfo = workerInfoMapper.selectById(info.getId());
|
||||
//上传住建
|
||||
asyncWorker.sendWorkerInfoById(workerInfo);
|
||||
|
||||
this.editWorkerInfo(info);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user