更新检测相关功能
This commit is contained in:
parent
5343f74839
commit
6e23cc2d24
@ -76,11 +76,10 @@ public class InspectionWorkNodeServiceImpl extends ServiceImpl<InspectionWorkNod
|
||||
this.updateById(workNode);
|
||||
|
||||
//查询用户 信息
|
||||
AdminUserDO adminUserDO = userService.getUser(workNode.getDealUserId());
|
||||
//修改工单表中当前施工人
|
||||
inspectionInfo.setWorkId(workNode.getDealUserId());
|
||||
inspectionInfo.setWorkerName(workNode.getDealUserName());
|
||||
inspectionInfo.setWorkerPhone(adminUserDO.getMobile());
|
||||
inspectionInfo.setWorkId(workerUser.getId());
|
||||
inspectionInfo.setWorkerName(workerUser.getUsername());
|
||||
inspectionInfo.setWorkerPhone(workerUser.getMobile());
|
||||
inspectionInfoService.updateById(inspectionInfo);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user