Changeset 2339
- Timestamp:
- 02/07/20 07:27:15 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm
r2328 r2339 1496 1496 my $sth = $self->base->db->prepare_cached( 1497 1497 q{ 1498 select name from employment where (lastday > ?::timestampor lastday IS NULL) and "user" = ?1498 select name from employment where (lastday >= ?::timestamp - '1 days'::interval or lastday IS NULL) and "user" = ? 1499 1499 order by firstday asc 1500 1500 limit 1 … … 1523 1523 q{ 1524 1524 select name from employment where 1525 (lastday is not null and lastday < =?::timestamp - '1 days'::interval) and "user" = ?1525 (lastday is not null and lastday < ?::timestamp - '1 days'::interval) and "user" = ? 1526 1526 order by firstday desc 1527 1527 limit 1
Note: See TracChangeset
for help on using the changeset viewer.