From 68219871341ccca3496e620938842bd0a80ef61e Mon Sep 17 00:00:00 2001 From: FengLiang Date: Mon, 6 Mar 2017 10:03:44 +0800 Subject: Modify sql and restructure Change-Id: Iee6e133336e4b4c9c92c6a3065f7dfbc02c4f7eb Issue-ID:HOLMES-47 Signed-off-by: FengLiang --- .../src/main/java/org/openo/holmes/engine/db/CorrelationRuleDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine-d/src/main/java/org/openo') 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 queryRuleByEnable(@Bind("enable") int enable); public List queryRuleByRuleEnable(int enable) { -- cgit 1.2.3-korg