Pārlūkot izejas kodu

更新拼团bug

release_toaliyun_real
xiaohanzi pirms 6 gadiem
vecāks
revīzija
85a5c7b24b
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderGroupServiceImpl.java

+ 4
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxOrderGroupServiceImpl.java Parādīt failu

@@ -78,7 +78,10 @@ public class WxOrderGroupServiceImpl implements WxOrderGroupService {
WxCoupon wxCoupon = wxCouponMapper.selectById(order.getProductId());
if (null == wxCoupon) {
throw new MallinkException(ErrorCode.ORDER_GROUP_COOPERATING_FAILD.getCode(),"WxCoupon is null. orderId:"+order.getId());
}
}
if (wxOrderGroup.getStatus() == EnumOrderStatus.ORDER_STATUS_COOPERATING_COMPLETE.getCode()) {
return;
}
int remainPeople = updateOrderGroup(wxOrderGroup,order,wxCoupon);
if (remainPeople == 0) {
actionAfterOrderGroupSuccess(order, order.getOrderGroupId());


Notiek ielāde…
Atcelt
Saglabāt