提交 606af954 authored 作者: fengzy's avatar fengzy

oa付款单

上级 88b05c71
......@@ -61,7 +61,7 @@ class mode_fund_transferClassAction extends inputAction{
$numb = $this->get('account');
$model = 'c_fund_account';
$sql = " id =$numb";
$cdata = m($model)->getone($sql,'id,name,level');
$cdata = m($model)->getone($sql,'id,name,pid,level');
if($cdata['level']==1){
$level=$cdata['level'];
$levelto=$cdata['level']+1;
......@@ -70,8 +70,8 @@ class mode_fund_transferClassAction extends inputAction{
$sqla = " id !=$numb and pid=$numb and level =1 or level =2 ";
}else{
$sqla = " id !=$numb and pid= $cdata['pid']";
$sqla = " pid=$numb";
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论