feat: There is no way the

This commit is contained in:
super_liu
2021-08-13 17:08:56 +08:00
parent a412eee2c6
commit 0f82f405ab
@@ -127,7 +127,9 @@ public class StandLawsSearchServiceImpl implements StandLawsSearchService {
boolean isForeign = false;
Map<String,Object> fullTextSearchEO = new HashMap<>();
Map<String,String> mapItems = new TreeMap<>();
mapItems = net.sf.json.JSONObject.fromObject(attrInfoMap.get("mapItems").toString());
if(attrInfoMap.get("mapItems") != null){
mapItems = net.sf.json.JSONObject.fromObject(attrInfoMap.get("mapItems").toString());
}
fullTextSearchEO.put("id",String.valueOf(attrInfoMap.get("id")));
if ("FOREIGN".equals(String.valueOf(attrInfoMap.get("standType")))){
fullTextSearchEO.put("indexType",String.valueOf(attrInfoMap.get("standType")));