xiejun
2025-01-23 9ac3bd680a350c1cc4baad082d92cd2c5f158f3e
Source/UBCS/ubcs-codeApply/src/main/java/com/vci/rmip/code/client/codeapply/Apply410/utils/ListUtil.java
@@ -1,12 +1,12 @@
package com.vci.rmip.code.client.codeapply.Apply410.utils;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Lists;
import com.vci.ubcs.starter.web.util.VciBaseUtil;
import com.alibaba.nacos.shaded.com.google.common.collect.Lists;
import org.apache.commons.beanutils.ConvertUtils;
import org.apache.commons.beanutils.PropertyUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.util.StringUtils;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
import java.text.ParseException;
@@ -54,7 +54,7 @@
               try{
                  //取得值的类形
                  Class type = PropertyUtils.getPropertyType(obj, fieldName);
                  if(!StringUtils.isEmpty(type)){
                  if(type!=null){
                     PropertyUtils.setProperty(obj, fieldName,convert(value, type));
                  }
@@ -110,8 +110,7 @@
               try{
                  //取得值的类形
                  Class type = PropertyUtils.getPropertyType(obj, fieldName);
                  if(!StringUtils.isEmpty(type)){
                  if(type!=null){
                     PropertyUtils.setProperty(obj, fieldName,convert(value, type));
                  }
               }catch(Exception ex){