模糊查询

This commit is contained in:
2023-03-17 16:27:10 +08:00
parent 2bb7a37b92
commit ba8baee6bb

View File

@@ -39,7 +39,7 @@ public class RegionServiceImpl implements RegionService {
HashMap<String, String> map = new HashMap<>();
map.put("flag", "1");
if (ObjectUtil.isNotEmpty(region_code)) map.put("region_code",region_code+"%");
if (ObjectUtil.isNotEmpty(region_code)) map.put("region_code","%" + region_code + "%");
JSONObject json = WQL.getWO("QSCH_REGION_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "region.region_code ASC");
return json;