#552 修改状态读取字段
This commit is contained in:
parent
5d2010ba1d
commit
99088092ac
|
@ -570,7 +570,7 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
|
||||
$sql="update dataorder set status=5,ts_approved=now() where offlineappid=?";
|
||||
$this->db->query($sql,array($finish));
|
||||
$sql="update offlineapp set ts_approved=now() where id=? and ts_approved is null";
|
||||
$sql="update offlineapp set ts_approved=now(),status=5 where id=? and ts_approved is null";
|
||||
$this->db->query($sql,array($finish));
|
||||
$sql="select * from offlineapp where id=?";
|
||||
$row=$this->db->fetchRow($sql,array($finish));
|
||||
|
|
|
@ -24,9 +24,9 @@ class Dataorder
|
|||
if ($statu==4)
|
||||
$wheresql[] = " (o.ts_approved is null and o.pdflink is not null and d.status=4) ";
|
||||
elseif ($statu==-1)
|
||||
$wheresql[] = " (o.pdflink is not null and o.status=-1)";
|
||||
$wheresql[] = " (o.pdflink is not null and d.status=-1)";
|
||||
elseif ($statu == 3)
|
||||
$wheresql[] = " (o.pdflink is not null and o.status=3 ) ";
|
||||
$wheresql[] = " (o.pdflink is not null and d.status=3 ) ";
|
||||
elseif ($statu == 5)
|
||||
$wheresql[] = " (o.status=5) ";
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue