字典类型添加排序字段
This commit is contained in:
parent
15b8251601
commit
4c5bb90361
@ -65,7 +65,8 @@ public class SysDictTypeServiceImpl extends BaseServiceImpl<SysDictTypeMapper, S
|
|||||||
QueryWrapper queryWrapper = super.buildBaseQueryWrapper()
|
QueryWrapper queryWrapper = super.buildBaseQueryWrapper()
|
||||||
.and(SYS_DICT_TYPE.DICT_NAME.like(dictTypeBo.getDictName()))
|
.and(SYS_DICT_TYPE.DICT_NAME.like(dictTypeBo.getDictName()))
|
||||||
.and(SYS_DICT_TYPE.DICT_TYPE.eq(dictTypeBo.getDictType()))
|
.and(SYS_DICT_TYPE.DICT_TYPE.eq(dictTypeBo.getDictType()))
|
||||||
.and(SYS_DICT_TYPE.CREATE_TIME.between(dictTypeBo.getParams().get("beginTime"), dictTypeBo.getParams().get("endTime")));
|
.and(SYS_DICT_TYPE.CREATE_TIME.between(dictTypeBo.getParams().get("beginTime"), dictTypeBo.getParams().get("endTime")))
|
||||||
|
.orderBy(SYS_DICT_TYPE.TENANT_ID.asc(),SYS_DICT_TYPE.DICT_TYPE.asc());
|
||||||
return queryWrapper;
|
return queryWrapper;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user