Explorar el Código

更新拼团bug

release_toaliyun_real
xiaohanzi hace 6 años
padre
commit
85a5c7b24b
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar