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

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

上级 0849babe
...@@ -22,13 +22,13 @@ class flow_finfybxClassModel extends flowModel ...@@ -22,13 +22,13 @@ class flow_finfybxClassModel extends flowModel
$dikouid = $this->rs['dikouid']; $dikouid = $this->rs['dikouid'];
var_dump($dikouid);die; var_dump($dikouid);die;
if(strpos($dikouid,",") === false){ // if(strpos($dikouid,",") === false){
echo 1; // echo 1;
// $jk_num=substr($dikouid,0,strrpos($dikouid,'金')); //// $jk_num=substr($dikouid,0,strrpos($dikouid,'金'));
}else{ // }else{
echo 2; // echo 2;
// $jk_num=explode(",",$dikouid); //// $jk_num=explode(",",$dikouid);
} // }
$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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论