Commit cf099962 by 杨林龙

添加下拉选模糊查询接口

1 parent 2571e0e4
...@@ -37,11 +37,9 @@ public class DeviceMgrController { ...@@ -37,11 +37,9 @@ public class DeviceMgrController {
@ResponseBody @ResponseBody
public R getDropDownOptions() { public R getDropDownOptions() {
HashMap<String, List<String>> hashMap = new HashMap<>(); HashMap<String, List<String>> hashMap = new HashMap<>();
List<String> customerNameList = deviceMgrService.getCustomerNameList();
List<String> deviceTypeList = deviceMgrService.getDeviceTypeList(); List<String> deviceTypeList = deviceMgrService.getDeviceTypeList();
// hashMap.put("customerNameList", customerNameList);
hashMap.put("deviceTypeList", deviceTypeList); hashMap.put("deviceTypeList", deviceTypeList);
return R.ok().data(hashMap); return R.ok().data(hashMap);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!