|
@@ -947,6 +947,12 @@ public class TaPersonServiceImpl extends ServiceImpl<TaPersonMapper, TaPerson> i
|
947
|
947
|
// 发放积分
|
948
|
948
|
applicationContext.publishEvent(new EventBus(person, EventBus.EventType.SignUpAgent, orgId));
|
949
|
949
|
|
|
950
|
+ // 推广人 - 获取积分
|
|
951
|
+ if (!StringUtils.isEmpty(promoter)){
|
|
952
|
+ applicationContext.publishEvent(new EventBus(promoter, EventBus.EventType.SharePosterAll, orgId));
|
|
953
|
+ }
|
|
954
|
+
|
|
955
|
+
|
950
|
956
|
// // 关联推荐客户
|
951
|
957
|
// fixCustomerPersonId(person);
|
952
|
958
|
//
|
|
@@ -955,7 +961,7 @@ public class TaPersonServiceImpl extends ServiceImpl<TaPersonMapper, TaPerson> i
|
955
|
961
|
// customerFrom.setPersonName(StringUtils.ifNull(person.getName(), person.getNickname()));
|
956
|
962
|
// customerFrom.setCreateDate(now);
|
957
|
963
|
|
958
|
|
- // 推广人
|
|
964
|
+// 推广人
|
959
|
965
|
// TaPerson recPerson = StringUtils.isEmpty(promoter) ? null : taPersonMapper.getById(promoter);
|
960
|
966
|
// // 推荐楼盘
|
961
|
967
|
// TaBuilding building = StringUtils.isEmpty(buildingId) ? null : taBuildingMapper.selectById(buildingId);
|