summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFengLiang <feng.liang1@zte.com.cn>2017-03-06 10:03:44 +0800
committerFengLiang <feng.liang1@zte.com.cn>2017-03-06 10:49:49 +0800
commit68219871341ccca3496e620938842bd0a80ef61e (patch)
tree80c13fe858709ca4722f6c58d5d185612cee61b6
parentfc1ad057cecc6bacf0f5931f6ec0e43b77c90851 (diff)
Modify sql and restructure
Change-Id: Iee6e133336e4b4c9c92c6a3065f7dfbc02c4f7eb Issue-ID:HOLMES-47 Signed-off-by: FengLiang <feng.liang1@zte.com.cn>
-rw-r--r--engine-d/src/main/java/org/openo/holmes/engine/db/CorrelationRuleDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-d/src/main/java/org/openo/holmes/engine/db/CorrelationRuleDao.java b/engine-d/src/main/java/org/openo/holmes/engine/db/CorrelationRuleDao.java
index 0c00102..4370054 100644
--- a/engine-d/src/main/java/org/openo/holmes/engine/db/CorrelationRuleDao.java
+++ b/engine-d/src/main/java/org/openo/holmes/engine/db/CorrelationRuleDao.java
@@ -27,7 +27,7 @@ import org.skife.jdbi.v2.sqlobject.customizers.RegisterMapper;
public abstract class CorrelationRuleDao {
- @SqlQuery("SELECT * FROM aplus_rule WHERE enable=:enable")
+ @SqlQuery("SELECT * FROM APLUS_RULE WHERE enable=:enable")
public abstract List<CorrelationRule> queryRuleByEnable(@Bind("enable") int enable);
public List<CorrelationRule> queryRuleByRuleEnable(int enable) {