| | |
| | | |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("质检审核查询接口") |
| | | @PostMapping ("/selectQualityTesting/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}/{state}/{processId}") |
| | | public Result selectQualityTesting( |
| | | @PathVariable Integer pageNum, |
| | | @PathVariable Integer pageSize, |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable Integer state, |
| | | @PathVariable String processId, |
| | | @RequestBody ReportingWork reportingWork){ |
| | | return Result.seccess(reportingWorkService.selectQualityTestingSv(pageNum,pageSize,selectTime1,selectTime2,state,processId,reportingWork)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("质检审核审核") |
| | | @PostMapping ("/updateQualityStatus/{reportingWorkId}/{username}") |
| | | public Result updateQualityStatus(@PathVariable String reportingWorkId,@PathVariable String username) { |
| | | if(reportingWorkService.updateQualityStatusSv(reportingWorkId,username)){ |
| | | return Result.seccess(); |
| | | }else { |
| | | throw new ServiceException(Constants.Code_500,"审核失败"); |
| | | |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("质检审核明细查询接口") |
| | | @PostMapping ("/detailsQuality/{reportingWorkId}/{processId}/{thisProcess}") |
| | | public Result detailsQuality( |
| | | @PathVariable String reportingWorkId, |
| | | @PathVariable String processId, |
| | | @PathVariable String thisProcess, |
| | | @RequestBody ReportingWork reportingWork){ |
| | | return Result.seccess(reportingWorkService.detailsQualitySv(reportingWorkId,processId,thisProcess,reportingWork)); |
| | | |
| | | } |
| | | } |