From 80cacfd0dcee0174f2a8d9ae322a2fcf857cef63 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期三, 04 十二月 2024 15:31:35 +0800
Subject: [PATCH] fix : 新增修改出场接口

---
 src/main/java/com/boying/controller/ViolationTypeController.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/boying/controller/ViolationTypeController.java b/src/main/java/com/boying/controller/ViolationTypeController.java
index 8f11f7a..dfb31b9 100644
--- a/src/main/java/com/boying/controller/ViolationTypeController.java
+++ b/src/main/java/com/boying/controller/ViolationTypeController.java
@@ -10,13 +10,14 @@
 import org.springframework.web.bind.annotation.*;
 
 @RestController
-@RequestMapping("ffzf/violationType")
+@RequestMapping("ffzf/violationtype")
 @RequiredArgsConstructor
 public class ViolationTypeController {
 
     private final ViolationTypeService violationTypeService;
 
     @PostMapping("/findPage")
+    //@Operation(summary = "鍒嗛〉鏌ヨ" , description = "鍒嗛〉鏌ヨ" )
     public Object findPage(Page page) {
         QueryWrapper<ViolationType> wrapper = new QueryWrapper<>();
         wrapper.lambda()
@@ -25,23 +26,27 @@
     }
 
     @PostMapping("/save")
+   // @Operation(summary = "鏂板杩濈珷绫诲瀷" , description = "鏂板杩濈珷绫诲瀷" )
     public Object save(ViolationType violationType) {
         violationTypeService.saveOrUpdate(violationType);
         return R.ok("淇濆瓨鎴愬姛");
     }
 
     @GetMapping("/{id}")
+   // @Operation(summary = "鏍规嵁id鏌ヨ" , description = "鏍规嵁id鏌ヨ" )
     public Object getObj(@PathVariable Integer id) {
         return R.ok(violationTypeService.getById(id));
     }
 
     @PostMapping("/delete")
+   // @Operation(summary = "鍒犻櫎杩濈珷绫诲瀷" , description = "鍒犻櫎杩濈珷绫诲瀷" )
     public Object delete(Long id) {
         violationTypeService.removeById(id);
         return R.ok("鍒犻櫎鎴愬姛");
     }
 
     @PostMapping("/findAll")
+    //@Operation(summary = "鏌ヨ鎵�鏈�" , description = "鏌ヨ鎵�鏈�" )
     public Object findAll() {
         return R.ok(violationTypeService.list());
     }

--
Gitblit v1.9.1