xuhy
2024-08-09 5ec98728a942b2660d78bb0e5c82762e132c4c83
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;
@@ -70,6 +73,7 @@
   }
   
   @ResponseBody
   @Log(title = "添加充电桩数据", businessType = BusinessType.INSERT,operatorType = OperatorType.MANAGE)
   @PostMapping("/addChargingPile")
   @ApiOperation(value = "添加充电桩数据", tags = {"管理后台-充电桩信息"})
   public AjaxResult addChargingPile(@RequestBody TChargingPile chargingPile){
@@ -87,6 +91,7 @@
   
   
   @ResponseBody
   @Log(title = "编辑充电桩数据", businessType = BusinessType.UPDATE,operatorType = OperatorType.MANAGE)
   @PostMapping("/editChargingPile")
   @ApiOperation(value = "编辑充电桩数据", tags = {"管理后台-充电桩信息"})
   public AjaxResult editChargingPile(@RequestBody TChargingPile chargingPile){
@@ -97,6 +102,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)
@@ -107,6 +113,7 @@
   
   
   @ResponseBody
   @Log(title = "批量设置计费策略", businessType = BusinessType.UPDATE,operatorType = OperatorType.MANAGE)
   @PostMapping("/batchSetAccountingStrategy")
   @ApiOperation(value = "批量设置计费策略", tags = {"管理后台-充电桩信息"})
   public AjaxResult batchSetAccountingStrategy(@RequestBody BatchSetAccountingStrategy setAccountingStrategy){