| | |
| | | @ApiImplicitParam(value = "改派原因", name = "applyReason", dataType = "String") |
| | | }) |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public R<String> reassignment(@RequestParam Integer type, @RequestParam String orderId, |
| | | public R<String> reassignment(@RequestParam Integer type, @RequestParam String orderIds, |
| | | @RequestParam Integer workerId, String applyReason) { |
| | | String[] split = orderIds.split(","); |
| | | for (String orderId : split) { |
| | | |
| | | MasterWorker masterWorker = masterWorkerService.lambdaQuery() |
| | | .eq(MasterWorker::getId, workerId) |
| | | .eq(MasterWorker::getIsDelete, 0).one(); |
| | |
| | | // } catch (IOException e) { |
| | | // return R.fail("订单推送失败!"); |
| | | // } |
| | | return result ? R.ok() : R.fail(); |
| | | } |
| | | |
| | | return R.ok() ; |
| | | } |
| | | |
| | | /** |