Commit 04fc2b2e authored by 徐州's avatar 徐州

解决部分bug

parent 32d1aff2
......@@ -357,8 +357,10 @@ public class CustomerWechat implements ICustomerWechat {
try {
House365RestObject<CustomerEntity> data = doGetHotLineCustomer(map);
if(entity.getShowMobile() != 1) {
if(data != null && data.getEntity() != null) {
data.getEntity().setPhone(MobileUtil.hidePhone(data.getEntity().getPhone()));
if(data.getList() != null) {
for (int i = 0; i < data.getList().size(); i++) {
data.getList().get(i).setPhone(MobileUtil.hidePhone(data.getList().get(i).getPhone()));
}
}
}
response.setResult(ReturnAppResult.APP_SUCCESS.getResultCode());
......
......@@ -278,8 +278,10 @@ public class ProjectWechat implements IProjectWechat {
try {
House365RestObject<CustomerEntity> data = doGetCustomers(map);
if(entity.getShowMobile() != 1) {
if(data != null && data.getEntity() != null) {
data.getEntity().setPhone(MobileUtil.hidePhone(data.getEntity().getPhone()));
if(data.getList() != null) {
for (int i = 0; i < data.getList().size(); i++) {
data.getList().get(i).setPhone(MobileUtil.hidePhone(data.getList().get(i).getPhone()));
}
}
}
response.setResult(ReturnAppResult.APP_SUCCESS.getResultCode());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment