提交 4ac14777 authored 作者: chengye's avatar chengye

缴费单增加批量查询

上级 cb4d46a5
...@@ -44,7 +44,13 @@ class Payment extends Base ...@@ -44,7 +44,13 @@ class Payment extends Base
switch ($search_type) { switch ($search_type) {
case '1': case '1':
$this->assign('search_text',$search_text); $this->assign('search_text',$search_text);
$map[]=['pay.payment_id','like',"%$search_text%"];
if(strstr($search_text,',')){
$searchArr = explode(',',$search_text);
$map[]=['pay.payment_id','in',$searchArr];
} else {
$map[]=['pay.payment_id','like',"%$search_text%"];
}
$this->assign('search_type',$search_type); $this->assign('search_type',$search_type);
break; break;
case '2': case '2':
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论