fix use wildcard query
@@ -106,7 +106,7 @@ public class FailureUrlService {
private void buildSearchCondition(final FailureUrlPager failureUrlPager, final FailureUrlCB cb) {
// search
if (StringUtil.isNotBlank(failureUrlPager.url)) {
- cb.query().setUrl_Match(failureUrlPager.url);
+ cb.query().setUrl_Wildcard(failureUrlPager.url);
}
if (StringUtil.isNotBlank(failureUrlPager.errorCountMax)) {
@@ -117,7 +117,7 @@ public class FailureUrlService {
}
if (StringUtil.isNotBlank(failureUrlPager.errorName)) {
- cb.query().setErrorName_Match(failureUrlPager.errorName);
+ cb.query().setErrorName_Wildcard(failureUrlPager.errorName);
}
}
