|
|
@@ -46,11 +46,11 @@ public class WxVtwoActivityGrantExportTwoSchedule { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
@Async |
|
|
@Scheduled(cron = "0 0 */1 * * ?") // 每小时检查一次 |
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 */30 * * * ?") // 每小时检查一次 |
|
|
public void wxVtwoCashBackGrantSchedule() { |
|
|
public void wxVtwoCashBackGrantSchedule() { |
|
|
logger.info("*************************************************************************************"); |
|
|
logger.info("*************************************************************************************"); |
|
|
String tenantId = "789"; |
|
|
|
|
|
// String tenantId = "1095"; |
|
|
|
|
|
|
|
|
// String tenantId = "789"; |
|
|
|
|
|
String tenantId = "1095"; |
|
|
List<WxVtwoCashBackGrant> todoList = wxVtwoCashBackGrantMapper.findTodoList(tenantId); |
|
|
List<WxVtwoCashBackGrant> todoList = wxVtwoCashBackGrantMapper.findTodoList(tenantId); |
|
|
if(todoList != null && !todoList.isEmpty()) { |
|
|
if(todoList != null && !todoList.isEmpty()) { |
|
|
todoList.forEach(todo ->{ |
|
|
todoList.forEach(todo ->{ |
|
|
|