|
@@ -809,8 +809,8 @@ public class CoreServiceImpl implements CoreService {
|
|
|
}
|
|
|
List<Integer> userGroupIds = articleUseGroupMapper.selectUserGroupId(planAccount.getGhId());
|
|
|
LocalDate today = LocalDate.now(); // 获取当前日期
|
|
|
- int dayOfYear = today.getDayOfYear();
|
|
|
- int tailNum = dayOfYear % 8;
|
|
|
+ int dayOfMonth = today.getDayOfMonth();
|
|
|
+ int tailNum = dayOfMonth % 7;
|
|
|
List<Integer> needPushUserGroupIds = new ArrayList<>();
|
|
|
for (int userGroupId : userGroupIds) {
|
|
|
if (userGroupId % 8 == tailNum) {
|