Oracle 用Drapper进行like模糊传参查询需要在参数值前后带%符合 string sqlstr=”select * from tblname where name like :name”;var paramvalue = string.Format("%{0}%", keyword);object param = new { name= paramvalue };var datas = conn.Query<TAXI_INFO>(sqlstr, param);