Explorar el Código

fix bug

release_toaliyun_real
xiaohanzi hace 6 años
padre
commit
699c307f24
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java Ver fichero

@@ -2269,7 +2269,7 @@ public class WxOrderServiceImpl implements WxOrderService {
} }
//判断拼团人数是否已经超出限制 //判断拼团人数是否已经超出限制
int groupCount = countGroupOrder(orderGroupId,false);
int groupCount = countGroupOrder(orderGroupId,true);
if (groupCount>=coupon.getPressLimitNum()) { if (groupCount>=coupon.getPressLimitNum()) {
throw new MallinkException(ErrorCode.ORDER_GROUP_COOPERATING_FINISHED.getCode(),"下单人数超出优惠券人数限制!"); throw new MallinkException(ErrorCode.ORDER_GROUP_COOPERATING_FINISHED.getCode(),"下单人数超出优惠券人数限制!");
} }


Cargando…
Cancelar
Guardar