ansteel-biz/src/main/java/com/iailab/module/ansteel/api/controller/admin/PowerController.java
@@ -1227,4 +1227,13 @@ public CommonResult<Boolean> savePowerPriceList(@RequestBody PowerPriceMainDTO mainDTO) { return success(powerPriceMainService.save(mainDTO)); } @PostMapping("/power-price/update") @Operation(summary = "修改峰谷平电价信息") public CommonResult<Boolean> updatePowerPriceList(@RequestBody PowerPriceMainDTO mainDTO) { if("".equals(mainDTO.getId()) || mainDTO.getId() == null) { return error(GlobalErrorCodeConstants.BAD_REQUEST); } return success(powerPriceMainService.update(mainDTO)); } }