consider fail when update status
Showing
1 changed file
with
4 additions
and
1 deletions
@@ -703,7 +703,10 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { | @@ -703,7 +703,10 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { | ||
703 | logger.info("in confirmReceive isGoodsServiceOrder, orderCode {}", orderCode); | 703 | logger.info("in confirmReceive isGoodsServiceOrder, orderCode {}", orderCode); |
704 | 704 | ||
705 | ServiceOrderProcessor.ExistenceNode existenceNode = serviceOrderProcessor.findGoodsServiceInstanceAndExt(orderCode); | 705 | ServiceOrderProcessor.ExistenceNode existenceNode = serviceOrderProcessor.findGoodsServiceInstanceAndExt(orderCode); |
706 | - existenceNode.getGoodsService().platformReceiveGoods(existenceNode.appraiseOrder); | 706 | + int rows = existenceNode.getGoodsService().platformReceiveGoods(existenceNode.appraiseOrder); |
707 | + if (rows==0){ | ||
708 | + return; | ||
709 | + } | ||
707 | // 确认收货过来的是子订单号 | 710 | // 确认收货过来的是子订单号 |
708 | Long parentOrderCode = existenceNode.getAppraiseOrder().getParentOrderCode(); | 711 | Long parentOrderCode = existenceNode.getAppraiseOrder().getParentOrderCode(); |
709 | if (parentOrderCode == null){ | 712 | if (parentOrderCode == null){ |
-
Please register or login to post a comment