| | |
| | | } |
| | | |
| | | @ApiOperation("修改工艺流程") |
| | | @PostMapping("/updateProcess/{processId}/{technologyNumber}/{orderId}/{process}") |
| | | @PostMapping("/updateProcess/{processId}/{orderNumber}/{technologyNumber}/{orderId}/{process}") |
| | | public Result updateProcess( |
| | | @PathVariable String processId, |
| | | @PathVariable String orderNumber, |
| | | @PathVariable String technologyNumber, |
| | | @PathVariable String orderId, |
| | | @PathVariable String process, |
| | | @RequestBody Map<String, Object> object |
| | | ) { |
| | | |
| | | return Result.seccess(flowCardService.updateProcessSv(processId,technologyNumber,orderId,process,object)); |
| | | return Result.seccess(flowCardService.updateProcessSv(processId,orderNumber,technologyNumber,orderId,process,object)); |
| | | } |
| | | |
| | | @ApiOperation("工程打印标签次数修改") |
| | |
| | | //参数:相应的数据,实体类信息,相应的方法(数据获取),生成的excel名字 |
| | | DownExcel.download(response, FlowCardDTO.class, flowCardService.exportDateProcessSv(dates), "DateProcess"); |
| | | } |
| | | |
| | | @ApiOperation("修改生产终止数量") |
| | | @PostMapping("/updateTermination/{processId}/{orderNumber}/{value}") |
| | | public Result updateTermination( |
| | | @PathVariable String processId, |
| | | @PathVariable Integer orderNumber, |
| | | @PathVariable Integer value |
| | | ) { |
| | | |
| | | return Result.seccess(flowCardService.updateTerminationSv(processId,orderNumber,value)); |
| | | } |
| | | |
| | | @ApiOperation("查询用于修改生产终止数量的完工数量") |
| | | @PostMapping("/selectCompleted/{processId}/{orderNumber}/{process}") |
| | | public Result selectCompleted( |
| | | @PathVariable String processId, |
| | | @PathVariable Integer orderNumber, |
| | | @PathVariable String process) { |
| | | return Result.seccess(flowCardService.selectCompletedSv(processId, orderNumber,process)); |
| | | |
| | | } |
| | | } |