提交 35d45a59 authored 作者: fengzy's avatar fengzy

'测试费用报销与借款抵扣'

上级 39ab2925
...@@ -21,7 +21,10 @@ class flow_finfybxClassModel extends flowModel ...@@ -21,7 +21,10 @@ class flow_finfybxClassModel extends flowModel
if($this->rs['dikouid']){ if($this->rs['dikouid']){
$dikouid = $this->rs['dikouid']; $dikouid = $this->rs['dikouid'];
$jk_num=substr($dikouid,0,strrpos($dikouid,'金')); $jk_num=substr($dikouid,0,strrpos($dikouid,'金'));
var_dump(substr($dikouid,0,strrpos($dikouid,'(')));die;
$sql = " docnum ='$jk_num' ";
$fininfom_jk = m('c_fininfom_jk')->getone($sql,'amount');//金额
var_dump($fininfom_jk['amount']);die;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论