fix:87274,87285

This commit is contained in:
梁琦涛
2024-07-18 18:08:16 +08:00
parent d17012f1fb
commit 362028d959
@@ -125,7 +125,7 @@ public class LawsMarketStandardServiceImpl extends ServiceImpl<LawsMarketStandar
String[] str = marketStandard.getCountry().split(",");
queryWrapper.and(i->{
for (int i1 = 0; i1 < str.length; i1++) {
i.like("ms.country", str[i1]);
i.gt("find_in_set('" + str[i1] + "', ms.country)", 0);
if(i1 != str.length - 1){
i.or();
}
@@ -139,7 +139,7 @@ public class LawsMarketStandardServiceImpl extends ServiceImpl<LawsMarketStandar
String[] str = marketStandard.getDrivePosition().split(",");
queryWrapper.and(i->{
for (int i1 = 0; i1 < str.length; i1++) {
i.like("ms.drive_position", str[i1]);
i.gt("find_in_set('" + str[i1] + "', ms.drive_position)", 0);
if(i1 != str.length - 1){
i.or();
}