瀏覽代碼

FEAT: 直播订单导出修改

xdd 19 小時之前
父節點
當前提交
b7a81776c2

+ 2 - 1
fs-service-system/src/main/java/com/fs/live/service/impl/LiveOrderPaymentServiceImpl.java

@@ -1,6 +1,7 @@
 package com.fs.live.service.impl;
 
 
+import cn.hutool.core.util.ObjectUtil;
 import com.fs.common.utils.DateUtils;
 import com.fs.huifuPay.domain.HuiFuQueryOrderResult;
 import com.fs.huifuPay.sdk.opps.core.request.V2TradePaymentScanpayQueryRequest;
@@ -68,7 +69,7 @@ public class LiveOrderPaymentServiceImpl implements ILiveOrderPaymentService {
         List<LiveOrderPaymentVo> liveOrderPaymentVos = baseMapper.selectLiveOrderPaymentVoList(liveOrderPayment);
 
         for (LiveOrderPaymentVo vo : liveOrderPaymentVos) {
-            if(ObjectUtils.isEmpty(vo.getProductId())){
+            if(ObjectUtil.isNotNull(vo.getProductId())){
                 FsStoreProduct fsStoreProduct = productMap.get(vo.getProductId());
                 if(fsStoreProduct != null){
                     vo.setPackageTitle(fsStoreProduct.getProductName());