瀏覽代碼

更新拼团bug

release_toaliyun_real
xiaohanzi 6 年之前
父節點
當前提交
85a5c7b24b
共有 1 個檔案被更改,包括 4 行新增1 行删除
  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 查看文件

@@ -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());


Loading…
取消
儲存