提交 9efdc9a2 authored 作者: chengye's avatar chengye

修复账单模糊查询

上级 a294982f
...@@ -46,7 +46,7 @@ class Invoice extends Base ...@@ -46,7 +46,7 @@ class Invoice extends Base
case '2': case '2':
$this->assign('search_text',$search_text); $this->assign('search_text',$search_text);
$searchArr = explode(',',$search_text); $searchArr = explode(',',$search_text);
$map[] = ['station.station_name','like',$searchArr,'or']; $map[] = ['station.station_name','like','%'.$searchArr.'%','or'];
$this->assign('search_type',$search_type); $this->assign('search_type',$search_type);
break; break;
case '3': case '3':
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论