提交 1e584ddf 编写于 作者: D daming 提交者: wu-sheng

fix missed condition in H2LogQueryDAO (#2947)

* fix missed condition

* fix missed condition

* fix missed condition
上级 11f9d645
......@@ -81,7 +81,7 @@ public class H2LogQueryDAO implements ILogQueryDAO {
if (LogState.ERROR.equals(state)) {
sql.append(" and ").append(AbstractLogRecord.IS_ERROR).append(" = ?");
parameters.add(BooleanUtils.booleanToValue(true));
} else if (LogState.ERROR.equals(state)) {
} else if (LogState.SUCCESS.equals(state)) {
sql.append(" and ").append(AbstractLogRecord.IS_ERROR).append(" = ?");
parameters.add(BooleanUtils.booleanToValue(false));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册