Commit 1de76112b3ef9f1d1b6c14a485ada907a88497d4
1 parent
6e80fcc4
app养护计划明细提交
Showing
1 changed file
with
4 additions
and
7 deletions
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/controller/app/maintainplan/AppMaintainPlanCommitController.java
| ... | ... | @@ -11,10 +11,7 @@ import io.swagger.v3.oas.annotations.tags.Tag; |
| 11 | 11 | import jakarta.annotation.Resource; |
| 12 | 12 | import jakarta.validation.Valid; |
| 13 | 13 | import org.springframework.validation.annotation.Validated; |
| 14 | -import org.springframework.web.bind.annotation.PostMapping; | |
| 15 | -import org.springframework.web.bind.annotation.RequestBody; | |
| 16 | -import org.springframework.web.bind.annotation.RequestMapping; | |
| 17 | -import org.springframework.web.bind.annotation.RestController; | |
| 14 | +import org.springframework.web.bind.annotation.*; | |
| 18 | 15 | |
| 19 | 16 | import static com.zteits.urbanops.framework.common.pojo.CommonResult.success; |
| 20 | 17 | |
| ... | ... | @@ -34,10 +31,10 @@ public class AppMaintainPlanCommitController { |
| 34 | 31 | return success(maintainPlanCommitService.appCreateMaintainPlanCommit(createReqVO)); |
| 35 | 32 | } |
| 36 | 33 | |
| 37 | - @PostMapping("/page") | |
| 38 | - @Operation(summary = "获取养护计划-共同处理人明细") | |
| 34 | + @GetMapping("/page") | |
| 35 | + @Operation(summary = "获取养护计划提交明细") | |
| 39 | 36 | //@PreAuthorize("@ss.hasPermission('app:garden:maintain-plan-commit:query')") |
| 40 | - public CommonResult<PageResult<AppMaintainPlanCommitDetailPageRespVO>> appMaintainPlanCommitDetailPage(@Valid @RequestBody AppMaintainPlanCommitPageReqVO pageReqVO) { | |
| 37 | + public CommonResult<PageResult<AppMaintainPlanCommitDetailPageRespVO>> appMaintainPlanCommitDetailPage(@Valid AppMaintainPlanCommitPageReqVO pageReqVO) { | |
| 41 | 38 | return success(maintainPlanCommitService.appMaintainPlanCommitDetailPage(pageReqVO)); |
| 42 | 39 | } |
| 43 | 40 | ... | ... |