if (StringUtils.isNotBlank(cfgSentence.getQueryText())) {
wrapper.and(Wrapper -> Wrapper.like(CfgSentence::getIntentName, cfgSentence.getQueryText())
.or().like(CfgSentence::getStandardSentence, cfgSentence.getQueryText()).or().eq(CfgSentence::getDomainName, cfgSentence.getQueryText()).or().eq(CfgSentence::getDomain, cfgSentence.getQueryText()));
}
mybatis-plus条件构造器
最新推荐文章于 2024-07-23 22:52:18 发布