解决权限bug

This commit is contained in:
季圣华
2018-12-23 21:53:22 +08:00
parent c554e24e56
commit b163bc1d4a
10 changed files with 174 additions and 37 deletions

View File

@@ -81,4 +81,13 @@ public class FunctionsService {
List<Functions> list = functionsMapper.selectByExample(example);
return list;
}
public List<Functions> findByIds(String functionsIds){
List<Long> idList = StringUtil.strToLongList(functionsIds);
FunctionsExample example = new FunctionsExample();
example.createCriteria().andEnabledEqualTo(true).andIdIn(idList);
example.setOrderByClause("Sort asc");
List<Functions> list = functionsMapper.selectByExample(example);
return list;
}
}