| | |
| | | //添加流程卡 |
| | | @ApiOperation("流程卡创建接口") |
| | | @SaCheckPermission("addProcessCard.add") |
| | | @PostMapping("/addFlowCard") |
| | | public Result AddOrderWork(@RequestBody Map<String, Object> object) { |
| | | if (flowCardService.addFlowCardSv(object)) { |
| | | @PostMapping("/addFlowCard/{orderId}") |
| | | public Result AddOrderWork(@PathVariable String orderId,@RequestBody Map<String, Object> object) { |
| | | if (flowCardService.addFlowCardSv(orderId,object)) { |
| | | return Result.seccess(); |
| | | } else { |
| | | throw new ServiceException(Constants.Code_500, "保存失败"); |
| | |
| | | @PathVariable String printLike, |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintingSv(object,printMerge,printLike)); |
| | | } |
| | | |
| | | @ApiOperation("工程打印流程卡数据查询接口") |
| | | @PostMapping("/getSelectPrintProject/{printProject}") |
| | | public Result getSelectPrintProject( |
| | | @PathVariable String printProject) { |
| | | return Result.seccess(flowCardService.getSelectPrintProject(printProject)); |
| | | } |
| | | |
| | | @ApiOperation("打印标签数据查询接口") |
| | |
| | | |
| | | return Result.seccess(flowCardService.updateProcessSv(processId,technologyNumber,orderId,process,object)); |
| | | } |
| | | |
| | | @ApiOperation("工程打印标签次数修改") |
| | | @PostMapping("/updateProjectLabelPrintCount/{projectNo}") |
| | | public Result updateProjectLabelPrintCount(@PathVariable String projectNo){ |
| | | return Result.seccess(flowCardService.updateProjectLabelPrintCount(projectNo)); |
| | | } |
| | | |
| | | @ApiOperation("工程打印标签次数修改") |
| | | @PostMapping("/updateProjectProcessPrintCount/{projectNo}") |
| | | public Result updateProjectProcessPrintCount(@PathVariable String projectNo){ |
| | | return Result.seccess(flowCardService.updateProjectProcessPrintCount(projectNo)); |
| | | } |
| | | } |