终端bug
This commit is contained in:
@@ -489,8 +489,8 @@ public class TerminalBaseServiceImpl extends ServiceImpl<LineMapper, Line> imple
|
||||
throw new BusinessException(DeviceResponseEnum.PROVINCE_EMPTY);
|
||||
}
|
||||
Line province = new Line();
|
||||
province.setId(updateTerminalParam.getProjectUpdateParam().getProjectIndex());
|
||||
province.setSort(updateTerminalParam.getProjectUpdateParam().getSort());
|
||||
province.setId(updateTerminalParam.getProvinceUpdateParam().getProvinceIndex());
|
||||
province.setSort(updateTerminalParam.getProvinceUpdateParam().getSort());
|
||||
this.updateById(province);
|
||||
}
|
||||
|
||||
@@ -517,6 +517,7 @@ public class TerminalBaseServiceImpl extends ServiceImpl<LineMapper, Line> imple
|
||||
Line subStation = new Line();
|
||||
subStation.setId(updateTerminalParam.getSubStationUpdateParam().getSubIndex());
|
||||
subStation.setName(updateTerminalParam.getSubStationUpdateParam().getName());
|
||||
subStation.setSort(updateTerminalParam.getSubStationUpdateParam().getSort());
|
||||
checkUpdateName(updateTerminalParam, 3, subStationRes.getPid());
|
||||
|
||||
this.updateById(subStation);
|
||||
|
||||
Reference in New Issue
Block a user