提交 394a9c84 authored 作者: fengzy's avatar fengzy

oa付款单

上级 92ff82f7
......@@ -222,11 +222,9 @@ class flow_finfybxClassModel extends flowModel
$whereid='select c.id,f.mid from [Q]fininfom as c left join [Q]flow_bill as f on c.id=f.mid where f.nowcheckid =989 and c.id='.$checkid;
$datacheckid = $this->db->getall($whereid);
var_dump($datacheckid);die;
if($datacheckid){
$data=$this->db->getone('oa_personfile',"name='".$this->rs['applicant']."'");
$gonncode=$data['gonncode'];
// $data['pfbanknum'];//对方银行卡号
......@@ -373,7 +371,7 @@ class flow_finfybxClassModel extends flowModel
$post_content = self::create_postdata($data);
$result = self::invoke_add($cloudUrl,$post_content,$cookie_jar);
$array = json_decode($result,true);
var_dump($array);
if($array['Result']['ResponseStatus']['IsSuccess']){
$num=$array['Result']['Number'];
$this->update("`fbillno`='$num'", $this->rs['id']);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论