离线申请支持汇交数据
This commit is contained in:
parent
b90a8cd203
commit
afbef354c1
|
@ -312,7 +312,7 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
$this->db->query($sql,array($finish));
|
||||
$sql="select * from offlineapp where id=?";
|
||||
$row=$this->db->fetchRow($sql,array($finish));
|
||||
$sql="select * from dataorder left join dataset on dataset.uuid=dataorder.uuid where dataorder.offlineappid=?";
|
||||
$sql="select dataset.* from dataorder left join dataset on dataset.uuid=dataorder.uuid where dataorder.offlineappid=?";
|
||||
$rs=$this->db->fetchAll($sql,array($finish));
|
||||
$has_ftp1=false;
|
||||
$path=array();
|
||||
|
@ -320,7 +320,10 @@ class Admin_DownController extends Zend_Controller_Action
|
|||
if ($data['host']=='deep.qherc.org')
|
||||
{
|
||||
$has_ftp1=true;
|
||||
$path[]=$data['path'];
|
||||
if (empty($data['path']) || $data['path']=='/')
|
||||
$path[]='/upload/'.$data['uuid'].'/';
|
||||
else
|
||||
$path[]=$data['path'];
|
||||
}
|
||||
}
|
||||
//deal with ftp account
|
||||
|
|
Loading…
Reference in New Issue