标签中英切换优化+查询速度修改

This commit is contained in:
xiejunyu
2022-03-25 17:20:26 +08:00
parent 82685b129f
commit 1ebea886cb
7 changed files with 60 additions and 139 deletions
@@ -406,15 +406,14 @@ public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, SysDict> impl
Integer pageSize = Integer.parseInt(params.get("pageSize").toString());
IPage page = new Page(pageNo, pageSize);
IPage<SysDict> result = sysDictMapper.queryPageList(page, params);
/*List<SysDict> records = result.getRecords();
List<SysDict> records = result.getRecords();
String cut = (String) params.get("cut");
//中英切换-字典名称+属性类型列
if(CutEnum.EN.getValue().equals(cut)){
for(SysDict data:records){
data.setDictName(data.getDictEnName());
data.setAttributeTypeName(data.getAttributeTypeEnName());
}
}*/
}
return result;
}
}