From 8817a2eb8576126ee51a4ecd1b8f93ad837c00ea Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 17 Mar 2015 05:20:23 +0000 Subject: [PATCH] add NotSubmitted function --- application/module/Order/Manager/Offlineapp.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/application/module/Order/Manager/Offlineapp.php b/application/module/Order/Manager/Offlineapp.php index 15a15168..661f15d4 100644 --- a/application/module/Order/Manager/Offlineapp.php +++ b/application/module/Order/Manager/Offlineapp.php @@ -138,6 +138,16 @@ class Offlineapp //echo $dbh->select($opt,true);exit(); return $dbh->select($opt); }//未接受的 + + public function fetchNotSubmitted() + { + $opt = $this->offLineAppMakeQuery(array( + 'where' => ' o.offlineappid != -1 AND o.status=2 and off.pdflink is not null' + )); + $dbh = new dbh(); + //echo $dbh->select($opt,true);exit(); + return $dbh->select($opt); + }//未提交pdf的数据申请,用于替用户重置后重新上传pdf public function fetchNoPdf() {