提交 1ce48f93 authored 作者: fengzy's avatar fengzy

'费用报销借款抵扣冲销'

上级 b8a37c94
...@@ -20,7 +20,7 @@ class flow_finfybxClassModel extends flowModel ...@@ -20,7 +20,7 @@ class flow_finfybxClassModel extends flowModel
if($this->rs['money'] ==0 ){ if($this->rs['money'] ==0 ){
break; break;
} }
var_dump(6666666); var_dump(66666668);
$jk_num=substr($value,0,strrpos($value,'金')); $jk_num=substr($value,0,strrpos($value,'金'));
$jksql=" jk_num ='$jk_num' and status =0 "; $jksql=" jk_num ='$jk_num' and status =0 ";
$deduct_detail = m('c_deduct_detail')->getone($jksql,'jk_num');//金额 $deduct_detail = m('c_deduct_detail')->getone($jksql,'jk_num');//金额
...@@ -60,7 +60,7 @@ die; ...@@ -60,7 +60,7 @@ die;
} }
}else{ }else{
var_dump(6666666); var_dump(66666667);
$jk_num=substr($dikouid,0,strrpos($dikouid,'金')); $jk_num=substr($dikouid,0,strrpos($dikouid,'金'));
$jksql=" jk_num ='$jk_num' and status =0 "; $jksql=" jk_num ='$jk_num' and status =0 ";
$deduct_detail = m('c_deduct_detail')->getone($jksql,'jk_num');//金额 $deduct_detail = m('c_deduct_detail')->getone($jksql,'jk_num');//金额
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论