|
|
|
@ -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) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|