教学管理bug修改
This commit is contained in:
parent
a014bcc40d
commit
4801d11b3b
@ -708,12 +708,16 @@ public class SysUserService implements ISysUserService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<SysUser> findEntity(List<Long> ids, String orderBy) {
|
public List<SysUser> findEntity(List<Long> ids, String orderBy) {
|
||||||
SysUserExample example = new SysUserExample();
|
if (CollectionUtils.isEmpty(ids)) {
|
||||||
if (StringUtils.hasText(orderBy)) {
|
return new ArrayList<>();
|
||||||
example.setOrderByClause(orderBy);
|
} else {
|
||||||
|
SysUserExample example = new SysUserExample();
|
||||||
|
if (StringUtils.hasText(orderBy)) {
|
||||||
|
example.setOrderByClause(orderBy);
|
||||||
|
}
|
||||||
|
example.createCriteria().andIdIn(ids);
|
||||||
|
return sysUserDAO.selectByExample(example);
|
||||||
}
|
}
|
||||||
example.createCriteria().andIdIn(ids);
|
|
||||||
return sysUserDAO.selectByExample(example);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user