ludc
2023-09-19 8381325223bee254168855b1b697db31fc591b9e
Source/UBCS/ubcs-codeApply/src/main/java/com/vci/rmip/code/client/codeapply/Apply410/CodeApplyFor410TreePanel.java
@@ -1,7 +1,5 @@
package com.vci.rmip.code.client.codeapply.Apply410;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.vci.base.ui.swing.VCIOptionPane;
import com.vci.base.ui.swing.components.VCIJPanel;
import com.vci.base.ui.tree.VCIBaseTree;
@@ -18,6 +16,12 @@
import javax.swing.event.TreeSelectionEvent;
import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.TreePath;
import org.codehaus.jackson.JsonProcessingException;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.type.TypeReference;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -188,9 +192,9 @@
         if(object!=null) {
            ObjectMapper objectMapper = new ObjectMapper();
            try {
               codeClassifyList = objectMapper.readValue(object.toString(), new com.fasterxml.jackson.core.type.TypeReference<List<CodeClassify>>() {
               codeClassifyList = objectMapper.readValue(object.toString(), new TypeReference<List<CodeClassify>>() {
               });
            } catch (JsonProcessingException e) {
            } catch (IOException e) {
               e.printStackTrace();
            }
         }
@@ -223,9 +227,9 @@
         if(object!=null) {
            ObjectMapper objectMapper = new ObjectMapper();
            try {
               codeClassifyList = objectMapper.readValue(object.toString(), new com.fasterxml.jackson.core.type.TypeReference<List<CodeClassify>>() {
               codeClassifyList = objectMapper.readValue(object.toString(), new TypeReference<List<CodeClassify>>() {
               });
            } catch (JsonProcessingException e) {
            } catch (IOException e) {
               e.printStackTrace();
            }
         }