| | |
| | | import cn.dev33.satoken.annotation.SaCheckPermission; |
| | | import com.example.erp.common.Constants; |
| | | import com.example.erp.entity.pp.FlowCard; |
| | | import com.example.erp.entity.pp.PrintSetup; |
| | | import com.example.erp.entity.sd.DeliveryDetail; |
| | | import com.example.erp.entity.sd.Order; |
| | | import com.example.erp.common.Result; |
| | |
| | | } |
| | | |
| | | @ApiOperation("打印标签数据查询接口") |
| | | @PostMapping("/getSelectPrintLabel") |
| | | public Result getSelectPrintLabel(@RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintLabelSv(object)); |
| | | @PostMapping("/getSelectPrintLabel/{projectNo}") |
| | | public Result getSelectPrintLabel(@PathVariable String projectNo) { |
| | | return Result.seccess(flowCardService.getSelectPrintLabelSv(projectNo)); |
| | | } |
| | | |
| | | @ApiOperation("打印标签查询接口") |
| | | @PostMapping("/getSelectPrintLabel1") |
| | | public Result getSelectPrintLabel1(@RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintLabelSv1(object)); |
| | | } |
| | | |
| | | @ApiOperation("打印自定义标签数据查询接口") |
| | | @PostMapping("/getSelectPrintCustomLabel/{type}/{lableType}") |
| | | public Result getSelectPrintCustomLabel( @PathVariable String type, |
| | | @PathVariable Integer lableType, |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.getSelectPrintCustomLabelSv(type,lableType,object)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("复选框修改排版状态") |
| | |
| | | return Result.seccess(flowCardService.updateComposingSv(object)); |
| | | } |
| | | |
| | | @ApiOperation("流程卡打印明细数据查询接口") |
| | | @ApiOperation("流程卡打印明细数据排序查询接口") |
| | | @PostMapping("/printFlowCardDetails/{processId}/{technologyNumber}") |
| | | public Result printFlowCardDetails(@PathVariable String processId, |
| | | @PathVariable String technologyNumber, |
| | |
| | | } |
| | | } |
| | | |
| | | @ApiOperation("打印标签设置查询") |
| | | @SaCheckPermission("PrintFlowCard.search") |
| | | @PostMapping ("/printSetup") |
| | | public Result printSetup(@RequestBody PrintSetup printSetup){ |
| | | return Result.seccess(flowCardService.printSetup(printSetup)); |
| | | @ApiOperation("自定义标签打印明细接口") |
| | | @PostMapping("/getCustomLabelDetail/{name}/{form}/{id}") |
| | | public Result getCustomLabelDetail( |
| | | @PathVariable String name, |
| | | @PathVariable String form, |
| | | @PathVariable String id, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.getCustomLabelDetailSv(name,form,id, flowCard)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("修改打印标签内容") |
| | | @SaCheckPermission("PrintFlowCard.search") |
| | | @PostMapping("/updatePrintSetup") |
| | | public Result updatePrintSetup(@RequestBody Map<String,Object> object) |
| | | { |
| | | return Result.seccess(flowCardService.updatePrintSetup(object)); |
| | | @ApiOperation("工程打印查询接口") |
| | | @SaCheckPermission("SelectPrintFlowCard.search") |
| | | @PostMapping("/selectPrintPrintProject/{selectTime1}/{selectTime2}") |
| | | public Result selectPrintFlowCard( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2) { |
| | | return Result.seccess(flowCardService.selectPrintFlowCard(selectTime1, selectTime2)); |
| | | } |
| | | } |