| | |
| | | //添加流程卡 |
| | | @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, "保存失败"); |
| | |
| | | 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("打印标签数据查询接口") |
| | | @PostMapping("/getSelectPrintLabel/{projectNo}/{type}") |
| | | public Result getSelectPrintLabel(@PathVariable String projectNo,@PathVariable String type) { |