From fb66e6c15b8b07fb9d03b0fb2eef9ae340cf28c6 Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 23 Jun 2014 02:50:32 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpdf=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/module/Order/Order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/module/Order/Order.php b/application/module/Order/Order.php index cf9ba966..a4a740f7 100644 --- a/application/module/Order/Order.php +++ b/application/module/Order/Order.php @@ -312,7 +312,7 @@ class Order public function pdfPrint($formData,$userid = 0,$save = false,$returnpdf = false) { $sql="SELECT m.title||'('||m.filesize::text||'MB)' as title FROM dataorder d - RIGHT JOIN heihemetadata m ON d.uuid=m.uuid + RIGHT JOIN normalmetadata m ON d.uuid=m.uuid WHERE d.status=2 AND d.userid=?"; $list = $this->db->fetchAll($sql,array($userid)); @@ -322,7 +322,7 @@ class Order } $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=?"; + 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=?"; $list = $this->db->fetchAll($sql,array($userid)); foreach($list as $i=>$row){