中扬CRM客户关系管理系统
#
luxiaotao1123
2023-07-25 c7884cb7dd4b50b1ae37fc956493e577a8535aed
src/main/java/com/zy/crm/common/utils/ListUtils.java
@@ -9,7 +9,7 @@
 */
public class ListUtils {
    public static List<Map> deepCopy(List<Map> src) throws IOException, ClassNotFoundException {
    public static List<Map<String, Object>> deepCopy(List<Map<String, Object>> src) throws IOException, ClassNotFoundException {
        ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
        ObjectOutputStream out = new ObjectOutputStream(byteOut);
        out.writeObject(src);
@@ -17,7 +17,7 @@
        ByteArrayInputStream byteIn = new ByteArrayInputStream(byteOut.toByteArray());
        ObjectInputStream in = new ObjectInputStream(byteIn);
        @SuppressWarnings("unchecked")
        List<Map> dest = (List<Map>) in.readObject();
        List<Map<String, Object>> dest = (List<Map<String, Object>>) in.readObject();
        return dest;
    }