实时报表-流量统计菜单-统计中的配置统计模块

1.时间粒度最大范围调整 5分钟(一个月) 小时(一个月) 天(一年)
2.查询配置ID的规则名称时,取消is_valid=1的查询条件
This commit is contained in:
shangguanyanfei
2019-05-30 18:07:38 +08:00
parent 5dc3136724
commit 91aaf716c8
3 changed files with 43 additions and 38 deletions

View File

@@ -198,11 +198,14 @@ public class ConfigStatisticsController extends BaseController {
}
}
String cfgDesc="";
if(entity1.getServiceId().equals("400")){//ASN IP(特殊的业务,需单独查询)
cfgDesc = configStatisticService.getASNIPCfgDesc(entity1.getCfgId());
}else if(entity1.getServiceId().equals("1028")){// APP IP
cfgDesc = configStatisticService.getAPPIPCfgDesc(entity1.getCfgId());
}else{
// if(entity1.getServiceId().equals("400")){//ASN IP(特殊的业务,需单独查询)
// cfgDesc = configStatisticService.getASNIPCfgDesc(entity1.getCfgId());
// }else if(entity1.getServiceId().equals("1028")){// APP IP
// cfgDesc = configStatisticService.getAPPIPCfgDesc(entity1.getCfgId());
// }else{
// cfgDesc = configStatisticService.getCfgDescByCfgId(entity1);
// }
if(!entity1.getServiceId().equals("400") && !entity1.getServiceId().equals("1028")){
cfgDesc = configStatisticService.getCfgDescByCfgId(entity1);
}
entity1.setCfgDesc(cfgDesc);
@@ -293,11 +296,14 @@ public class ConfigStatisticsController extends BaseController {
}
}
String cfgDesc="";
if(entity1.getServiceId().equals("400")){//ASN IP(特殊的业务,需单独查询)
cfgDesc = configStatisticService.getASNIPCfgDesc(entity1.getCfgId());
}else if(entity1.getServiceId().equals("1028")){// APP IP
cfgDesc = configStatisticService.getAPPIPCfgDesc(entity1.getCfgId());
}else{
// if(entity1.getServiceId().equals("400")){//ASN IP(特殊的业务,需单独查询)
// cfgDesc = configStatisticService.getASNIPCfgDesc(entity1.getCfgId());
// }else if(entity1.getServiceId().equals("1028")){// APP IP
// cfgDesc = configStatisticService.getAPPIPCfgDesc(entity1.getCfgId());
// }else{
// cfgDesc = configStatisticService.getCfgDescByCfgId(entity1);
// }
if(!entity1.getServiceId().equals("400") && !entity1.getServiceId().equals("1028")){
cfgDesc = configStatisticService.getCfgDescByCfgId(entity1);
}
entity1.setCfgDesc(cfgDesc);

View File

@@ -11,8 +11,7 @@
select cfg_desc from ${tableName}
<where>
is_valid=1
and service_id = #{serviceId}
service_id = #{serviceId}
and compile_id= #{cfgId}
</where>