fix banner country matching
This commit is contained in:
parent
73bde889a4
commit
b2938a17bf
@ -37,7 +37,7 @@ public class BannerConfigServiceImpl extends
|
||||
wrapper.in(BannerConfig::getPlatform, "", platform)
|
||||
)
|
||||
.and(StringUtils.isNotBlank(countryCode), wrapper ->
|
||||
wrapper.in(BannerConfig::getCountryCode, "", countryCode)
|
||||
wrapper.apply("(country_code = '' OR FIND_IN_SET({0}, country_code))", countryCode)
|
||||
)
|
||||
.gt(BannerConfig::getExpiredTime, LocalDateTime.now())
|
||||
.eq(BannerConfig::getShowcase, Boolean.TRUE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user