tp5.1 多条件搜索时搜索null和不为null

搜索null时

$map = [];
$map[] = ['a.admin_id|a.department','null',''];

 

搜索不为null 时

$map = [];
 $map[] = ['a.admin_id|a.department','not null',''];

  

posted @ 2023-11-03 17:16  大尹  阅读(137)  评论(0编辑  收藏  举报