胡轶钦 5 yıl önce
ebeveyn
işleme
1764921d1a

+ 0
- 15
src/main/java/com/huiju/estateagents/controller/MiniAppController.java Dosyayı Görüntüle

@@ -356,21 +356,6 @@ public class MiniAppController extends BaseController {
356 356
 //            if(list.size()<=0){
357 357
 //                taCustomerPersonService.insertBean(person.getPersonId(),customers.getCustomerId());
358 358
 //            }
359
-        }else{
360
-            TaRecommendCustomer taRecommendCustomer = new TaRecommendCustomer();
361
-            taRecommendCustomer.setPersonId(person.getPersonId());
362
-            taRecommendCustomer.setPicture(person.getAvatarurl());
363
-            taRecommendCustomer.setCountry(person.getCountry());
364
-            taRecommendCustomer.setCity(person.getCity());
365
-            taRecommendCustomer.setProvince(person.getProvince());
366
-            taRecommendCustomer.setVerifyStatus(CommConstant.VERIFY_AGREE);
367
-            taRecommendCustomer.setOrgId(getOrgId(request));
368
-            taRecommendCustomer.setEntryType(CommConstant.ENTRY_VOLUNTEER);
369
-            taRecommendCustomer.setSex(Integer.getInteger(person.getGender()));
370
-            taRecommendCustomer.setName(person.getNickname());
371
-            taRecommendCustomer.setPhone(person.getPhone());
372
-            taRecommendCustomer.setCreateDate(LocalDateTime.now());
373
-            taRecommendCustomerService.save(taRecommendCustomer);
374 359
         }
375 360
 
376 361
         return ResponseBean.success(phoneNoInfo);