试卷定义列表名称查询bug修改
This commit is contained in:
parent
7dd24fd938
commit
ae12063980
@ -360,6 +360,7 @@ public class ExamService implements IExamService{
|
||||
if (StringUtils.hasText(queryVO.getCreatorName())) {
|
||||
SysUserExample sysUserExample = new SysUserExample();
|
||||
sysUserExample.createCriteria().andNameLike(String.format("%%%s%%", queryVO.getCreatorName()));
|
||||
sysUserExample.or().andNicknameLike(String.format("%%%s%%", queryVO.getCreatorName()));
|
||||
List<Long> createrIdList = sysUserMapper.selectByExample(sysUserExample).stream()
|
||||
.map(SysUser::getId).collect(Collectors.toList());
|
||||
if (createrIdList.size() == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user