|
|
|
@ -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))) {
|
|
|
|
|
//只有一个逗号
|
|
|
|
|