提交 e0013973 authored 作者: fengzy's avatar fengzy

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

上级 ac58643c
...@@ -23,6 +23,7 @@ class flow_finfybxClassModel extends flowModel ...@@ -23,6 +23,7 @@ class flow_finfybxClassModel extends flowModel
if(strpos($dikouid,',') !== false){ if(strpos($dikouid,',') !== false){
$jk_num=explode(",",$dikouid); $jk_num=explode(",",$dikouid);
foreach ($jk_num as $key => $value ){ foreach ($jk_num as $key => $value ){
var_dump($value);die;
$jk_num=substr($value,0,strrpos($value,'金')); $jk_num=substr($value,0,strrpos($value,'金'));
$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');//金额
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论