|
|
@@ -149,11 +149,11 @@ public class AitagTagLogServiceImpl extends ServiceImpl<AitagTagLogDao, AitagTag
|
|
|
}
|
|
|
|
|
|
private String getTagPath(String result) {
|
|
|
- result = result.replace("\\", "");
|
|
|
- List<Map> results = JSONArray.parseArray(result, Map.class);
|
|
|
- if(results == null){
|
|
|
+ if(result == null){
|
|
|
return "";
|
|
|
}
|
|
|
+ result = result.replace("\\", "");
|
|
|
+ List<Map> results = JSONArray.parseArray(result, Map.class);
|
|
|
for (Map resultMap: results){
|
|
|
String tagId = resultMap.getOrDefault("id","").toString();
|
|
|
AitagTagInfoEntity aitagTagInfoEntity = tagInfoDao.selectById(tagId);
|