Commit 82e29673 authored by gaoyingwei's avatar gaoyingwei

修改 隔离点导入模板

parent 77f7571b
...@@ -117,7 +117,7 @@ public class GldryController extends BaseController ...@@ -117,7 +117,7 @@ public class GldryController extends BaseController
// List<SysDictData> isolation_point = sysDictDataMapper.selectDictDataByType("isolation_point"); // List<SysDictData> isolation_point = sysDictDataMapper.selectDictDataByType("isolation_point");
// String glPlace = loginUser.getNickName(); // String glPlace = loginUser.getNickName();
String value = DataUtils.getKey(null,null,null,null,String.valueOf(SecurityUtils.getUserId())); String value = DataUtils.getKey(null,null,null,null,String.valueOf(SecurityUtils.getUserId()));
List<SysDictData> fcPlace = DictUtils.getDictCache("isolation"); List<SysDictData> fcPlace = DictUtils.getDictCache("isolation_point");
List<String> labels = fcPlace.stream().filter(l->value.equals(l.getDictValue())) List<String> labels = fcPlace.stream().filter(l->value.equals(l.getDictValue()))
.map(SysDictData::getDictLabel).collect(Collectors.toList()); .map(SysDictData::getDictLabel).collect(Collectors.toList());
String[] glPlaces = labels.toArray(new String[]{}); String[] glPlaces = labels.toArray(new String[]{});
......
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