提交 405c1280 authored 作者: fengzy's avatar fengzy

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

上级 6c3bec99
...@@ -21,14 +21,13 @@ class flow_finfybxClassModel extends flowModel ...@@ -21,14 +21,13 @@ 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('123123213,123123123',',') !== false){
echo '包含jb51'; $jk_num=explode(",",$dikouid);
}else{ }else{
echo '不包含jb51'; $jk_num=substr($dikouid,0,strrpos($dikouid,'金'));
} }
die; var_dump($jk_num);die;
// $jk_num=substr($dikouid,0,strrpos($dikouid,'金'));
// $jk_num=explode(",",$dikouid);
$sql = " docnum ='$jk_num' "; $sql = " docnum ='$jk_num' ";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论