IDEMPIERE-4336 (#120)
#resolve Correct operator in SQL-Query for "Over End Wait" alerts
This commit is contained in:
parent
f19ac52dd5
commit
5662ab6080
|
@ -244,7 +244,7 @@ public class WorkflowProcessor extends AdempiereServer
|
||||||
String sql = "SELECT * "
|
String sql = "SELECT * "
|
||||||
+ "FROM AD_WF_Activity a "
|
+ "FROM AD_WF_Activity a "
|
||||||
+ "WHERE Processed='N' AND WFState='OS'" // suspended
|
+ "WHERE Processed='N' AND WFState='OS'" // suspended
|
||||||
+ " AND EndWaitTime > getDate()"
|
+ " AND EndWaitTime < getDate()"
|
||||||
+ " AND (DateLastAlert IS NULL";
|
+ " AND (DateLastAlert IS NULL";
|
||||||
if (m_model.getRemindDays() > 0)
|
if (m_model.getRemindDays() > 0)
|
||||||
sql += " OR (DateLastAlert+" + m_model.getRemindDays()
|
sql += " OR (DateLastAlert+" + m_model.getRemindDays()
|
||||||
|
|
Loading…
Reference in New Issue