更新检测相关功能

This commit is contained in:
许允枞 2024-11-04 13:29:27 +08:00
parent 5343f74839
commit 6e23cc2d24

View File

@ -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);
}