Commit af3da079 by danmo

管理员获取客户列表报错修改还原

1 parent 8efabaf2
......@@ -119,12 +119,9 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto
@Override
public List<WeCustomer> selectWeCustomerList(WeCustomer weCustomer) {
//当前登录用户为企业用户
try {
if(Constants.USER_TYPE_WECOME
.equals(SecurityUtils.getLoginUser().getUser().getUserType())){
weCustomer.setUserIds((SecurityUtils.getLoginUser().getUser().getWeUserId()));
}
} catch (Exception e) {
if(Constants.USER_TYPE_WECOME
.equals(SecurityUtils.getLoginUser().getUser().getUserType())){
weCustomer.setUserIds((SecurityUtils.getLoginUser().getUser().getWeUserId()));
}
return weCustomerMapper.selectWeCustomerList(weCustomer);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!