🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
判断字段null ~~~ $map['id'] = array('exp',' is NULL'); SELECT * FROM `gws_peoples` WHERE (`resident_no` IS NOT NULL) AND (`paper_no` IS NOT NULL); ~~~ ~~~ SELECT * FROM `gws_peoples` WHERE (`resident_no` IS NOT NULL) AND (`paper_no` IS NOT NULL) AND (TRIM(`resident_no`)<>'') AND (TRIM(`paper_no`)<>''); ~~~