file\on\off增加国际化
国际化修改CA为CN 增加音频/视频标志开关功能
This commit is contained in:
@@ -72,6 +72,10 @@ public class AvCfgService extends BaseService{
|
||||
page.setList(list);
|
||||
return page;
|
||||
}
|
||||
public List<AvSignSampleCfg> getSignSampleList(AvSignSampleCfg entity){
|
||||
List<AvSignSampleCfg> list = avCfgDao.getAvSignSampleList(entity);
|
||||
return list;
|
||||
}
|
||||
public void saveOrUpdateAvFileSample(AvFileSampleCfg entity){
|
||||
//设置区域运营商信息
|
||||
setAreaEffectiveIds(entity);
|
||||
@@ -280,7 +284,23 @@ public class AvCfgService extends BaseService{
|
||||
avCfgDao.updateAvSignSampleValid(entity);
|
||||
}
|
||||
}
|
||||
public void auditAvSignSample(AvSignSampleCfg entity,Integer isAudit) throws MaatConvertException{
|
||||
|
||||
public void auditAvSignSample(AvSignSampleCfg entity) throws MaatConvertException{
|
||||
|
||||
avCfgDao.updateAvSignSampleValid(entity);
|
||||
|
||||
avCfgDao.auditAvSignSample(entity);
|
||||
List<AvSignSampleCfg> list = new ArrayList<AvSignSampleCfg>();
|
||||
list.add(entity);
|
||||
//调用服务接口取消配置
|
||||
String json=gsonToJson(list);
|
||||
logger.info("标志状态变更:"+json);
|
||||
//调用服务接口取消配置
|
||||
//ToMaatResult result = ConfigServiceUtil.put(json, 2);
|
||||
//logger.info("音视频标志样状态变更响应信息:"+result.getMsg());
|
||||
|
||||
}
|
||||
/*public void auditAvSignSample(AvSignSampleCfg entity,Integer isAudit) throws MaatConvertException{
|
||||
avCfgDao.auditAvSignSample(entity);
|
||||
List<AvSignSampleCfg> list = new ArrayList<AvSignSampleCfg>();
|
||||
if(isAudit==1){
|
||||
@@ -306,7 +326,7 @@ public class AvCfgService extends BaseService{
|
||||
logger.info("音视频标志样例配置取消配置响应信息:"+result.getMsg());
|
||||
}
|
||||
|
||||
}
|
||||
}*/
|
||||
/**
|
||||
* 调用shell脚本 返回运行结果
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user