Commit 4370f024 by danmo

定时任务无法获取登陆人 客户列表报错

1 parent 48037f30
...@@ -119,9 +119,12 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto ...@@ -119,9 +119,12 @@ public class WeCustomerServiceImpl extends ServiceImpl<WeCustomerMapper, WeCusto
@Override @Override
public List<WeCustomer> selectWeCustomerList(WeCustomer weCustomer) { public List<WeCustomer> selectWeCustomerList(WeCustomer weCustomer) {
//当前登录用户为企业用户 //当前登录用户为企业用户
if(Constants.USER_TYPE_WECOME try {
.equals(SecurityUtils.getLoginUser().getUser().getUserType())){ if(Constants.USER_TYPE_WECOME
weCustomer.setUserIds((SecurityUtils.getLoginUser().getUser().getWeUserId())); .equals(SecurityUtils.getLoginUser().getUser().getUserType())){
weCustomer.setUserIds((SecurityUtils.getLoginUser().getUser().getWeUserId()));
}
} catch (Exception e) {
} }
return weCustomerMapper.selectWeCustomerList(weCustomer); 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!