解决登录后用户权限加载的问题

This commit is contained in:
季圣华
2019-01-17 00:13:20 +08:00
parent 4afc188b73
commit 3df03ef910
6 changed files with 132 additions and 4 deletions

View File

@@ -82,4 +82,13 @@ public class AppService {
List<App> list = appMapper.selectByExample(example);
return list;
}
public List<App> findAppInIds(String ids, String type){
List<Long> idList = StringUtil.strToLongList(ids);
AppExample example = new AppExample();
example.createCriteria().andZlEqualTo(type).andEnabledEqualTo(true).andIdIn(idList);
example.setOrderByClause("Sort");
List<App> list = appMapper.selectByExample(example);
return list;
}
}