Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/impl/CodeMdmInfaceImpl.java
@@ -835,25 +835,29 @@
    * @param vaule
    * @return
    */
   private String objectToStr(Object vaule){
   private String objectToStr(Object vaule) {
      String newValue="";
      if(vaule ==null||"".equals(vaule)||vaule==""){
         return "";
      }
      if(vaule instanceof Integer){
         Integer intValue=(Integer)vaule;
         newValue=String.valueOf(intValue);
      }else if (vaule instanceof Boolean){
         boolean boolValue=(Boolean) vaule;
         newValue=Boolean.toString(boolValue);
      }else if(vaule instanceof Timestamp){
         Timestamp timestampValue=(Timestamp)vaule;
         newValue=timestamp2Str(timestampValue);
      }else if(vaule instanceof Date){
         Date dataValue=(Date) vaule;
         newValue = date2Str(dataValue,"yyyy-MM-dd HH:mm:ss");
      }else {
         return vaule.toString();
      try {
         if (vaule instanceof Integer) {
            Integer intValue = (Integer) vaule;
            newValue = String.valueOf(intValue);
         } else if (vaule instanceof Boolean) {
            boolean boolValue = (Boolean) vaule;
            newValue = Boolean.toString(boolValue);
         } else if (vaule instanceof Timestamp) {
            Timestamp timestampValue = (Timestamp) vaule;
            newValue = timestamp2Str(timestampValue);
         } else if (vaule instanceof Date) {
            Date dataValue = (Date) vaule;
            newValue = date2Str(dataValue, "yyyy-MM-dd HH:mm:ss");
         } else {
            return vaule.toString();
         }
      }catch (Throwable e){
         log.error("属性类型转换错误",e);
      }
      return newValue;
   }