Commit 3459f3cd by jianan

国家地区查询接口7

parent 76601736
...@@ -48,6 +48,8 @@ public class ApiMdCountryServiceImpl implements ApiMdCountryService { ...@@ -48,6 +48,8 @@ public class ApiMdCountryServiceImpl implements ApiMdCountryService {
queryWrapper.like("name", name); queryWrapper.like("name", name);
queryWrapper.or(); queryWrapper.or();
queryWrapper.like("country_code", name); queryWrapper.like("country_code", name);
queryWrapper.or();
queryWrapper.like("area_code", name);
List<MdCountry> list = mdCountryService.list(queryWrapper); List<MdCountry> list = mdCountryService.list(queryWrapper);
// 校验 // 校验
if (CollectionUtils.isEmpty(list)) { if (CollectionUtils.isEmpty(list)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment