voipForm界面修改业务调整
This commit is contained in:
@@ -79,9 +79,17 @@ public class AvContentCfgService extends BaseService{
|
||||
*/
|
||||
public CfgIndexInfo getCfgIndexInfo(CfgIndexInfo entity) {
|
||||
CfgIndexInfo cfg=avContentCfgDao.getCfgIndexInfo(entity);
|
||||
List<AvVoipAccountCfg> voipAccounts=getVoipAccountCfgList(entity);
|
||||
List<AvVoipIpCfg> voipIps=getVoipIpCfgList(entity);
|
||||
getVoipIpCfgList(entity);
|
||||
List<AvVoipAccountCfg> voipAccounts=new ArrayList<>();
|
||||
voipAccounts=getVoipAccountCfgList(entity);
|
||||
if(voipAccounts ==null || voipAccounts.size() <=0){
|
||||
voipAccounts.add(new AvVoipAccountCfg());
|
||||
}
|
||||
List<AvVoipIpCfg> voipIps=new ArrayList<>();
|
||||
voipIps=getVoipIpCfgList(entity);
|
||||
if(voipIps ==null || voipIps.size() <=0){
|
||||
voipIps.add(new AvVoipIpCfg());
|
||||
}
|
||||
|
||||
cfg.setVoipAccounts(voipAccounts);
|
||||
cfg.setVoipIps(voipIps);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user