| | |
| | | String order_no = model.getOrderNo(); |
| | | C2cOrder order = this.c2cOrderService.get(order_no); |
| | | if (null == order) { |
| | | throw new YamiShopBindException("订单不存在"); |
| | | throw new YamiShopBindException("Order does not exist"); |
| | | } |
| | | boolean lock = false; |
| | | try { |
| | | if (!C2cOrderLock.add(order_no)) { |
| | | throw new YamiShopBindException("系统繁忙,请稍后重试"); |
| | | throw new YamiShopBindException("System busy, please try again later"); |
| | | } |
| | | lock = true; |
| | | sysUserService.checkSafeWord(model.getSafeword()); |
| | |
| | | |
| | | C2cOrder order = this.c2cOrderService.get(model.getOrderNo()); |
| | | if (null == order) { |
| | | throw new YamiShopBindException("订单不存在"); |
| | | throw new YamiShopBindException("Order does not exist"); |
| | | } |
| | | order.setRemark(model.getReason()); |
| | | this.c2cOrderService.saveOrderCancel(order, "manager"); |
| | |
| | | boolean lock = false; |
| | | try { |
| | | if (!C2cOrderLock.add(model.getOrder_no())) { |
| | | throw new YamiShopBindException("系统繁忙,请稍后重试"); |
| | | throw new YamiShopBindException("System busy, please try again later"); |
| | | } |
| | | lock = true; |
| | | sysUserService.checkSafeWord(model.getSafeword()); |