|
@@ -20,7 +20,10 @@ public class SceneProvider {
|
|
|
|
|
|
String searchKey = param.getSearchKey();
|
|
String searchKey = param.getSearchKey();
|
|
if(!StringUtils.isAllBlank(searchKey)){
|
|
if(!StringUtils.isAllBlank(searchKey)){
|
|
- sql.append(" and ( scene_title like '%").append(searchKey).append("%' )");
|
|
|
|
|
|
+ sql.append(" and (");
|
|
|
|
+ sql.append(" scene_title like '%").append(searchKey).append("%'");
|
|
|
|
+ sql.append(" or room_name like '%").append(searchKey).append("%'");
|
|
|
|
+ sql.append( ")");
|
|
}
|
|
}
|
|
|
|
|
|
String type = param.getType();
|
|
String type = param.getType();
|