提交 2ba3c2e4 authored 作者: fengzy's avatar fengzy

OA数据同步生产环境测试

上级 3f4b1d38
......@@ -221,7 +221,7 @@ class flow_finfybxClassModel extends flowModel
$optionid = m('option')->getone("num = 'finfybx_manager' ",'id');
$optionid=$optionid['id'];
$option = m('option')->getall("pid = '$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'];
......@@ -230,7 +230,7 @@ class flow_finfybxClassModel extends flowModel
}
if(empty($checkid)){
$option = m('option')->getall("pid = '$optionid' and num =2 order by sort desc','num,name,value,sort,`explain`");
$option = m('option')->getall("pid = '$optionid' and num =2 order by sort desc",'num,name,value,sort,`explain`');
foreach ($option as $key => $value) {
if(in_array($value['value'], $allcheckid)){
$checkid= $value['value'];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论