Browse Source

[用户标签][修改]查询失败 修复

release_toaliyun_real
jinguo24@163.com 7 years ago
parent
commit
1938715a51
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      mallinkService/src/main/java/com/simple/service/impl/WxCUserTagsServiceImpl.java

+ 3
- 0
mallinkService/src/main/java/com/simple/service/impl/WxCUserTagsServiceImpl.java View File

@@ -68,6 +68,9 @@ public class WxCUserTagsServiceImpl implements WxCUserTagsService {
@Override
public List<WxCUser> findUserByTag(List<Long> tagIds) {
List<Long> userIds = wxCUserTagsMapper.findUserByTag(tagIds);
if(userIds.size()==0) {
return new ArrayList<>();
}
WxCUser wxCUser = new WxCUser();
wxCUser.setIds(userIds);
return wxCUserMapper.findList(wxCUser);


Loading…
Cancel
Save