提交 6b4b0116 authored 作者: fengzy's avatar fengzy

'commonmMOdel新增借款单查询方法'

上级 e85f5d60
...@@ -7,7 +7,7 @@ class flow_fund_transferClassModel extends flowModel ...@@ -7,7 +7,7 @@ class flow_fund_transferClassModel extends flowModel
public function flowrsreplace($rs) public function flowrsreplace($rs)
{ {
$uid=$this->adminid; $uid=$this->adminid;
$sql='account in ( select a.name from oa_c_fund_account as a where uid like concat($uid,",%") or uid like concat("%,",$uid) or uid like concat("%,",$uid,",%") )'; $sql='account in ( select a.name from oa_c_fund_account as a where uid like concat({$uid},",%") or uid like concat("%,",{$uid}) or uid like concat("%,",{$uid},",%") )';
$fund_detail = m('c_fund_detail')->getall($sql,'account'); $fund_detail = m('c_fund_detail')->getall($sql,'account');
var_dump($sql);die; var_dump($sql);die;
// if($rs['account']=='广厦网络资金账户'){ // if($rs['account']=='广厦网络资金账户'){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论