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/StreetController.java | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/boying/controller/StreetController.java b/src/main/java/com/boying/controller/StreetController.java index 7cf1b0a..27ecd22 100644 --- a/src/main/java/com/boying/controller/StreetController.java +++ b/src/main/java/com/boying/controller/StreetController.java @@ -11,8 +11,6 @@ import com.boying.service.StreetReRoadService; import com.boying.service.StreetService; import com.boying.util.LngLatUtil; -import io.swagger.v3.oas.annotations.Operation; -import io.swagger.v3.oas.annotations.tags.Tag; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; @@ -29,7 +27,6 @@ @RestController @RequestMapping("ffzf/street") @RequiredArgsConstructor -@Tag(description = "ffzf/street" , name = "琛楅亾缁熻" ) public class StreetController { @@ -38,7 +35,6 @@ private final StreetLogoService streetLogoService; @PostMapping("/findPage") - @Operation(summary = "鍒嗛〉鏌ヨ" , description = "鍒嗛〉鏌ヨ" ) public Object findPage(Page page, Street street) { QueryWrapper<Street> wrapper = new QueryWrapper<>(); wrapper.lambda() @@ -47,7 +43,6 @@ } @PostMapping("/save") - @Operation(summary = "鏂板琛楅亾" , description = "鏂板琛楅亾" ) public Object save(Street street) { QueryWrapper<Street> wrapper = new QueryWrapper<>(); wrapper.lambda() @@ -68,7 +63,6 @@ } @PostMapping("/save2") - @Operation(summary = "鏂板璺�" , description = "鏂板璺�" ) public Object save2(StreetReRoad streetReRoad) { streetReRoadService.saveOrUpdate(streetReRoad); return R.ok(); @@ -76,21 +70,18 @@ @PostMapping("/delete") - @Operation(summary = "鍒犻櫎琛�" , description = "鍒犻櫎琛�" ) public Object delete(Long id) { streetService.removeById(id); return R.ok(); } @PostMapping("/delete2") - @Operation(summary = "鍒犻櫎璺�" , description = "鍒犻櫎璺�" ) public Object delete2(Long id) { streetReRoadService.removeById(id); return R.ok(); } @GetMapping("/findById") - @Operation(summary = "鏍规嵁id鏌ヨ锛圓PP锛�" , description = "鏍规嵁id鏌ヨ锛圓PP锛�" ) public Object findById(Long id,int type) { if(type==0){ QueryWrapper<StreetReRoad> roadQueryWrapper = new QueryWrapper<>(); @@ -119,7 +110,6 @@ } @GetMapping("/findList") - @Operation(summary = "鏌ヨ鎵�鏈夎閬撳拰璺�" , description = "鏌ヨ鎵�鏈夎閬撳拰璺�" ) public Object findAll() { Map<String,Object> map = new HashMap<>(); QueryWrapper<Street> wrapper = new QueryWrapper<>(); @@ -135,13 +125,11 @@ } @GetMapping("/findList2") - @Operation(summary = "鏌ヨ鎵�鏈夎閬�" , description = "鏌ヨ鎵�鏈夎閬�" ) public Object findAll2() { return R.ok(streetService.list()); } @PostMapping("findLogo") - @Operation(summary = "鏌ヨ鎵�鏈夎閬撹繚绔�" , description = "鏌ヨ鎵�鏈夎閬撹繚绔�" ) public Object findLogo(String lng ,String lat) { List<StreetLogo> all = streetLogoService.list(); List<StreetLogo> all2 = new ArrayList<>(); -- Gitblit v1.9.1