zhibing.pu
2024-09-11 aa7727d8ed9eca34f8126c3dc5a80fbdf9ad56cd
ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TChargingPileNotificationController.java
@@ -6,6 +6,9 @@
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.BasePage;
import com.ruoyi.common.core.web.page.PageInfo;
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.ApiOperation;
import org.springframework.web.bind.annotation.*;
@@ -41,6 +44,7 @@
   @ResponseBody
   @DeleteMapping("/delChargingPileNotification")
   @ApiOperation(value = "删除系统通知", tags = {"管理后台-系统通知"})
   @Log(title = "【系统通知】删除系统通知", businessType = BusinessType.DELETE,operatorType = OperatorType.MANAGE)
   public AjaxResult delChargingPileNotification(@RequestParam("id") Long id){
      TChargingPileNotification chargingPileNotification = chargingPileNotificationService.getById(id);
      chargingPileNotificationService.removeById(chargingPileNotification);