从jsh远程仓库更新,解决登录后用户权限加载的问题

This commit is contained in:
cjl
2019-01-17 16:50:41 +08:00
6 changed files with 132 additions and 5 deletions

View File

@@ -94,4 +94,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;
}
}