提交 c3e708bd authored 作者: chengye's avatar chengye

调整emfkmodel

上级 bb072b52
......@@ -72,14 +72,13 @@ class flow_emfkClassModel extends flowModel
$optionid = m('option')->getone("num = 'em_manager' ",'id');
$optionid=$optionid['id'];
$option = m('option')->getall("num = '$optionid' and num =1 order by sort desc",'num,name,value,sort');
$option = m('option')->getall("pid = '$optionid' and num =1 order by sort desc",'num,name,value,sort');
foreach ($option as $key => $value) {
if(in_array($value['value'], $allcheckid)){
$checkid= $value['value'];
break;
}
}
var_dump($checkid);
if(empty($checkid)){
$option = m('option')->getall("pid ='$optionid' and num =2 order by sort desc",'num,name,value,sort,`explain`');
......@@ -90,7 +89,6 @@ class flow_emfkClassModel extends flowModel
}
}
}
var_dump($checkid);die;
//zt 1代表同意
if($zt==1){
$flowid=$this->getflow();
......@@ -230,5 +228,8 @@ class flow_emfkClassModel extends flowModel
);
m('c_fund_detail')->insert($fund_detail);
}
}
}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论