标签中英切换优化+查询速度修改
This commit is contained in:
+2
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user