add NotSubmitted function

This commit is contained in:
wlx 2015-03-17 05:20:23 +00:00
parent e402271180
commit 8817a2eb85
1 changed files with 10 additions and 0 deletions

View File

@ -139,6 +139,16 @@ class Offlineapp
return $dbh->select($opt); 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() public function fetchNoPdf()
{ {
$opt = $this->offLineAppMakeQuery(array( $opt = $this->offLineAppMakeQuery(array(