模糊多字段查询,需要判断每一个字段是否为空,如果没有判断,假如有一个为 null,查询出数据将为null 实列:and concat( IFNULL(sku.item_no,''), IFNULL(spu.name,''))LIKE concat('%',#{name},'%')