修复59分后通过后无法自动链接的问题

This commit is contained in:
wlx 2011-12-21 07:31:54 +00:00
parent 0e32d06423
commit 80feb1c2d3
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ $registry->set('config', $config);
$db = Zend_Db::factory($config->db);
$date=$_REQUEST["date"];
if (empty($date)) $date="2010-11-01";
$sql="select dataorder.userid,dataset.path from dataorder left join dataset on dataorder.uuid=dataset.uuid where dataorder.status=5 and dataorder.offlineappid>0 and dataset.path<>'' and dataorder.ts_approved>='".$date."'";
$sql="select dataorder.userid,dataset.path from dataorder left join dataset on dataorder.uuid=dataset.uuid where dataorder.status=5 and dataorder.offlineappid>0 and dataset.path<>'' and (dataorder.ts_approved+interval '1 minute')>='".$date."'";
$rs=$db->fetchAll($sql);
print '# date: '.$date."\n";
foreach($rs as $r)