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/EnterParkController.java | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/boying/controller/EnterParkController.java b/src/main/java/com/boying/controller/EnterParkController.java index 00b0fcc..ec9488d 100644 --- a/src/main/java/com/boying/controller/EnterParkController.java +++ b/src/main/java/com/boying/controller/EnterParkController.java @@ -14,8 +14,6 @@ import com.boying.service.ParkService; import io.swagger.annotations.Api; 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.springframework.web.bind.annotation.*; @@ -35,7 +33,6 @@ @RequiredArgsConstructor @RequestMapping("ffzf/enterpark" ) @Api(value = "enterpark", tags = "鍏ュ満琛ㄧ鐞�") -@Tag(description = "ffzf/enterpark" , name = "鍏ュ満琛ㄨ褰�" ) public class EnterParkController { private final EnterParkService enterParkService; @@ -68,7 +65,6 @@ // } @PostMapping("/findPage") - @Operation(summary = "鍒嗛〉鏌ヨ" , description = "鍒嗛〉鏌ヨ" ) public Object findPage(Page page, String carNo,Integer parkId,String date) throws ParseException { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); if(StringUtils.isNotBlank(date)){ @@ -96,7 +92,6 @@ */ @ApiOperation(value = "閫氳繃id鏌ヨ", notes = "閫氳繃id鏌ヨ") @GetMapping("/{id}" ) - @Operation(summary = "鏍规嵁id鏌ヨ" , description = "鏍规嵁id鏌ヨ" ) public R getById(@PathVariable("id" ) Integer id) { return R.ok(enterParkService.getById(id)); } @@ -108,7 +103,6 @@ */ @ApiOperation(value = "鏂板鍏ュ満琛�", notes = "鏂板鍏ュ満琛�") @PostMapping - @Operation(summary = "鏂板鍏ュ満" , description = "鏂板鍏ュ満" ) public R save(@RequestBody EnterPark enterPark) { return R.ok(enterParkService.save(enterPark)); } @@ -120,7 +114,6 @@ */ @ApiOperation(value = "淇敼鍏ュ満琛�", notes = "淇敼鍏ュ満琛�") @PutMapping - @Operation(summary = "淇敼鍏ュ満" , description = "淇敼鍏ュ満" ) public R updateById(@RequestBody EnterPark enterPark) { return R.ok(enterParkService.updateById(enterPark)); } @@ -132,7 +125,6 @@ */ @ApiOperation(value = "閫氳繃id鍒犻櫎鍏ュ満琛�", notes = "閫氳繃id鍒犻櫎鍏ュ満琛�") @DeleteMapping("/{id}" ) - @Operation(summary = "鍒犻櫎鍏ュ満" , description = "鍒犻櫎鍏ュ満" ) public R removeById(@PathVariable Integer id) { return R.ok(enterParkService.removeById(id)); } @@ -144,7 +136,6 @@ * @return excel 鏂囦欢娴� */ @GetMapping("/export") - @Operation(summary = "瀵煎嚭鍏ュ満" , description = "瀵煎嚭鍏ュ満" ) public List<EnterPark> export(EnterPark enterPark) { return enterParkService.list(Wrappers.query(enterPark)); } -- Gitblit v1.9.1