|
@@ -1494,7 +1494,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("日期设置错误");
|
|
|
}
|
|
|
|
|
@@ -1541,7 +1541,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("日期设置错误");
|
|
|
}
|
|
|
|
|
@@ -1569,7 +1569,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("日期设置错误");
|
|
|
}
|
|
|
|