提交 832eeff7 authored 作者: fengzy's avatar fengzy

OA数据同步生产环境测试

上级 eaab8c54
......@@ -177,7 +177,7 @@ class flow_finfybxClassModel extends flowModel
foreach ($value as $key => $val) {
switch ($key) {
case 'bxType':
$arr['FPAYAPPLYENTRY'][$k]['FCOSTID']['FNUMBER']=self::getbxlx($val);
break;
......@@ -257,6 +257,9 @@ class flow_finfybxClassModel extends flowModel
"FCONTACTUNIT": {
"FNumber": "GONN-0002"
},
"FDEPARTMENT": {
"FNumber": "CQ.BM.02"
},
"FRECTUNITTYPE": "BD_Empinfo",
"FRECTUNIT": {
"FNumber": "GONN-0002"
......@@ -271,7 +274,7 @@ class flow_finfybxClassModel extends flowModel
"FNumber": "1000"
},
"FDEPARTMENT": {
"FNumber": ""
"FNumber": "GS.BM.08"
},
"F_PAEZ_OADJBH": "123321",
"FDOCUMENTSTATUS": "Z",
......@@ -287,7 +290,7 @@ class flow_finfybxClassModel extends flowModel
"FNUMBER": "PRE001"
},
"FISCARRYRATE": false,
"F_PAEZ_Cbzx": {
"F_PAEZ_CBZX1": {
"FNUMBER": " GS.BJ.B1"
}
......@@ -295,7 +298,7 @@ class flow_finfybxClassModel extends flowModel
}';
$model=json_decode($data_model,true);
$model['Model']['F_PAEZ_Cbzx']['FNUMBER']=$cbxmid;
$model['Model']['F_PAEZ_CBZX1']['FNUMBER']=$cbxmid;
$model['Model']['FDATE']=$applydt;
$model['Model']['FCONTACTUNIT']['FNumber']=$gonncode;
$model['Model']['F_PAEZ_OADJBH']=$this->rs['docnum'];;
......@@ -307,7 +310,7 @@ class flow_finfybxClassModel extends flowModel
'CN_PAYAPPLY',//业务对象标识FormId
$data_model//具体Json字串
);
var_dump($data_model);
$post_content = self::create_postdata($data);
$result = self::invoke_add($cloudUrl,$post_content,$cookie_jar);
$array = json_decode($result,true);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论