顾绍勇 vor 5 Jahren
Ursprung
Commit
838327dfb9

+ 2
- 2
src/main/java/com/huiju/estateagents/service/impl/TaRecommendCustomerServiceImpl.java Datei anzeigen

@@ -257,7 +257,7 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
257 257
                 // 如果非小程序公客, 即首次进入
258 258
                 if (!isFirstOrg) {
259 259
                     // 如果分享内容的楼盘跟置业楼盘一致
260
-                    if (builingAssociated) {
260
+                    if (builingAssociated || null  == building ) {
261 261
                         isFirstOrg = true;
262 262
                     }
263 263
                 } else {
@@ -321,7 +321,7 @@ public class TaRecommendCustomerServiceImpl extends ServiceImpl<TaRecommendCusto
321 321
         }
322 322
 
323 323
         // 小程序公客
324
-        if (!hasOrgCust) {
324
+        if (!hasOrgCust && null == consultant) {
325 325
             TaRecommendCustomer customer = copyFromPerosn(person, new TaRecommendCustomer());
326 326
             fillSomeFieldsOfCustomer(customer, recommender, now);
327 327
             taRecommendCustomerMapper.insert(customer);