提交 8d65e328 authored 作者: fengzy's avatar fengzy

oa付款单

上级 8dd33658
...@@ -18,8 +18,8 @@ class openfinfybxClassAction extends openapiAction ...@@ -18,8 +18,8 @@ class openfinfybxClassAction extends openapiAction
$sql = 'select id,fbillno,status from [Q]fininfom where status=0 and fbillno is NOT null'; $sql = 'select id,fbillno,status from [Q]fininfom where status=0 and fbillno is NOT null';
$dataarr = $this->db->getall($sql); $dataarr = $this->db->getall($sql);
echo "<pre>"; // echo "<pre>";
var_dump($dataarr);die; // var_dump($dataarr);die;
foreach ($dataarr as $key => $value) { foreach ($dataarr as $key => $value) {
...@@ -58,7 +58,7 @@ foreach ($dataarr as $key => $value) { ...@@ -58,7 +58,7 @@ foreach ($dataarr as $key => $value) {
$post_content = self::create_postdata($data); $post_content = self::create_postdata($data);
$result = self::invoke_save($cloudUrl,$post_content,$cookie_jar); $result = self::invoke_save($cloudUrl,$post_content,$cookie_jar);
$array = json_decode($result,true); $array = json_decode($result,true);
var_dump($array);die;
if(count($array)>1){ if(count($array)>1){
$key = ['FSRCBILLNO','FBillNo','FDOCUMENTSTATUS','FPAYTOTALAMOUNTFOR','FPOSTDATE' ]; $key = ['FSRCBILLNO','FBillNo','FDOCUMENTSTATUS','FPAYTOTALAMOUNTFOR','FPOSTDATE' ];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论