教学管理bug修改

This commit is contained in:
joylink_zhangsai 2021-03-25 20:42:19 +08:00
parent a014bcc40d
commit 4801d11b3b

View File

@ -708,12 +708,16 @@ public class SysUserService implements ISysUserService {
@Override
public List<SysUser> findEntity(List<Long> ids, String orderBy) {
SysUserExample example = new SysUserExample();
if (StringUtils.hasText(orderBy)) {
example.setOrderByClause(orderBy);
if (CollectionUtils.isEmpty(ids)) {
return new ArrayList<>();
} 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