fix 标协会员到期提醒定时任务
This commit is contained in:
@@ -50,7 +50,7 @@ public class MemberProjectJob implements Job{
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
DateTime offset = DateUtil.date().offset(DateField.MONTH, 3);
|
||||
int year = offset.year();
|
||||
int month = offset.month();
|
||||
int month = offset.month()+1;
|
||||
QueryWrapper<TbMemberProjectSubitem> wrapper = new QueryWrapper<>();
|
||||
wrapper.eq("MONTH(invalidation_date)",month)
|
||||
.eq("YEAR(invalidation_date)",year);
|
||||
|
||||
Reference in New Issue
Block a user