提交 6c3bec99 authored 作者: fengzy's avatar fengzy

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

上级 2f1a69ab
...@@ -20,14 +20,16 @@ class flow_finfybxClassModel extends flowModel ...@@ -20,14 +20,16 @@ class flow_finfybxClassModel extends flowModel
if($this->rs['dikouid']){ if($this->rs['dikouid']){
$dikouid = $this->rs['dikouid']; $dikouid = $this->rs['dikouid'];
if(strpos('123123213,123123123',',') !== false){
if(strpos("OA-JK-20200102003金额:(8000),OA-JK-20200119001金额:(5000)",",") === false){ echo '包含jb51';
echo 1;
// $jk_num=substr($dikouid,0,strrpos($dikouid,'金'));
}else{ }else{
echo 2; echo '不包含jb51';
// $jk_num=explode(",",$dikouid);
} }
die;
// $jk_num=substr($dikouid,0,strrpos($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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论