1,写在xml中
a。select * from tbl_company_recruit like '%${city}%'
2.写在java中
// or String searchText = "%" + text + "%";
String searchText = new StringBuilder("%").append(text).append("%").toString();
parameterMap.put("text", searchText);
3.大小写查询
1,写在xml中
a。select * from tbl_company_recruit like '%${city}%'
2.写在java中
// or String searchText = "%" + text + "%";
String searchText = new StringBuilder("%").append(text).append("%").toString();
parameterMap.put("text", searchText);
3.大小写查询