Explorar el Código

update gift

release_toaliyun_real
xhxu hace 4 años
padre
commit
3cbf588c7d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java

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

@@ -341,7 +341,8 @@ public class WxCouponServiceImpl implements WxCouponService {

List<JSONObject> merchantParamList = JSONObject.parseArray(record.getMerchantParams(), JSONObject.class);
//有价券判断商户是否配置了分账账号
if (record.getSalePrice() != null && record.getSalePrice() > 0) {
if (!EnumCouponType.COUPON_GIFT.getCode().equals(record.getType())
&& record.getSalePrice() != null && record.getSalePrice() > 0) {
boolean share = false;
WxPayAccount payQ = new WxPayAccount();
payQ.updateTenantInfo(record);


Cargando…
Cancelar
Guardar