|
@@ -1632,7 +1632,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
|
|
|
Date date = new Date();
|
|
|
|
|
|
- if (expireDate.before(date)) {
|
|
|
+ if (DateUtil.getLastTimeWithDay(expireDate).before(date)) {
|
|
|
throw new BizException("日期设置错误");
|
|
|
}
|
|
|
|
|
@@ -1679,7 +1679,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
|
|
|
Date date = new Date();
|
|
|
|
|
|
- if (date.after(expireDate)) {
|
|
|
+ if (date.after(DateUtil.getLastTimeWithDay(expireDate))) {
|
|
|
throw new BizException("日期设置错误");
|
|
|
}
|
|
|
|
|
@@ -1707,7 +1707,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
|
|
|
Date date = new Date();
|
|
|
|
|
|
- if (date.after(expireDate)) {
|
|
|
+ if (date.after(DateUtil.getLastTimeWithDay(expireDate))) {
|
|
|
throw new BizException("日期设置错误");
|
|
|
}
|
|
|
|