1、修改HTTP/DNS/SSL/MAIL/FTP配置、列表界面字典参数项,以及增加区域管控的查看连接;
2、音视频样例状态修改提交服务接口参数修改,以及界面必填项标识增加; 3、所有数据角色非admin用户过滤配置审核取消的配置; 4、修改功能配置域字典排序。 Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<if test="configRegionCode != null">
|
||||
AND config_region_code=#{configRegionCode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
order by region_type desc
|
||||
order by dict_id
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -148,8 +148,9 @@ public abstract class BaseService {
|
||||
}
|
||||
|
||||
}else{
|
||||
// 如果包含全部权限,则去掉之前添加的所有条件,并跳出循环。
|
||||
// 如果包含全部权限,则去掉之前添加的所有条件但增加配置审核取消以及删除的配置,并跳出循环。
|
||||
sqlString = new StringBuilder();
|
||||
sqlString.append(" OR " + configAlias + ".is_audit !=3");
|
||||
}
|
||||
}
|
||||
if (StringUtils.isNotBlank(sqlString.toString())){
|
||||
|
||||
@@ -165,10 +165,8 @@ public class AvCfgService extends BaseService{
|
||||
cfg.setCompileId(entity.getCompileId());
|
||||
cfg.setServiceId(entity.getServiceId());
|
||||
list.add(cfg);
|
||||
Map map = new HashMap();
|
||||
map.put("updateStatCfgList", list);
|
||||
//调用服务接口取消配置
|
||||
String json=gsonToJson(map);
|
||||
String json=gsonToJson(list);
|
||||
logger.info("音视频文件样例下发配置参数:"+json);
|
||||
//调用服务接口下发配置
|
||||
ToMaatResult result = ConfigServiceUtil.put(json,2);
|
||||
@@ -205,10 +203,8 @@ public class AvCfgService extends BaseService{
|
||||
cfg.setCompileId(entity.getCompileId());
|
||||
cfg.setServiceId(entity.getServiceId());
|
||||
list.add(cfg);
|
||||
Map map = new HashMap();
|
||||
map.put("updateStatCfgList", list);
|
||||
//调用服务接口取消配置
|
||||
String json=gsonToJson(map);
|
||||
String json=gsonToJson(list);
|
||||
logger.info("标志样例下发配置参数:"+json);
|
||||
//调用服务接口取消配置
|
||||
ToMaatResult result = ConfigServiceUtil.put(json, 2);
|
||||
|
||||
Reference in New Issue
Block a user