getstatusarr();
$zta = $ztarr[$ztstatus];
$rs['status'] = ''.$zta[0].'';
$ors = $this->remindmodel->getone($this->mwhere);
if($ors){
$rs['recename'] = $ors['recename'];
$rs['ratecont'] = $ors['ratecont'];
}
}
if($ztstatus==0 || isempt(arrvalue($rs,'ratecont')))$rs['ishui']=1;
if($lx==2){
unset($rs['suburl']);
unset($rs['suburlpost']);
if(!isempt($rs['dinguser']))$rs['optname'] = $rs['dinguser']; //订阅人
}
if(isset($rs['suburl'])){
$rs['suburl'] = '
'.$this->rock->jm->base64decode($rs['suburl']).'
';
}
if(isset($rs['suburlpost'])){
$rs['suburlpost'] = ''.$this->rock->jm->base64decode($rs['suburlpost']).'
';
}
return $rs;
}
protected function flowbillwhere($uid, $lx)
{
return array(
'order' => 'a.id desc',
'table' => '`[Q]'.$this->mtable.'` a left join `[Q]flow_remind` b on a.id=b.mid and b.`table`=\''.$this->mtable.'\'',
'fields' => 'a.*,b.recename,b.ratecont,b.optname as dinguser',
'asqom' => 'a.',
'orlikefields' => 'b.recename,b.ratecont,b.optname'
);
}
}