outputStream.close()

master
chengqf 2 years ago
parent a539514a12
commit 3e78e01980

@ -44,7 +44,11 @@ public class ConnectServiceImpl implements ConnectService {
Map<String,Object> config = new HashMap<>();
try
{
config = dbDao.get("select * from system_param_config where paramKey='upper_server_ip'");
if(level==0) {
config = dbDao.get("select syncIp as paramValue from sync_data_set limit 1");
} else {
config = dbDao.get("select * from system_param_config where paramKey='upper_server_ip'");
}
} catch (Exception ex) {
}

@ -1031,7 +1031,7 @@ public class IdcServiceImpl implements IdcService {
}
outputStream.flush();
outputStream.close();
} catch (Exception e) {

Loading…
Cancel
Save