提交 9a8180cf authored 作者: fengzy's avatar fengzy

OA数据同步生产环境测试

上级 1f09a62f
...@@ -101,7 +101,7 @@ class openoafkClassAction extends openapiAction ...@@ -101,7 +101,7 @@ class openoafkClassAction extends openapiAction
m('flow_bill')->update($zfarr,'mid='.$datalist['id'].''); m('flow_bill')->update($zfarr,'mid='.$datalist['id'].'');
$addarr = array( $addarr = array(
'table' => 'c_emfk', 'table' => 'c_fininfom_oafk',
'mid' => $datalist['id'], 'mid' => $datalist['id'],
'status' => 1, 'status' => 1,
'statusname' => '同意', 'statusname' => '同意',
...@@ -120,7 +120,6 @@ class openoafkClassAction extends openapiAction ...@@ -120,7 +120,6 @@ class openoafkClassAction extends openapiAction
'qmimg' =>NULL, 'qmimg' =>NULL,
'iszb' =>0 'iszb' =>0
); );
$this->sendMess(1,3);
m('flow_log')->insert($addarr); m('flow_log')->insert($addarr);
$docnum= $datalist['docnum']; $docnum= $datalist['docnum'];
} }
...@@ -149,7 +148,7 @@ class openoafkClassAction extends openapiAction ...@@ -149,7 +148,7 @@ class openoafkClassAction extends openapiAction
} }
var_dump($datalist);
if($datalist['amountOfThisPayment']==$new_array['FPAYTOTALAMOUNTFOR']){ if($datalist['amountOfThisPayment']==$new_array['FPAYTOTALAMOUNTFOR']){
m('c_fininfom_oafk')->update('`status`=1',$datalist['id']); m('c_fininfom_oafk')->update('`status`=1',$datalist['id']);
$zfarr = array( $zfarr = array(
...@@ -162,7 +161,7 @@ class openoafkClassAction extends openapiAction ...@@ -162,7 +161,7 @@ class openoafkClassAction extends openapiAction
m('flow_bill')->update($zfarr,'mid='.$datalist['id'].''); m('flow_bill')->update($zfarr,'mid='.$datalist['id'].'');
$addarr = array( $addarr = array(
'table' => 'c_emfk', 'table' => 'c_fininfom_oafk',
'mid' => $datalist['id'], 'mid' => $datalist['id'],
'status' => 1, 'status' => 1,
'statusname' => '同意', 'statusname' => '同意',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论