数据字典修改
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ public class DictAspect {
|
||||
String cut = ((Result) result).getCut();
|
||||
//返回结果中只处理实体对象的不处理其他类型
|
||||
if(((List) ((Result) result).getResult()).size() != 0){
|
||||
String name = ((ArrayList) ((Result) result).getResult()).get(0).getClass().getName();
|
||||
String name = ((List) ((Result) result).getResult()).get(0).getClass().getName();
|
||||
if(!"java.util.LinkedHashMap".equals(name) && !"java.util.HashMap".equals(name) && !"java.lang.String".equals(name)){
|
||||
List<JSONObject> items = new ArrayList<>();
|
||||
for (Object record : (List)((Result) result).getResult()) {
|
||||
|
||||
Reference in New Issue
Block a user