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

OA数据同步生产环境测试

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