|
@@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
5
|
5
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
6
|
6
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
7
|
7
|
import com.yunzhi.marketing.base.ResponseBean;
|
|
8
|
+import com.yunzhi.marketing.center.taUser.entity.TaUser;
|
|
9
|
+import com.yunzhi.marketing.center.taUser.mapper.TaUserMapper;
|
8
|
10
|
import com.yunzhi.marketing.common.CommConstant;
|
9
|
11
|
import com.yunzhi.marketing.common.StringUtils;
|
10
|
12
|
import com.yunzhi.marketing.entity.TaBuilding;
|
|
@@ -55,6 +57,12 @@ public class ChannelCustomerServiceImpl extends ServiceImpl<ChannelCustomerMappe
|
55
|
57
|
|
56
|
58
|
@Autowired
|
57
|
59
|
private TaBuildingMapper taBuildingMapper;
|
|
60
|
+
|
|
61
|
+ @Autowired
|
|
62
|
+ private TaUserMapper taUserMapper;
|
|
63
|
+
|
|
64
|
+ @Autowired
|
|
65
|
+ private InstitutionMapper institutionMapper;
|
58
|
66
|
/**
|
59
|
67
|
* 审核
|
60
|
68
|
*
|
|
@@ -310,8 +318,10 @@ public class ChannelCustomerServiceImpl extends ServiceImpl<ChannelCustomerMappe
|
310
|
318
|
String phone,
|
311
|
319
|
String recommendPersonName,
|
312
|
320
|
String recommendPhone,
|
313
|
|
- String status,String type) {
|
314
|
|
- return channelCustomerMapper.getProfileList(pg, orgId, buildingId, name, phone, recommendPersonName, recommendPhone, status, type);
|
|
321
|
+ String status,String type, Integer userId) {
|
|
322
|
+ TaUser taUser = taUserMapper.selectById(userId);
|
|
323
|
+ Institution institution = institutionMapper.selectById(taUser.getInstitutionId());
|
|
324
|
+ return channelCustomerMapper.getProfileList(pg, orgId, buildingId, name, phone, recommendPersonName, recommendPhone, status, type, institution.getInstitutionCode());
|
315
|
325
|
}
|
316
|
326
|
|
317
|
327
|
/**
|