修改标题检索bug

This commit is contained in:
梁琦涛
2024-04-15 13:56:57 +08:00
parent 2900e20936
commit be1a311c09
@@ -486,7 +486,7 @@ public class LawsHomeSearchServiceImpl implements ILawsHomeSearchService {
}
}
queryWrapper.and(s->s.apply("standard_name REGEXP '" + regexp + "'"));
queryWrapper.and(s->s.apply("CONCAT_WS(' ',standard_number,standard_name) REGEXP '" + regexp + "'"));
queryWrapper.eq("del_flag",0);
String str = "',','))";
queryWrapper.gt(!StringUtils.isEmpty(lawsHomeNormalSearchDTO.getStandardClass()),"instr(concat(',',standard_class,','),concat(',','" + lawsHomeNormalSearchDTO.getStandardClass() + str,0);