| | |
| | | } |
| | | |
| | | //流程卡进度 |
| | | @ApiOperation("流程卡进度") |
| | | @ApiOperation("订单流程卡进度") |
| | | @PostMapping("/processCardProgress/{orderId}") |
| | | public Result processCardProgress(@PathVariable String orderId, @RequestBody List<Integer> columns) { |
| | | public Result processCardProgress(@PathVariable String orderId, @RequestBody List<String> columns) { |
| | | return Result.seccess(reportService.processCardProgressSv(orderId, columns)); |
| | | } |
| | | @ApiOperation("报表流程卡进度") |
| | | @PostMapping("/processCardProgressReport/{orderId}") |
| | | public Result processCardProgressReport(@PathVariable String orderId, @RequestBody List<String> columns) { |
| | | return Result.seccess(reportService.processCardProgressReportSv(orderId, columns)); |
| | | } |
| | | @ApiOperation("流程卡进度汇总") |
| | | @SaCheckPermission("selectOrder.search") |
| | | @PostMapping("/processCardProgressCollect/{orderId}") |
| | | public Result processCardProgressCollect(@PathVariable String orderId, @RequestBody List<Integer> columns) { |
| | | public Result processCardProgressCollect(@PathVariable String orderId, @RequestBody List<String> columns) { |
| | | return Result.seccess(reportService.processCardProgressCollectSv(orderId, columns)); |
| | | } |
| | | |
| | |
| | | |
| | | } |
| | | |
| | | @ApiOperation("工序待完成汇总报表") |
| | | @PostMapping("/selectProcessCompleted/{selectTime1}/{selectTime2}/{orderId}/{inputProject}/{selectProcesses}") |
| | | public Result selectProcessCompleted( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable String orderId, |
| | | @PathVariable String inputProject, |
| | | @PathVariable String selectProcesses, |
| | | @RequestBody Report report) { |
| | | return Result.seccess(reportService.selectProcessCompletedSv(selectTime1, selectTime2, orderId, inputProject, selectProcesses, report)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("次破明细报表") |
| | | @PostMapping("/damageReport/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}") |
| | | public Result damageReport( |
| | |
| | | @ApiOperation("成品率报表") |
| | | @PostMapping("/yield/{selectTime1}/{selectTime2}/{selectProcesses}") |
| | | public Result yield( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable String selectTime1, |
| | | @PathVariable String selectTime2, |
| | | @PathVariable String selectProcesses, |
| | | @RequestBody Report report) { |
| | | return Result.seccess(reportService.yieldSv(selectTime1, selectTime2, selectProcesses, report)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("成品率工序汇总报表") |
| | | @PostMapping("/yieldProcess/{selectTime1}/{selectTime2}") |
| | | public Result yieldProcess( |
| | | @PathVariable String selectTime1, |
| | | @PathVariable String selectTime2, |
| | | @RequestBody Report report) { |
| | | return Result.seccess(reportService.yieldProcessSv(selectTime1, selectTime2, report)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("生产发货进度") |
| | | @PostMapping("/productionSchedule/{orderId}") |
| | | public Result productionSchedule(@PathVariable String orderId, @RequestBody List<Integer> columns) { |