/** * @throws SchedulerException * @param需要提供订单id * @need 将订单的状态修改为以送达,将状态修改30 */ @RequestMapping(value = "/order_sended_update", method = RequestMethod.GET) @ResponseBody public Object order_sended_update(int orderid) throws SchedulerException { boolean result = false; result = orderService.order_sended_update(orderid); if (result) { loadTask.delTask(orderid + "", "DistributionJob"); loadTask.addBalanceTask(new BalanceJob(orderid)); } return CommonUtil.constructResponse(1, "success", result); }