Commit 0cc4f95f authored by 刘林's avatar 刘林

fix(tcm):单位类型添加排序

parent 8e529279
...@@ -119,6 +119,7 @@ public class DataDictionaryServiceImpl extends BaseService<DataDictionaryDto, Da ...@@ -119,6 +119,7 @@ public class DataDictionaryServiceImpl extends BaseService<DataDictionaryDto, Da
LambdaQueryWrapper<DataDictionary> wrapper = new LambdaQueryWrapper<DataDictionary>(); LambdaQueryWrapper<DataDictionary> wrapper = new LambdaQueryWrapper<DataDictionary>();
wrapper.eq(DataDictionary::getIsDelete, false); wrapper.eq(DataDictionary::getIsDelete, false);
wrapper.eq(DataDictionary::getType, type); wrapper.eq(DataDictionary::getType, type);
wrapper.orderByAsc(DataDictionary::getSortNum);
return this.baseMapper.selectList(wrapper); return this.baseMapper.selectList(wrapper);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment