修复59分后通过后无法自动链接的问题
This commit is contained in:
parent
0e32d06423
commit
80feb1c2d3
|
@ -22,7 +22,7 @@ $registry->set('config', $config);
|
||||||
$db = Zend_Db::factory($config->db);
|
$db = Zend_Db::factory($config->db);
|
||||||
$date=$_REQUEST["date"];
|
$date=$_REQUEST["date"];
|
||||||
if (empty($date)) $date="2010-11-01";
|
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);
|
$rs=$db->fetchAll($sql);
|
||||||
print '# date: '.$date."\n";
|
print '# date: '.$date."\n";
|
||||||
foreach($rs as $r)
|
foreach($rs as $r)
|
||||||
|
|
Loading…
Reference in New Issue