yumeng 5 rokov pred
rodič
commit
77e3984cf1

+ 1 - 1
jeecg-boot-base-common/src/main/java/org/jeecg/common/util/DateUtils.java

@@ -554,7 +554,7 @@ public class DateUtils extends PropertyEditorSupport {
 
     public static Map<String, Object> getStartEndTime(String createTime) throws ParseException {
 
-        SimpleDateFormat smf = new SimpleDateFormat("yyyy-MM-dd");
+        SimpleDateFormat smf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
         Date parse = smf.parse(createTime);
         Calendar calendar = Calendar.getInstance();
         calendar.setTime(parse);