Commit 8d08a2b1 authored by caotao's avatar caotao

1.修改获取区域公司与经销商的接口返回。

parent ccbb6df3
...@@ -370,7 +370,7 @@ public class JpStationController extends BaseController { ...@@ -370,7 +370,7 @@ public class JpStationController extends BaseController {
List<Map<String,String>> result = new ArrayList<>(); List<Map<String,String>> result = new ArrayList<>();
list.forEach(dropDown -> { list.forEach(dropDown -> {
Map<String,String> item = new HashMap<>(); Map<String,String> item = new HashMap<>();
item.put("name",dropDown.getName()); item.put("text",dropDown.getName());
item.put("value",dropDown.getOrgCode()); item.put("value",dropDown.getOrgCode());
result.add(item); result.add(item);
}); });
...@@ -389,7 +389,7 @@ public class JpStationController extends BaseController { ...@@ -389,7 +389,7 @@ public class JpStationController extends BaseController {
List<Map<String,String>> result = new ArrayList<>(); List<Map<String,String>> result = new ArrayList<>();
list.forEach(dropDown -> { list.forEach(dropDown -> {
Map<String,String> item = new HashMap<>(); Map<String,String> item = new HashMap<>();
item.put("name",dropDown.getName()); item.put("text",dropDown.getName());
item.put("value",dropDown.getOrgCode()); item.put("value",dropDown.getOrgCode());
result.add(item); result.add(item);
}); });
......
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