zhibing.pu
2024-08-09 a3ded5d8e0c4f750fb4ad190e165ddeb8446f05a
ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TChargingPileController.java
@@ -16,6 +16,9 @@
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.PageInfo;
import com.ruoyi.chargingPile.api.query.PageChargingPileList;
import com.ruoyi.common.log.annotation.Log;
import com.ruoyi.common.log.enums.BusinessType;
import com.ruoyi.common.log.enums.OperatorType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
@@ -73,6 +76,7 @@
   }
   
   @ResponseBody
   @Log(title = "添加充电桩数据", businessType = BusinessType.INSERT,operatorType = OperatorType.MANAGE)
   @PostMapping("/addChargingPile")
   @ApiOperation(value = "添加充电桩数据", tags = {"管理后台-充电桩信息"})
   public AjaxResult addChargingPile(@RequestBody TChargingPile chargingPile){
@@ -90,6 +94,7 @@
   
   
   @ResponseBody
   @Log(title = "编辑充电桩数据", businessType = BusinessType.UPDATE,operatorType = OperatorType.MANAGE)
   @PostMapping("/editChargingPile")
   @ApiOperation(value = "编辑充电桩数据", tags = {"管理后台-充电桩信息"})
   public AjaxResult editChargingPile(@RequestBody TChargingPile chargingPile){
@@ -100,6 +105,7 @@
   
   @ResponseBody
   @DeleteMapping("/delChargingPile/{id}")
   @Log(title = "删除充电桩", businessType = BusinessType.DELETE,operatorType = OperatorType.MANAGE)
   @ApiOperation(value = "删除充电桩", tags = {"管理后台-充电桩信息"})
   @ApiImplicitParams({
         @ApiImplicitParam(value = "充电桩id", name = "id", dataTypeClass = Integer.class, required = true)
@@ -110,6 +116,7 @@
   
   
   @ResponseBody
   @Log(title = "批量设置计费策略", businessType = BusinessType.UPDATE,operatorType = OperatorType.MANAGE)
   @PostMapping("/batchSetAccountingStrategy")
   @ApiOperation(value = "批量设置计费策略", tags = {"管理后台-充电桩信息"})
   public AjaxResult batchSetAccountingStrategy(@RequestBody BatchSetAccountingStrategy setAccountingStrategy){