|
@ -1565,7 +1565,7 @@ public class MonitorPlatformService {
|
|
|
List<Map<String,Object>> list = jdbcTemplate.queryForList(sql);
|
|
|
JSONArray result = new JSONArray();
|
|
|
for (Map<String,Object> map :list){
|
|
|
sql="select `code`,`value` from xmiot.iot_system_dict where dict_name='DEVICE_TYPE' and del=1 and parent_code='"+map.get("id").toString()+"'";
|
|
|
sql="select `code`,`value` from xmiot.iot_system_dict where dict_name='DEVICE_TYPE' and del=1 and code!=10 and code!=11 and parent_code='"+map.get("id").toString()+"'";
|
|
|
StringBuffer buffer = new StringBuffer();
|
|
|
List<Map<String,Object>> reList = jdbcTemplate.queryForList(sql);
|
|
|
for (Map<String,Object> reMap:reList){
|