| | |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | @Api(value = "加工过程参数controller", tags = {"加工过程参数controller"}) |
| | | @Api(value = "加工过程参数", tags = {"加工过程参数"}) |
| | | @ApiResource({"mdc/process-parameter"}) |
| | | @RestController |
| | | public class ProcessParameterController { |
| | |
| | | return R.data(this.processParameterService.queryProcessParameterChart(vo)); |
| | | } |
| | | |
| | | /* |
| | | @ApiOperationSupport(order = 2) |
| | | @PostResource({"/sheet"}) |
| | | @ApiOperation(ExcelConstant.PROCESS_PARAMETER) |
| | | @PreAuth |
| | | public R<ProParamSheetVO> queryProcessParameterSheet(@Valid @RequestBody ProcessParameterSearchVO vo) { |
| | | return R.data(this.processParameterService.queryProcessParameterSheet(vo, true)); |
| | | } |
| | | }*/ |
| | | |
| | | @ApiOperationSupport(order = 3) |
| | | @PostResource({"/item"}) |
| | |
| | | return R.data(this.processParameterService.processParams(workstationId)); |
| | | } |
| | | |
| | | /* |
| | | @ApiOperationSupport(order = 6) |
| | | @PostResource({"/excel/export"}) |
| | | @ApiOperation("导出加工过程参数") |
| | | @PreAuth |
| | | public R<BladeFile> exportProcessParam(@RequestBody ProcessParamExcelVO vo) { |
| | | return R.data(this.processParameterService.exportProcessParam(vo)); |
| | | } |
| | | }*/ |
| | | |
| | | @ApiOperationSupport(order = 7) |
| | | @PostResource({"/shift-time"}) |