更新检测相关功能
This commit is contained in:
parent
bf216df437
commit
5343f74839
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user