“djh”
2025-11-07 87d56f38263bbc1630309f80ffab7a5eb8d8f0a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.gkhy.exam.admin.controller.app;
 
import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.system.domain.ItemReviewUser;
import com.gkhy.exam.system.service.ItemReviewService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
@Api(tags = "APP项目审批前端控制器")
@RestController
@RequestMapping("/app/item/review")
public class AppItemReviewController {
 
    @Autowired
    private ItemReviewService itemReviewService;
 
 
 
    /**
     * 待审批
     * @param userId
     * @return
     */
    @ApiOperation(value = "待审批列表")
    @GetMapping("/approvalList")
    public CommonResult approvalList(@RequestParam("userId") Integer userId){
        return itemReviewService.approvalList(userId);
    }
 
 
    /**
     * 审批
     * @param itemReviewUser
     * @return
     */
    @ApiOperation(value = "审批")
    @PostMapping("/approval")
    public CommonResult approval(@RequestBody ItemReviewUser itemReviewUser){
        return itemReviewService.approval(itemReviewUser);
    }
 
 
}