字段调整

This commit is contained in:
zhangchenbiao
2024-04-18 15:27:10 +08:00
parent 2b3131e5da
commit b771de1dbf
6 changed files with 47 additions and 7 deletions

View File

@@ -110,6 +110,7 @@ public class PointServiceImpl implements PointService {
throw new ServiceException(ErrorCodeEnum.POINT_NOT_EXIST);
}
PointDetailVO result = PointDetailVO.convertVO(pointInfo, pointDetailInfo);
result.setRegionNodeName(regionService.getBelongWarRegionName(pointInfo.getRegionId()));
if(Objects.nonNull(isGetNodeNo) && isGetNodeNo){
result.setCurNodeNo(pointTodoInfoDAO.getCurNodeNoByPoint(pointId));
}
@@ -703,7 +704,7 @@ public class PointServiceImpl implements PointService {
pointInfo.setSelectStatus(SelectStatusEnum.SELECT_STATUS_1.getCode());
pointInfo.setDevelopmentManager(lineInfo.getDevelopmentManager());
pointInfo.setDevelopmentTime(new Date());
pointInfo.setIsLineUpload(Boolean.TRUE);
pointInfo.setPointSource(PointSourceEnum.POINT_SOURCE_2.getCode());
pointInfo.setPointCode(generateCode());
Long pointId = pointInfoDAO.addPointInfo(pointInfo);
pointDetailInfo.setPointId(pointId);