From acf352921487e857810a943b008121e33404e9ae Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang960204@163.com>
Date: 星期二, 15 四月 2025 16:56:50 +0800
Subject: [PATCH] fix:白名单新增bug
---
src/main/java/com/boying/controller/TicketBlackController.java | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/main/java/com/boying/controller/TicketBlackController.java b/src/main/java/com/boying/controller/TicketBlackController.java
index 4694209..c71476c 100644
--- a/src/main/java/com/boying/controller/TicketBlackController.java
+++ b/src/main/java/com/boying/controller/TicketBlackController.java
@@ -11,8 +11,6 @@
import com.boying.util.FileUtil;
import com.boying.util.NumberToCN;
import io.swagger.annotations.ApiOperation;
-import io.swagger.v3.oas.annotations.Operation;
-import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
@@ -34,7 +32,6 @@
@RestController
@RequestMapping("ffzf/ticketblack")
@RequiredArgsConstructor
-@Tag(description = "ffzf/ticketblack" , name = "榛戝悕鍗曡〃鎺ュ彛" )
public class TicketBlackController {
@@ -46,7 +43,6 @@
@PostMapping("findPage")
- @Operation(summary = "鍒嗛〉鏌ヨ" , description = "鍒嗛〉鏌ヨ" )
public Object findPage(Page page, TicketBlack ticket){
QueryWrapper<TicketBlack> wrapper = new QueryWrapper<>();
wrapper.lambda()
@@ -57,7 +53,6 @@
}
@PostMapping("/save")
- @Operation(summary = "鏂板榛戝悕鍗�" , description = "鏂板榛戝悕鍗�" )
public Object save(TicketBlack ticket) throws IOException{
QueryWrapper<TicketBlack> wrapper = new QueryWrapper<>();
wrapper.lambda()
@@ -79,7 +74,6 @@
*/
@ApiOperation(value = "閫氳繃id鏌ヨ", notes = "閫氳繃id鏌ヨ")
@GetMapping("/{id}" )
- @Operation(summary = "閫氳繃id鏌ヨ" , description = "閫氳繃id鏌ヨ" )
public R getById(@PathVariable("id" ) Integer id) {
TicketBlack byId = ticketBlackService.getById(id);
return R.ok(byId);
@@ -87,7 +81,6 @@
@PostMapping("/delete")
- @Operation(summary = "鍒犻櫎榛戝悕鍗�" , description = "鍒犻櫎榛戝悕鍗�" )
public Object delete(Long id){
TicketBlack ticket =ticketBlackService.getById(id);
if(ticket!=null){
@@ -101,7 +94,6 @@
}
@PostMapping("/updateById")
- @Operation(summary = "鏇存柊榛戝悕鍗�" , description = "鏇存柊榛戝悕鍗�" )
public Object updateById(TicketBlack ticket){
return R.ok( ticketBlackService.updateById(ticket));
}
--
Gitblit v1.9.1