diff options
| author | doufenghu <[email protected]> | 2019-02-18 18:14:09 +0600 |
|---|---|---|
| committer | doufenghu <[email protected]> | 2019-02-18 18:14:09 +0600 |
| commit | ea2a653d584efa5c0a96ea326c13f704ddcbd39f (patch) | |
| tree | 605b07ab1d20cb613a81f91debfe3c6759d482df | |
| parent | 0f073209e27f7c0cf099c693368b8766f1367205 (diff) | |
fix(配置日志总量接口): 更改数据源NTC_PZ_REPORT 为NTC_PZ_STAT_HOUR ;提高查询性能,同时业务已有日志量趋势图,无需查询5分钟实时统计表。
| -rw-r--r-- | src/main/java/com/nis/web/dao/NtcReportDao.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/nis/web/dao/NtcReportDao.xml b/src/main/java/com/nis/web/dao/NtcReportDao.xml index 6aa157d..54dd434 100644 --- a/src/main/java/com/nis/web/dao/NtcReportDao.xml +++ b/src/main/java/com/nis/web/dao/NtcReportDao.xml @@ -144,6 +144,10 @@ </choose>
<choose>
+ <when test="searchBusinessType !=null and searchBusinessType != '' and searchBusinessType == 1 ">
+ NTC_PZ_STAT_HOUR
+ </when>
+
<when
test="searchBusinessType !=null and searchBusinessType != '' and searchBusinessType == 3 ">
NTC_PZ_STAT_HOUR
@@ -190,6 +194,9 @@ </choose>
<choose>
+ <when test="searchBusinessType !=null and searchBusinessType != '' and searchBusinessType == 1 ">
+ NTC_PZ_STAT_HOUR
+ </when>
<when
test="searchBusinessType !=null and searchBusinessType != '' and searchBusinessType == 3 ">
NTC_PZ_STAT_HOUR
|
