From da9a4f7ad988c452f3a356989eaf7a6c06ae5032 Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang960204@163.com>
Date: 星期四, 26 九月 2024 23:03:05 +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 53660a1..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("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