* remove derby and fyracle from trunk
This commit is contained in:
parent
f4339789de
commit
d86f009afd
|
@ -528,10 +528,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
if (where.length() > 0)
|
if (where.length() > 0)
|
||||||
where.append(" AND ");
|
where.append(" AND ");
|
||||||
where.append("Created >= ");
|
where.append("Created >= ");
|
||||||
if (DB.isDerby())
|
where.append("SysDate-").append(m_vo.onlyCurrentDays);
|
||||||
where.append("dateadd(dd,-").append(m_vo.onlyCurrentDays).append(",getdate())");
|
|
||||||
else
|
|
||||||
where.append("SysDate-").append(m_vo.onlyCurrentDays);
|
|
||||||
}
|
}
|
||||||
// Detail Query
|
// Detail Query
|
||||||
if (isDetail())
|
if (isDetail())
|
||||||
|
|
|
@ -280,10 +280,7 @@ public class GridTable extends AbstractTableModel
|
||||||
where.append(" AND ");
|
where.append(" AND ");
|
||||||
// Show only unprocessed or the one updated within x days
|
// Show only unprocessed or the one updated within x days
|
||||||
where.append("(Processed='N' OR Updated>");
|
where.append("(Processed='N' OR Updated>");
|
||||||
if (DB.isDerby())
|
where.append("SysDate-1");
|
||||||
where.append("dateadd(dd,-1,getdate())");
|
|
||||||
else
|
|
||||||
where.append("SysDate-1");
|
|
||||||
where.append(")");
|
where.append(")");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue