根据标准id查询分解单的文本类型返回结构修改0.1.2
This commit is contained in:
+2
-6
@@ -248,12 +248,8 @@ public class SarStandItemsServiceImpl extends ServiceImpl<SarStandItemsDao, SarS
|
||||
.collect(Collectors.toMap(SarStandAttrDetails::getAttrField, SarStandAttrDetails::getAttrName));
|
||||
|
||||
List<Map<String, String>> collect = fileType.stream()
|
||||
.map(item -> {
|
||||
Map<String, String> map = new HashMap<>();
|
||||
map.put("label", typeNameMap.get(item));
|
||||
map.put("value", item);
|
||||
return map;
|
||||
}).collect(Collectors.toList());
|
||||
.map(item -> new HashMap<String, String>(){ { put("label", typeNameMap.get(item));put("value", item);} }
|
||||
).collect(Collectors.toList());
|
||||
|
||||
|
||||
return collect;
|
||||
|
||||
Reference in New Issue
Block a user