首页-国家列表-后台-参数-日期格式化-再格式化
This commit is contained in:
@@ -154,8 +154,8 @@ public class RoomTabRegionAdminService {
|
||||
}
|
||||
dbEntity.setSeq(seq);
|
||||
// 判断置顶时间
|
||||
Date startDate = DateTimeUtil.convertStrToDate(topStart, DateTimeUtil.UTC_DEFAULT_DATETIME_PATTERN);
|
||||
Date endDate = DateTimeUtil.convertStrToDate(topEnd, DateTimeUtil.UTC_DEFAULT_DATETIME_PATTERN);
|
||||
Date startDate = DateTimeUtil.convertStrToDate(topStart, DateTimeUtil.DEFAULT_DATETIME_PATTERN);
|
||||
Date endDate = DateTimeUtil.convertStrToDate(topEnd, DateTimeUtil.DEFAULT_DATETIME_PATTERN);
|
||||
if (startDate != null && endDate != null && endDate.getTime() > startDate.getTime()) {
|
||||
dbEntity.setTopStart(startDate);
|
||||
dbEntity.setTopEnd(endDate);
|
||||
|
Reference in New Issue
Block a user