Commit f513f422 authored by 韩桐桐's avatar 韩桐桐

fix(jg):bug--22325,一码通刷过来的数据在jg编辑设备后jg设备列表丢失数据

parent 0aa2e866
...@@ -781,6 +781,25 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste ...@@ -781,6 +781,25 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
useInfoMap.put("USE_ADDRESS", useInfo.getAddress()); useInfoMap.put("USE_ADDRESS", useInfo.getAddress());
useInfoMap.put("FULL_ADDRESS", useInfo.getAddress()); useInfoMap.put("FULL_ADDRESS", useInfo.getAddress());
} }
//bug--22325 一码通过来的数据去掉【DATA_SOURCE】,保存设备时 【batchSubmitOrUpdate方法】 会对 DATA_SOURCE字段进行处理
// 一码通数据:"must": [
// {
// "term": {
// "STATUS": "已认领"
// }
// }
// ],
// "must_not": [
// {
// "wildcard": {
// "DATA_SOURCE.keyword": "jg*"
// }
// }
// ]
boolean isYmtData = !String.valueOf(useInfoMap.get(DATA_SOURCE)).startsWith("jg");
if(isYmtData){
useInfoMap.remove(DATA_SOURCE);
}
} }
if (!useInfoMap.isEmpty()) { if (!useInfoMap.isEmpty()) {
Map<String, Object> filterMap = useInfoMap.entrySet() Map<String, Object> filterMap = useInfoMap.entrySet()
......
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