修改了重置申请表的功能,添加了修改状态代码的部分
This commit is contained in:
parent
74a5e3f5fc
commit
eb98d79dfc
|
@ -100,7 +100,7 @@ class Offlineapp
|
||||||
@unlink($row['applicationform']);
|
@unlink($row['applicationform']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->db->exec("UPDATE offlineapp SET applicationform=NULL WHERE id=$id")>0)
|
if($this->db->exec("UPDATE offlineapp SET applicationform=NULL,status=2 WHERE id=$id")>0 && $this->db->exec("UPDATE dataorder SET status=2 WHERE offlineappid=$id"))
|
||||||
{
|
{
|
||||||
@$this->events()->trigger('offlineapp.AppFormReseted', $this, compact('id'));
|
@$this->events()->trigger('offlineapp.AppFormReseted', $this, compact('id'));
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue