dev
This commit is contained in:
parent
d8c5167f98
commit
ff7ab7cc9c
|
|
@ -1,6 +1,7 @@
|
|||
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;
|
||||
|
||||
|
|
@ -48,7 +49,7 @@ public abstract class BaseInputModel {
|
|||
if (item instanceof BaseInputModel) {
|
||||
mappedList.add(((BaseInputModel) item).buildToMap());
|
||||
} else {
|
||||
mappedList.add((Map<String, Object>) item); // 假设基本类型已为 Map
|
||||
mappedList.add((Map<String, Object>) JSONObject.parseObject(JSONObject.toJSONString(item),Map.class)); // 假设基本类型已为 Map
|
||||
}
|
||||
}
|
||||
map.put(mapKey, mappedList);
|
||||
|
|
|
|||
Loading…
Reference in New Issue