summaryrefslogtreecommitdiffstats
path: root/engine-d/src
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-03-06 03:41:45 +0000
committerGerrit Code Review <gerrit@open-o.org>2017-03-06 03:41:45 +0000
commitd9a68537d20a7eea912a41ea229c3ed569f73474 (patch)
treea4d6c678c04fb3c664c5a76a7f4628e3f083b348 /engine-d/src
parenta053ac654db46a26fa86c477aa04e1fdaa8ccb09 (diff)
parent68219871341ccca3496e620938842bd0a80ef61e (diff)
Merge "Modify sql and restructure"
Diffstat (limited to 'engine-d/src')
-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) {