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