增加agent联调,获取最新策略应答功能
This commit is contained in:
@@ -43,7 +43,7 @@ public class DataProcessUtil {
|
||||
R<List<RmSwitchManagementRemote>> switchMsg = remoteRevenueConfigService
|
||||
.getSwitchNameByClientId(queryParam, SecurityConstants.INNER);
|
||||
|
||||
if (switchMsg != null && switchMsg.getData() != null) {
|
||||
if (switchMsg != null && switchMsg.getData() != null && !switchMsg.getData().isEmpty()) {
|
||||
return switchMsg.getData().get(0).getClientId();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
@@ -253,7 +253,7 @@ public class DataProcessUtil {
|
||||
R<List<RmSwitchManagementRemote>> switchMsg = remoteRevenueConfigService
|
||||
.getSwitchNameByClientId(queryParam, SecurityConstants.INNER);
|
||||
|
||||
if (switchMsg != null && switchMsg.getData() != null) {
|
||||
if (switchMsg != null && switchMsg.getData() != null && !switchMsg.getData().isEmpty()) {
|
||||
return switchMsg.getData().get(0);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user