|
@@ -356,7 +356,7 @@ public class MiniAppController extends BaseController {
|
356
|
356
|
// if(list.size()<=0){
|
357
|
357
|
// taCustomerPersonService.insertBean(person.getPersonId(),customers.getCustomerId());
|
358
|
358
|
// }
|
359
|
|
- }else{
|
|
359
|
+ } else{
|
360
|
360
|
TaRecommendCustomer taRecommendCustomer = new TaRecommendCustomer();
|
361
|
361
|
taRecommendCustomer.setPersonId(person.getPersonId());
|
362
|
362
|
taRecommendCustomer.setPicture(person.getAvatarurl());
|
|
@@ -372,7 +372,19 @@ public class MiniAppController extends BaseController {
|
372
|
372
|
taRecommendCustomer.setCreateDate(LocalDateTime.now());
|
373
|
373
|
taRecommendCustomerService.save(taRecommendCustomer);
|
374
|
374
|
}
|
375
|
|
-
|
|
375
|
+// else{
|
|
376
|
+// TaRecommendCustomer taRecommendCustomer = new TaRecommendCustomer();
|
|
377
|
+// taRecommendCustomer.setPersonId(person.getPersonId());
|
|
378
|
+// taRecommendCustomer.setPicture(person.getAvatarurl());
|
|
379
|
+// taRecommendCustomer.setCountry(person.getCountry());
|
|
380
|
+// taRecommendCustomer.setCity(person.getCity());
|
|
381
|
+// taRecommendCustomer.setProvince(person.getProvince());
|
|
382
|
+// taRecommendCustomer.setVerifyStatus(CommConstant.VERIFY_AGREE);
|
|
383
|
+// taRecommendCustomer.setOrgId(getOrgId(request));
|
|
384
|
+// taRecommendCustomer.setEntryType(CommConstant.ENTRY_VOLUNTEER);
|
|
385
|
+// taRecommendCustomer.setSex(Integer.getInteger(person.getGender()));
|
|
386
|
+//
|
|
387
|
+// }
|
376
|
388
|
return ResponseBean.success(phoneNoInfo);
|
377
|
389
|
}
|
378
|
390
|
|