|
|
@@ -80,6 +80,10 @@ public class CrmCustomerController extends BaseController
|
|
|
LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
PageHelper.startPage(param.getPageNum(), param.getPageSize());
|
|
|
param.setCompanyId(loginUser.getCompany().getCompanyId());
|
|
|
+ if(!StringUtils.isEmpty(param.getEncryptedMobile())){
|
|
|
+ param.setMobile(PhoneUtil.encryptPhone(param.getEncryptedMobile()));
|
|
|
+ param.setEncryptedMobile(null);
|
|
|
+ }
|
|
|
List<CrmLineCustomerListQueryVO> list = crmCustomerService.selectCrmLineCustomerListQuery(param);
|
|
|
if (list != null) {
|
|
|
for (CrmLineCustomerListQueryVO vo : list) {
|
|
|
@@ -195,6 +199,10 @@ public class CrmCustomerController extends BaseController
|
|
|
if(!StringUtils.isEmpty(param.getCreateTimeRange())){
|
|
|
param.setCustomerCreateTime(param.getCreateTimeRange().split("--"));
|
|
|
}
|
|
|
+ if(!StringUtils.isEmpty(param.getEncryptedMobile())){
|
|
|
+ param.setMobile(PhoneUtil.encryptPhone(param.getEncryptedMobile()));
|
|
|
+ param.setEncryptedMobile(null);
|
|
|
+ }
|
|
|
List<CrmMyCustomerListQueryVO> list = crmCustomerService.selectCrmMyCustomerListQuery(param);
|
|
|
if (list != null) {
|
|
|
for (CrmMyCustomerListQueryVO vo : list) {
|