| | |
| | | package com.gkhy.exam.admin.controller.app; |
| | | |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.system.domain.ContractReviewMess; |
| | | import com.gkhy.exam.system.domain.ItemReviewUser; |
| | | import com.gkhy.exam.system.domain.Proclaim; |
| | | import com.gkhy.exam.system.domain.UseSealApplyFlow; |
| | | import com.gkhy.exam.system.domain.req.ContractReviewReq; |
| | | import com.gkhy.exam.system.service.ContractReviewService; |
| | | import com.gkhy.exam.system.service.ItemReviewService; |
| | | import com.gkhy.exam.system.service.ProclaimService; |
| | | import com.gkhy.exam.system.service.useSealApply.UseSealApplyService; |
| | |
| | | |
| | | @Autowired |
| | | private ProclaimService proclaimService; |
| | | |
| | | @Autowired |
| | | private ContractReviewService contractReviewService; |
| | | |
| | | |
| | | |
| | |
| | | return proclaimService.approveProclaim(proclaim); |
| | | } |
| | | |
| | | /** |
| | | * 合同评审待审批 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "待审批列表") |
| | | @GetMapping("contract/List") |
| | | public CommonResult contractList(@RequestParam("userId") Integer userId){ |
| | | return contractReviewService.contractList(userId); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 合同评审审批 |
| | | * @param contractReviewReq |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "审批") |
| | | @PostMapping("contract/check") |
| | | public CommonResult contractcheck(@RequestBody ContractReviewReq contractReviewReq){ |
| | | return contractReviewService.contractcheck(contractReviewReq); |
| | | } |
| | | |
| | | |
| | | |
| | | } |