Commit 7f80ba58 by suxiaochun

修改时间格式

parent 076fb4d1
...@@ -76,7 +76,7 @@ public class NewsMovieServiceImpl extends ServiceImpl<NewsMovieDao, NewsMovieEnt ...@@ -76,7 +76,7 @@ public class NewsMovieServiceImpl extends ServiceImpl<NewsMovieDao, NewsMovieEnt
newsMovieEntity.setReleasedate(date); newsMovieEntity.setReleasedate(date);
newsMovieEntity.setUpdatedate(date); newsMovieEntity.setUpdatedate(date);
newsMovieEntity.setEditor(user.getUsername()); newsMovieEntity.setEditor(user.getUsername());
newsMovieEntity.setShowtime(DateUtils.format(date, DateUtils.DATE_PATTERN_1)); // newsMovieEntity.setShowtime(DateUtils.format(date, DateUtils.DATE_PATTERN_1));
newsMovieEntity.setLasteditor(user.getUsername()); newsMovieEntity.setLasteditor(user.getUsername());
baseMapper.insert(newsMovieEntity); baseMapper.insert(newsMovieEntity);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment