| | |
| | | } |
| | | |
| | | @ApiOperation("打印流程卡数据查询接口") |
| | | @PostMapping("/getSelectPrinting") |
| | | public Result getSelectPrinting(@RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintingSv(object)); |
| | | @PostMapping("/getSelectPrinting/{printMerge}") |
| | | public Result getSelectPrinting( |
| | | @PathVariable String printMerge, |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintingSv(object,printMerge)); |
| | | } |
| | | |
| | | @ApiOperation("打印标签数据查询接口") |
| | |
| | | } |
| | | |
| | | @ApiOperation("打印自定义标签数据查询接口") |
| | | @PostMapping("/getSelectPrintCustomLabel/{type}") |
| | | @PostMapping("/getSelectPrintCustomLabel/{type}/{lableType}") |
| | | public Result getSelectPrintCustomLabel( @PathVariable String type, |
| | | @PathVariable Integer lableType, |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintCustomLabelSv(type,object)); |
| | | return Result.seccess(flowCardService.getSelectPrintCustomLabelSv(type,lableType,object)); |
| | | |
| | | } |
| | | |
| | |
| | | @PathVariable Date selectTime2) { |
| | | return Result.seccess(flowCardService.selectPrintFlowCard(selectTime1, selectTime2)); |
| | | } |
| | | |
| | | @ApiOperation("修改是否打印状态") |
| | | @PostMapping("/updatePrintState/{printState}") |
| | | public Result updatePrintState( |
| | | @PathVariable Integer printState, |
| | | @RequestBody Map<String, Object> object |
| | | ) { |
| | | |
| | | return Result.seccess(flowCardService.updatePrintStateSv(printState,object)); |
| | | } |
| | | |
| | | @ApiOperation("流程卡打印订单数据排序查询接口") |
| | | @PostMapping("/printFlowCardOrderSort/{orderId}") |
| | | public Result printFlowCardOrderSort(@PathVariable String orderId, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.printFlowCardOrderSortSv(orderId, flowCard)); |
| | | } |
| | | |
| | | @ApiOperation("保存打印订单排序接口") |
| | | @PostMapping("/printOrderSort") |
| | | public Result printOrderSort(@RequestBody Map<String, Object> object) { |
| | | if (flowCardService.printOrderSort(object)) { |
| | | return Result.seccess(); |
| | | } else { |
| | | throw new ServiceException(Constants.Code_500, "保存失败"); |
| | | |
| | | } |
| | | } |
| | | } |