提交 ee4b17e5 authored 作者: fengzy's avatar fengzy

OA数据同步生产环境测试

上级 bb2b3228
...@@ -208,6 +208,7 @@ class flow_finfybxClassModel extends flowModel ...@@ -208,6 +208,7 @@ class flow_finfybxClassModel extends flowModel
return $array; return $array;
} }
//二级 或一级审批同意之后进行预扣款 //二级 或一级审批同意之后进行预扣款
protected function flowcheckbefore($zt, $sm){ protected function flowcheckbefore($zt, $sm){
$id=$this->rs['id']; $id=$this->rs['id'];
...@@ -216,6 +217,7 @@ class flow_finfybxClassModel extends flowModel ...@@ -216,6 +217,7 @@ class flow_finfybxClassModel extends flowModel
$allcheckid=explode(',',$flow_bill['allcheckid']); $allcheckid=explode(',',$flow_bill['allcheckid']);
$optionid = m('option')->getone("num = 'finfybx_manager' ",'id'); $optionid = m('option')->getone("num = 'finfybx_manager' ",'id');
$optionid=$optionid['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');
...@@ -547,7 +549,23 @@ class flow_finfybxClassModel extends flowModel ...@@ -547,7 +549,23 @@ class flow_finfybxClassModel extends flowModel
} }
private function erplog($sericnum,$table,$name,$remark,$optdt,$level,$fbillno,$fbillnoid,$fbillno_type){
$erp_log=array(
'sericnum'=> $sericnum,
'table'=>$table,
'name' => $name,
'remark' => $remark,
'optdt' =>$optdt,
'level'=>$level,
'fbillno'=>$fbillno,
'fbillnoid'=>$fbillnoid,
'fbillno_type'=>$fbillno_type,
);
m('erplog')->insert($erp_log);
}
//流程全部完成后调用 //流程全部完成后调用
protected function flowcheckfinsh($zt){ protected function flowcheckfinsh($zt){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论