Compare commits

..

No commits in common. "a868168463923835ddec084e8e7c43e63cf71b58" and "13ee8d62b2955ec3e2d940b3a64de5823a9bf734" have entirely different histories.

3 changed files with 6 additions and 6 deletions

View File

@ -11,9 +11,9 @@ import org.apache.ibatis.annotations.Update;
* @since 2025-09-23
*/
public interface SmsSpecialistMapper extends BaseMapper<SmsSpecialist> {
@Update("update specialist set flag_birthday_sent_today = 0 where flag_birthday_sent_today = 1")
@Update("update specialist set flag_birthday_sent_today = 0")
void resetFlagBirthdaySentToday();
@Update("update specialist set flag_holiday_sent_today = 0 where flag_holiday_sent_today = 1")
@Update("update specialist set flag_holiday_sent_today = 0")
void resetFlagHolidaySentToday();
}

View File

@ -187,9 +187,9 @@ public class SmsBirthdayServiceImpl extends ServiceImpl<SmsBirthdayMapper, SmsBi
}
/**
* 01flagBirthdaySentToday0
* 0flagBirthdaySentToday0
*/
@Scheduled(cron = "1 0 0 * * ?")
@Scheduled(cron = "0 0 0 * * ?")
public void resetFlagBirthdaySentToday() {
specialistMapper.resetFlagBirthdaySentToday();
}

View File

@ -271,9 +271,9 @@ public class SmsHolidayServiceImpl extends ServiceImpl<SmsHolidayMapper, SmsHoli
}
/**
* 01flagHolidaySentToday0
* 0flagHolidaySentToday0
*/
@Scheduled(cron = "1 0 0 * * ?")
@Scheduled(cron = "0 0 0 * * ?")
public void resetFlagHolidaySentToday() {
specialistMapper.resetFlagHolidaySentToday();
}