1:合并maat类配置删除接口

2:修改首页流量统计实体类中pps与gbps的数据类型,并修改从clickhouse中查询的sql
This commit is contained in:
renkaige
2018-12-24 22:18:12 +06:00
parent c50d92d265
commit b4fcccddaf
11 changed files with 458 additions and 608 deletions

View File

@@ -370,7 +370,7 @@ public class ConfigSourcesService extends BaseService {
if (!isConfigStartStop) {
// 所有的都删除成功返回true
if (!configRedisService.delMaatConfig(compileMap)) {
if (!configRedisService.delMaatConfig(compileMap,false)) {
throw new ServiceRuntimeException("取消MAAT配置时出现异常具体原因不详请联系管理员",
RestBusinessCode.service_runtime_error.getValue());
}
@@ -380,7 +380,7 @@ public class ConfigSourcesService extends BaseService {
if (isValid == 0) {
isStart = false;// 置为失效
}
if (!configRedisService.startStopMaatConfig(compileMap, isStart)) {
if (!configRedisService.delMaatConfig(compileMap, isStart)) {
throw new ServiceRuntimeException("停启用MAAT配置时出现异常具体原因不详请联系管理员",
RestBusinessCode.service_runtime_error.getValue());
}