Mybatis模糊查询Mysql数据库 "\"失效处理
将\\\\处理为\\\\\\\\
// 适应mysql liek查询 “\” 反斜杠
String itemName = cascadeQuery.getItemName();
if (itemName.contains("\\")) {
itemName = itemName.replaceAll("\\\\", "\\\\\\\\");
}
itemNameList = baseMapper.cascadeSearchName(itemName, idList);
To the world you may be one person, but to one person you may be the world