yaozhixue 1 tahun lalu
induk
melakukan
fcc6e3f0d4

+ 1 - 1
src/main/java/com/zfire/jiasm/syncdata/download/order/InstallBusinessApi.java

@@ -87,7 +87,7 @@ public class InstallBusinessApi {
 
         // 测试使用
         /*lcls = itfTblAzAssignLcLsDownloadService.lambdaQuery()
-                .eq(ItfTblAzAssignLcLsDownload::getSynReqId,225717L)
+                .eq(ItfTblAzAssignLcLsDownload::getSynReqId,224465L)
                 .list();*/
 
         if (lcls.size()<1){

+ 5 - 1
src/main/java/com/zfire/jiasm/syncdata/service/impl/PublicServiceImpl.java

@@ -574,9 +574,13 @@ public class PublicServiceImpl implements PublicService {
         if (StringUtils.isEmpty(websitNo)){
             return resultData;
         }
+        // 提取格力集团信息
+        Brand brandRec = baseService.getBrand();
+
         // 提取平台的销售网点信息 无信息不处理
         List<CustomerInformationWebsit> cIWebsitList = customerInformationWebsitService.lambdaQuery()
-                .eq(CustomerInformationWebsit::getRefWebsitId,websitNo).list();
+                .eq(CustomerInformationWebsit::getRefWebsitId,websitNo)
+                .eq(CustomerInformationWebsit::getGroupCompanyId,brandRec.getBrandId()).list();
         if (CollectionUtils.isNotEmpty(cIWebsitList)){
             if (cIWebsitList.size()==1){
                 // 这里的网点编号也是平台的商户编号