Commit ddc6a976a1071573b2adcd841e405a25a519c725
1 parent
17b7d89e
update:增加核销时再次确认发货
Showing
3 changed files
with
4 additions
and
3 deletions
etrade-order/src/main/java/com/diligrp/etrade/order/api/OrderController.java
... | ... | @@ -782,7 +782,7 @@ public class OrderController { |
782 | 782 | @RequestMapping(value = "/sendToWeChatDelivery",method = {RequestMethod.POST},produces="application/json;charset=UTF-8") |
783 | 783 | public Message sendToWeChatDelivery(@RequestBody OrderGetDto orderDto){ |
784 | 784 | try{ |
785 | - return Message.success(orderService.SendToWeChatPay(orderDto)); | |
785 | + return Message.success(orderService.sendToWeChatPay(orderDto)); | |
786 | 786 | }catch (PlatformServiceException pe) { |
787 | 787 | LOGGER.warn("服务异常{}:{}",pe.getCode(), pe.getMessage()); |
788 | 788 | return Message.failure("服务暂时不在线,请稍后"); | ... | ... |
etrade-order/src/main/java/com/diligrp/etrade/order/service/OrderService.java
etrade-order/src/main/java/com/diligrp/etrade/order/service/impl/OrderServiceImpl.java
... | ... | @@ -486,6 +486,7 @@ public class OrderServiceImpl implements OrderService { |
486 | 486 | order.setModifier(orderOperateDto.getOperateName()); |
487 | 487 | order.setModifiedTime(null); |
488 | 488 | updateByOnly(order); |
489 | + sendToWeChatPay(new OrderGetDto(order.getId(),order.getCode(),order.getMarketId())); | |
489 | 490 | } |
490 | 491 | |
491 | 492 | @Transactional |
... | ... | @@ -939,7 +940,7 @@ public class OrderServiceImpl implements OrderService { |
939 | 940 | } |
940 | 941 | |
941 | 942 | @Override |
942 | - public Integer SendToWeChatPay(OrderGetDto orderDto){ | |
943 | + public Integer sendToWeChatPay(OrderGetDto orderDto){ | |
943 | 944 | Order order = getOneOrder(orderDto); |
944 | 945 | if(order.getDeliverySendState()==null|| |
945 | 946 | !OrderConstant.SEND_TO_DELIVERY_SUCCESS.equals(order.getDeliverySendState())){ | ... | ... |