fix heihe data problem
This commit is contained in:
parent
ccdb4f2fbc
commit
aa073dab8f
|
@ -1612,10 +1612,10 @@ class DataController extends Zend_Controller_Action
|
||||||
$this->_helper->layout->disableLayout();
|
$this->_helper->layout->disableLayout();
|
||||||
$this->_helper->viewRenderer->setNoRender();
|
$this->_helper->viewRenderer->setNoRender();
|
||||||
//生成PDF
|
//生成PDF
|
||||||
$sql="select m.title||'('||m.filesize::text||'MB)' as title from dataorder d right join normalmetadata m on d.uuid=m.uuid where d.status=2 and d.userid=?";
|
$sql="select m.title||'('||m.filesize::text||'MB)' as title from dataorder d right join heihemetadata m on d.uuid=m.uuid where d.status=2 and d.userid=?";
|
||||||
$list=$this->db->fetchAll($sql,array($userid));
|
$list=$this->db->fetchAll($sql,array($userid));
|
||||||
foreach($list as $i=>$row) @$formData['heihelist'].=($i+1).". ".$row['title'].";";
|
foreach($list as $i=>$row) @$formData['heihelist'].=($i+1).". ".$row['title'].";";
|
||||||
$sql="select m.title||'('||m.filesize::text||'MB)' as title from dataorder d right join normalmetadata m on d.uuid=m.uuid where d.uuid not in (select uuid from normalmetadata) and d.status=2 and d.userid=?";
|
$sql="select m.title||'('||m.filesize::text||'MB)' as title from dataorder d right join normalmetadata m on d.uuid=m.uuid where d.uuid not in (select uuid from heihemetadata) and d.status=2 and d.userid=?";
|
||||||
$list=$this->db->fetchAll($sql,array($userid));
|
$list=$this->db->fetchAll($sql,array($userid));
|
||||||
foreach($list as $i=>$row) @$formData['westdclist'].=($i+1).". ".$row['title'].";";
|
foreach($list as $i=>$row) @$formData['westdclist'].=($i+1).". ".$row['title'].";";
|
||||||
$pdf = new ApplicantPDF();
|
$pdf = new ApplicantPDF();
|
||||||
|
|
Loading…
Reference in New Issue