‘linchangsheng’ 6 місяців тому
батько
коміт
ca6b48c16b

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/policy/AgreementLogic.java

@@ -516,7 +516,7 @@ public class AgreementLogic {
                 .eq(PolicyOrder::getIsImport, IsYesNoEnum.NO.getKey())
                 .eq(PolicyOrder::getIsSend, IsYesNoEnum.NO.getKey()).list();
 
-        if (!CollectionUtils.isEmpty(policyOrders)) {
+        if (!CollectionUtils.isEmpty(policyOrdersEm)) {
             MailboxSendRecord mailboxSendRecord = new MailboxSendRecord();
             mailboxSendRecord.setId(IdWorker.getIdStr());
             mailboxSendRecord.setPolicyType(PolicyTypeEnum.EM.getKey());