提交 3b731e75 authored 作者: fengzy's avatar fengzy

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

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