字典类型添加排序字段

This commit is contained in:
数据小王子 2024-04-11 11:55:19 +08:00
parent 15b8251601
commit 4c5bb90361

View File

@ -65,7 +65,8 @@ public class SysDictTypeServiceImpl extends BaseServiceImpl<SysDictTypeMapper, S
QueryWrapper queryWrapper = super.buildBaseQueryWrapper()
.and(SYS_DICT_TYPE.DICT_NAME.like(dictTypeBo.getDictName()))
.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;
}