diff --git a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/utils/ObjectUtils.java b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/utils/ObjectUtils.java index e75fffc..c9cec46 100644 --- a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/utils/ObjectUtils.java +++ b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/utils/ObjectUtils.java @@ -37,7 +37,7 @@ public class ObjectUtils { DateTimeToMap dateTimeToMap = field.getAnnotation(DateTimeToMap.class); LocalDateTime time = (LocalDateTime) value; if(ObjectUtil.isEmpty(dateTimeToMap)) { - result.put(field.getName(),time.format(DateUtil.TIME_FORMATTER)); + result.put(field.getName(),time.format(DateUtil.DATETIME_FORMATTER)); } else { result.putAll(LocalDateConvertMap(time,dateTimeToMap.prefix(),dateTimeToMap.split()));