| | |
| | | //分架查询 |
| | | @ApiOperation("分架查询接口") |
| | | @SaCheckPermission("selectAddProcess.search") |
| | | @PostMapping("/selectAddProcess/{selectTime1}/{selectTime2}") |
| | | @PostMapping("/selectAddProcess/{selectDate}") |
| | | public Result selectAddProcess( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable List<String> selectDate, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.selectAddProcess(selectTime1, selectTime2, flowCard)); |
| | | return Result.seccess(flowCardService.selectAddProcess(selectDate, flowCard)); |
| | | } |
| | | |
| | | //分架明细查询 |
| | |
| | | |
| | | @ApiOperation("流程卡打印查询接口") |
| | | @SaCheckPermission("selectPrintFlowCard.search") |
| | | @PostMapping("/selectPrintFlowCard/{selectTime1}/{selectTime2}/{orderId}/{project}/{userId}/{state}") |
| | | @PostMapping("/selectPrintFlowCard/{selectDate}/{orderId}/{project}/{userId}/{state}") |
| | | public Result selectPrintFlowCard( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable List<String> selectDate, |
| | | @PathVariable String orderId, |
| | | @PathVariable String project, |
| | | @PathVariable String userId, |
| | | @PathVariable Integer state, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.selectPrintFlowCardSv(selectTime1, selectTime2, orderId, project,userId,state, flowCard)); |
| | | return Result.seccess(flowCardService.selectPrintFlowCardSv(selectDate, orderId, project,userId,state, flowCard)); |
| | | } |
| | | |
| | | @ApiOperation("流程卡明细查询接口") |
| | |
| | | |
| | | @ApiOperation("工程打印查询接口") |
| | | @SaCheckPermission("selectPrintFlowCard.search") |
| | | @PostMapping("/selectPrintPrintProject/{selectTime1}/{selectTime2}") |
| | | @PostMapping("/selectPrintPrintProject/{selectDate}") |
| | | public Result selectPrintFlowCard( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2) { |
| | | return Result.seccess(flowCardService.selectPrintFlowCard(selectTime1, selectTime2)); |
| | | @PathVariable List<String> selectDate) { |
| | | return Result.seccess(flowCardService.selectPrintFlowCard(selectDate)); |
| | | } |
| | | |
| | | @ApiOperation("修改是否打印状态") |
| | |
| | | @PathVariable String mergeTechnologyNumber, |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintingRefundSv(object,printMerge,printLike,mergeTechnologyNumber)); |
| | | } |
| | | |
| | | @ApiOperation("合并打印流程卡补片数据查询接口") |
| | | @PostMapping("/getSelectPrintingConsolidated/{printMerge}/{printLike}/{mergeTechnologyNumber}") |
| | | public Result getSelectPrintingConsolidated( |
| | | @PathVariable String printMerge, |
| | | @PathVariable String printLike, |
| | | @PathVariable String mergeTechnologyNumber, |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintingConsolidatedSv(object,printMerge,printLike,mergeTechnologyNumber)); |
| | | } |
| | | |
| | | @ApiOperation("打印流程卡返工数据查询接口") |
| | |
| | | } |
| | | |
| | | @ApiOperation("修改工艺流程") |
| | | @PostMapping("/updateProcess/{processId}/{technologyNumber}/{orderId}/{process}") |
| | | @PostMapping("/updateProcess/{processId}/{orderNumber}/{technologyNumber}/{orderId}/{process}") |
| | | public Result updateProcess( |
| | | @PathVariable String processId, |
| | | @PathVariable String orderNumber, |
| | | @PathVariable String technologyNumber, |
| | | @PathVariable String orderId, |
| | | @PathVariable String process, |
| | | @RequestBody Map<String, Object> object |
| | | ) { |
| | | |
| | | return Result.seccess(flowCardService.updateProcessSv(processId,technologyNumber,orderId,process,object)); |
| | | return Result.seccess(flowCardService.updateProcessSv(processId,orderNumber,technologyNumber,orderId,process,object)); |
| | | } |
| | | |
| | | @ApiOperation("工程打印标签次数修改") |