| | |
| | | public Result handled(C2cAppealHandlerModel model) { |
| | | C2cOrder order = c2cOrderService.get(model.getOrderNo()); |
| | | if (null == order) { |
| | | throw new YamiShopBindException("订单不存在"); |
| | | throw new YamiShopBindException("Order does not exist"); |
| | | } |
| | | C2cAppeal appeal = c2cAppealService.findByOrderNo(model.getOrderNo()); |
| | | if (null == appeal) { |
| | | throw new YamiShopBindException("申诉不存在"); |
| | | throw new YamiShopBindException("Appeal does not exist"); |
| | | } |
| | | c2cAppealService.handled(appeal, SecurityUtils.getSysUser().getUsername(), order.getPartyId()); |
| | | return Result.succeed(); |