diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-03-06 03:41:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@open-o.org> | 2017-03-06 03:41:45 +0000 |
commit | d9a68537d20a7eea912a41ea229c3ed569f73474 (patch) | |
tree | a4d6c678c04fb3c664c5a76a7f4628e3f083b348 | |
parent | a053ac654db46a26fa86c477aa04e1fdaa8ccb09 (diff) | |
parent | 68219871341ccca3496e620938842bd0a80ef61e (diff) |
Merge "Modify sql and restructure"
-rw-r--r-- | engine-d/src/main/java/org/openo/holmes/engine/db/CorrelationRuleDao.java | 2 |
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) { |