更新检测相关功能

This commit is contained in:
许允枞 2024-11-04 13:26:54 +08:00
parent bf216df437
commit 5343f74839

View File

@ -74,6 +74,14 @@ public class InspectionWorkNodeServiceImpl extends ServiceImpl<InspectionWorkNod
workNode.setStatus("1");
//更新
this.updateById(workNode);
//查询用户 信息
AdminUserDO adminUserDO = userService.getUser(workNode.getDealUserId());
//修改工单表中当前施工人
inspectionInfo.setWorkId(workNode.getDealUserId());
inspectionInfo.setWorkerName(workNode.getDealUserName());
inspectionInfo.setWorkerPhone(adminUserDO.getMobile());
inspectionInfoService.updateById(inspectionInfo);
}
/**