This commit is contained in:
shuo.wang
2025-04-14 20:09:58 +08:00
parent 4eee74fcd1
commit 047eb42ff1

View File

@@ -643,9 +643,11 @@ public class LineServiceImpl implements LineService {
@Override
public Integer updateRegionId(Long regionId, Long lineId) {
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(lineId);
log.info("updateRegionId!!!!");
if (lineInfo == null) {
throw new ServiceException(ErrorCodeEnum.LINE_ID_IS_NOT_EXIST);
}
log.info("updateRegionId????????????");
LineInfoDO lineInfoDO = new LineInfoDO();
lineInfoDO.setId(lineId);
lineInfoDO.setRegionId(regionId);