| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.sql.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | |
| | | //流程卡管理查询 |
| | | @ApiOperation("流程卡管理查询接口") |
| | | @SaCheckPermission("selectProcessCard.search") |
| | | @PostMapping("/flowCard/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}") |
| | | @PostMapping("/flowCard/{pageNum}/{pageSize}/{selectDate}") |
| | | public Result dateProcess( |
| | | @PathVariable Integer pageNum, |
| | | @PathVariable Integer pageSize, |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable List<String> selectDate, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.selectProcessCard(pageNum, pageSize, selectTime1, selectTime2, flowCard)); |
| | | return Result.seccess(flowCardService.selectProcessCard(pageNum, pageSize,selectDate, flowCard)); |
| | | |
| | | } |
| | | |
| | |
| | | |
| | | @ApiOperation("流程卡打印查询接口") |
| | | @SaCheckPermission("selectPrintFlowCard.search") |
| | | @PostMapping("/selectPrintFlowCard/{selectTime1}/{selectTime2}/{orderId}/{project}/{userId}") |
| | | @PostMapping("/selectPrintFlowCard/{selectTime1}/{selectTime2}/{orderId}/{project}/{userId}/{state}") |
| | | public Result selectPrintFlowCard( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable String orderId, |
| | | @PathVariable String project, |
| | | @PathVariable String userId, |
| | | @PathVariable Integer state, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.selectPrintFlowCardSv(selectTime1, selectTime2, orderId, project,userId, flowCard)); |
| | | return Result.seccess(flowCardService.selectPrintFlowCardSv(selectTime1, selectTime2, orderId, project,userId,state, flowCard)); |
| | | } |
| | | |
| | | @ApiOperation("流程卡明细查询接口") |
| | |
| | | return Result.seccess(flowCardService.updateComposingSv(object)); |
| | | } |
| | | |
| | | @ApiOperation("复选框撤销可排版状态") |
| | | @SaCheckPermission("selectProcessCard.review") |
| | | @PostMapping("/revokeComposing") |
| | | public Result revokeComposing( |
| | | @RequestBody Map<String, Object> object |
| | | ) { |
| | | |
| | | return Result.seccess(flowCardService.revokeComposingSv(object)); |
| | | } |
| | | @ApiOperation("流程卡打印明细数据排序查询接口") |
| | | @PostMapping("/printFlowCardDetails/{processId}/{technologyNumber}/{process}") |
| | | public Result printFlowCardDetails(@PathVariable String processId, |
| | |
| | | } |
| | | |
| | | @ApiOperation("合并流程卡接口") |
| | | @PostMapping("/mergeFlowCard") |
| | | public Result mergeFlowCard(@RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.mergeFlowCard(object)); |
| | | @PostMapping("/mergeFlowCard/{merge}") |
| | | public Result mergeFlowCard(@RequestBody Map<String, Object> object, |
| | | @PathVariable Integer merge) { |
| | | return Result.seccess(flowCardService.mergeFlowCard(object,merge)); |
| | | } |
| | | @ApiOperation("汉玻获取流程卡接口") |
| | | @PostMapping("/getProcessCardList/hanbo") |
| | |
| | | @RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.updateProcessCardRack(object)); |
| | | } |
| | | |
| | | @ApiOperation("智能分架") |
| | | @PostMapping("/processCardAutoRack") |
| | | public Result processCardAutoRack(@ RequestBody Map<String, Object> object) { |
| | | return Result.seccess(flowCardService.processCardAutoRack(object)); |
| | | } |
| | | } |