use of com.itrus.portal.db.SysResourcesExample in project portal by ixinportal.
the class LicenseData method loadResNums.
void loadResNums(SqlSession sqlSession) {
SysResourcesExample resEx = new SysResourcesExample();
resEx.or().andResRoleNameIn(roleTitle);
List<SysResources> sysResources = sqlSession.selectList("com.itrus.ukey.db.SysResourcesMapper.selectByExample", resEx);
if (sysResources != null && !sysResources.isEmpty())
resNums = new HashSet<Integer>();
for (SysResources res : sysResources) {
resNums.add(res.getResNum());
}
}
Aggregations