JensionDzero преди 1 година
родител
ревизия
3ea618939c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ruoyi-demo/src/main/java/com/ruoyi/demo/entity/bo/BrandInfo.java

+ 1 - 1
ruoyi-demo/src/main/java/com/ruoyi/demo/entity/bo/BrandInfo.java

@@ -37,10 +37,10 @@ public class BrandInfo implements Serializable {
         this.indexScore = brand.getIndexScore();
         if (enterprise != null) {
             this.enterpriseUsci = enterprise.getEnterpriseUsci();
-            this.enterpriseName = enterprise.getEnterpriseName();
             this.addrCode = enterprise.getAddrCode();
             this.addrInfo = enterprise.getAddrInfo();
         }
+        this.enterpriseName = brand.getBrandName();
         this.contact = brand.getContact();
         this.telephone = brand.getTelephone();
         this.updateTime = brand.getUpdateTime();