Compare commits

..

No commits in common. "3c3ea0633d6ef89eddb7643f324e006143c94f9e" and "d1507ede5bd042354d5b2f29c94906cfa75a2523" have entirely different histories.

1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package com.syjiaer.clinic.server.common.api.input;
import com.alibaba.fastjson.JSONObject;
import com.syjiaer.clinic.server.common.api.annotations.IMField;
import com.syjiaer.clinic.server.common.exception.MessageException;
import com.syjiaer.clinic.server.common.util.DebugUtil;
@ -50,7 +49,7 @@ public abstract class BaseInputModel {
if (item instanceof BaseInputModel) {
mappedList.add(((BaseInputModel) item).buildToMap());
} else {
mappedList.add((Map<String, Object>) JSONObject.parseObject(JSONObject.toJSONString(item),Map.class)); // 假设基本类型已为 Map
mappedList.add((Map<String, Object>) item); // 假设基本类型已为 Map
}
}
map.put(mapKey, mappedList);