24282 7 月之前
父節點
當前提交
5bdf45e72e

+ 1 - 1
hx-victoriatourist/src/main/java/com/fjhx/victoriatourist/service/jd/impl/JdRefundServiceImpl.java

@@ -297,7 +297,7 @@ public class JdRefundServiceImpl extends ServiceImpl<JdRefundMapper, JdRefund> i
             list.forEach(item -> {
                 Long linkProductId = item.getLong("linkProductId");
                 ProductInfo linkProductInfo = productInfoService.getById(linkProductId);
-                Assert.notEmpty(linkProductInfo, "未知组合商品id:" + linkProductId);
+                Assert.notEmpty(linkProductInfo, "组合商品【" + productInfo.getCustomCode() + "】存在未知关联商品,商品id:" + linkProductId);
                 setJdRefundQualityCheck(map, linkProductInfo, jdRefundDetail, item.getInteger("linkQuantity") * number);
             });
         }