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();