From 0c50abaea8e31b734ffb4e78927cc3251720edec Mon Sep 17 00:00:00 2001 From: "puxiao.liao" Date: Tue, 8 Dec 2020 18:11:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9D=A1=E7=A0=81=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=9F=A5=E8=AF=A2=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/estsh/i3plus/pojo/base/tool/DdlPreparedPack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/tool/DdlPreparedPack.java b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/tool/DdlPreparedPack.java index 8daabbc..1f4955c 100644 --- a/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/tool/DdlPreparedPack.java +++ b/modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/tool/DdlPreparedPack.java @@ -86,7 +86,7 @@ public class DdlPreparedPack { * @param isShowTime 是否包含时分秒 */ public static void timeBuilder(String date, String columnName, DdlPackBean packBean, Boolean showTaday, boolean isShowTime) { - if (date != null && date.trim().length() > 0) { + if (date != null && date.trim().length() > 2) { String today = (new SimpleDateFormat("yyyy-MM-dd")).format(new Date()); if (date != null && date.trim().length() > 0 && (date.length() == 1 || ",".equals(date))) { //只有一个逗号