解决无法同时处理一个用户多个申请的BUG。(ticket #90)
This commit is contained in:
parent
e19702215b
commit
d9bfbe9273
|
@ -101,7 +101,7 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
$this->_redirect('/admin/data/offlineapp');
|
||||
} elseif ($finish) {
|
||||
try {
|
||||
$sql="update dataorder set status=5,ts_approved=now() where (status=3 or status=4) and userid=?";
|
||||
$sql="update dataorder set status=5,ts_approved=now() where status=4 and userid=?";
|
||||
$this->db->query($sql,array($finish));
|
||||
$sql="update offlineapp set ts_approved=now() where userid=? and ts_approved is null";
|
||||
$this->db->query($sql,array($finish));
|
||||
|
|
Loading…
Reference in New Issue