| | |
| | | //删除流程卡 |
| | | @ApiOperation("删除流程卡接口") |
| | | @SaCheckPermission("SelectProcessCard.delete") |
| | | @PostMapping("/deleteFlowCard/{orderId}/{processId}") |
| | | @PostMapping("/deleteFlowCard/{orderId}/{processId}/{userId}/{userName}") |
| | | public Result deleteOrderWork( |
| | | @PathVariable String orderId, |
| | | @PathVariable String processId |
| | | @PathVariable String processId, |
| | | @PathVariable String userId, |
| | | @PathVariable String userName |
| | | ) { |
| | | // if(flowCardService.deleteFlowCardSv(orderId,processId)){ |
| | | // return Result.seccess(); |
| | |
| | | // throw new ServiceException(Constants.Code_500,"删除失败,请检查是否已报工"); |
| | | // |
| | | // } |
| | | return Result.seccess(flowCardService.deleteFlowCardSv(orderId, processId)); |
| | | return Result.seccess(flowCardService.deleteFlowCardSv(orderId, processId,userId,userName)); |
| | | } |
| | | |
| | | //修改排版状态 |
| | |
| | | } |
| | | |
| | | @ApiOperation("打印流程卡补片数据查询接口") |
| | | @PostMapping("/getSelectPrintingRefund/{printMerge}/{printLike}") |
| | | @PostMapping("/getSelectPrintingRefund/{printMerge}/{printLike}/{mergeTechnologyNumber}") |
| | | public Result getSelectPrintingRefund( |
| | | @PathVariable String printMerge, |
| | | @PathVariable String printLike, |
| | | @PathVariable String mergeTechnologyNumber, |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintingRefundSv(object,printMerge,printLike)); |
| | | return Result.seccess(flowCardService.getSelectPrintingRefundSv(object,printMerge,printLike,mergeTechnologyNumber)); |
| | | } |
| | | |
| | | @ApiOperation("打印流程卡返工数据查询接口") |
| | |
| | | return Result.seccess(flowCardService.getSelectPrintCustomLabelDetailsSv(type,lableType,object)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("排序汇总查询接口") |
| | | @PostMapping("/selectSortTable") |
| | | public Result selectSortTable( |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.selectSortTableSv(object)); |
| | | } |
| | | |
| | | @ApiOperation("合并流程卡接口") |
| | | @PostMapping("/mergeFlowCard") |
| | | public Result mergeFlowCard(@RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.mergeFlowCard(object)); |
| | | } |
| | | @ApiOperation("汉玻获取流程卡接口") |
| | | @PostMapping("/getProcessCardList/hanbo") |
| | | public Result getProcessCard(@RequestBody String processCard) { |
| | | return Result.seccess(flowCardService.getProcessCard(processCard)); |
| | | } |
| | | |
| | | |
| | | } |