| | |
| | | } |
| | | |
| | | //分架新增明细查询 |
| | | @ApiOperation("分架明细新增接口") |
| | | @ApiOperation("分架新增明细查询") |
| | | @PostMapping("/selectNoCard/{orderId}/{productionId}") |
| | | public Result SelectNoCard( |
| | | @PathVariable String orderId, |
| | | @PathVariable String productionId, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.selectNoCardSv(orderId, productionId, flowCard)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("分架新增明细排序查询") |
| | | @PostMapping("/selectSortingCard/{orderId}/{productionId}/{flashback}/{optionVal}") |
| | | public Result selectSortingCard( |
| | | @PathVariable String orderId, |
| | | @PathVariable String productionId, |
| | | @PathVariable String flashback, |
| | | @PathVariable String optionVal, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.selectSortingCardSv(orderId, productionId,flashback,optionVal, flowCard)); |
| | | |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation("打印流程卡数据查询接口") |
| | | @PostMapping("/getSelectPrinting/{printMerge}/{printLike}/{merge}/{flashback}/{compound}") |
| | | @PostMapping("/getSelectPrinting/{printMerge}/{printLike}/{merge}/{flashback}/{compound}/{landingSequence}") |
| | | public Result getSelectPrinting( |
| | | @PathVariable String printMerge, |
| | | @PathVariable String printLike, |
| | | @PathVariable String merge, |
| | | @PathVariable String flashback, |
| | | @PathVariable String compound, |
| | | @PathVariable String landingSequence, |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintingSv(object,printMerge,printLike,merge,flashback,compound)); |
| | | return Result.seccess(flowCardService.getSelectPrintingSv(object,printMerge,printLike,merge,flashback,compound,landingSequence)); |
| | | } |
| | | |
| | | @ApiOperation("工程打印流程卡数据查询接口") |
| | | @PostMapping("/getSelectPrintProject/{printProject}/{merge}/{flashback}") |
| | | @PostMapping("/getSelectPrintProject/{printProject}/{merge}/{flashback}/{landingSequence}") |
| | | public Result getSelectPrintProject( |
| | | @PathVariable String printProject,@PathVariable String merge,@PathVariable String flashback) { |
| | | return Result.seccess(flowCardService.getSelectPrintProject(printProject,merge,flashback)); |
| | | @PathVariable String printProject,@PathVariable String merge,@PathVariable String flashback,@PathVariable String landingSequence) { |
| | | return Result.seccess(flowCardService.getSelectPrintProject(printProject,merge,flashback,landingSequence)); |
| | | } |
| | | |
| | | @ApiOperation("打印标签数据查询接口") |
| | |
| | | //参数:相应的数据,实体类信息,相应的方法(数据获取),生成的excel名字 |
| | | DownExcel.download(response, FlowCardDTO.class, flowCardService.exportDateProcessSv(dates), "DateProcess"); |
| | | } |
| | | |
| | | @ApiOperation("修改生产终止数量") |
| | | @PostMapping("/updateTermination/{processId}/{orderNumber}/{value}") |
| | | public Result updateTermination( |
| | | @PathVariable String processId, |
| | | @PathVariable Integer orderNumber, |
| | | @PathVariable Integer value |
| | | ) { |
| | | |
| | | return Result.seccess(flowCardService.updateTerminationSv(processId,orderNumber,value)); |
| | | } |
| | | |
| | | @ApiOperation("查询用于修改生产终止数量的完工数量") |
| | | @PostMapping("/selectCompleted/{processId}/{orderNumber}/{process}") |
| | | public Result selectCompleted( |
| | | @PathVariable String processId, |
| | | @PathVariable Integer orderNumber, |
| | | @PathVariable String process) { |
| | | return Result.seccess(flowCardService.selectCompletedSv(processId, orderNumber,process)); |
| | | |
| | | } |
| | | } |