Commit d25f199a authored by suhuiguang's avatar suhuiguang

1.监管码调整支持模糊查询

parent 9575a667
......@@ -1216,9 +1216,8 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
// 监管码
if (!ObjectUtils.isEmpty(map.getString("SUPERVISORY_CODE"))) {
String param = map.getString("SUPERVISORY_CODE");
List<String> strings = Arrays.asList(param.split(","));
boolMust.must(QueryBuilders.termsQuery("SUPERVISORY_CODE", strings));
String supervisoryCode = map.getString("SUPERVISORY_CODE");
boolMust.must(QueryBuilders.wildcardQuery("SUPERVISORY_CODE", "*" + supervisoryCode + "*"));
}
// 设备种类编码
if (!ObjectUtils.isEmpty(map.getString("EQU_LIST_CODE"))) {
......
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