使已经收到的离线申请也可以进行重置操作

This commit is contained in:
Li Jianxuan 2012-05-30 01:49:17 +00:00
parent cc6d854aa3
commit f27a31c567
1 changed files with 25 additions and 25 deletions

View File

@ -445,7 +445,7 @@ class Admin_DownController extends Zend_Controller_Action
}
else if($reset > 0)
{
$sql="update dataorder set status='1' where status='3' and offlineappid='$reset'";
$sql="update dataorder set status='1' where (status='3' or status='4') and offlineappid='$reset'";
if($this->db->exec($sql)>0)
{
$this->messenger->addMessage('已经成功对该申请重置');