“djh”
2025-11-13 34d203c93e776c433b7b6614a77ad1d61c7035dd
multi-admin/src/main/java/com/gkhy/exam/admin/controller/app/AppItemReviewController.java
@@ -2,19 +2,24 @@
import com.gkhy.exam.common.api.CommonResult;
import com.gkhy.exam.system.domain.ItemReviewUser;
import com.gkhy.exam.system.domain.UseSealApplyFlow;
import com.gkhy.exam.system.service.ItemReviewService;
import com.gkhy.exam.system.service.useSealApply.UseSealApplyService;
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项目审批前端控制器")
@Api(tags = "APP审批前端控制器")
@RestController
@RequestMapping("/app/item/review")
public class AppItemReviewController {
    @Autowired
    private ItemReviewService itemReviewService;
    @Autowired
    private UseSealApplyService applyService;
@@ -42,4 +47,28 @@
    }
    /**
     * 用章待审批
     * @param userId
     * @return
     */
    @ApiOperation(value = "待审批列表")
    @GetMapping("apply/List")
    public CommonResult applyList(@RequestParam("userId") Integer userId){
        return applyService.applyList(userId);
    }
    /**
     * 用章审批
     * @param useSealApplyFlow
     * @return
     */
    @ApiOperation(value = "审批")
    @PostMapping("apply/check")
    public CommonResult check(@RequestBody UseSealApplyFlow useSealApplyFlow){
        return applyService.approveUseSealApply(useSealApplyFlow);
    }
}