|
@@ -46,8 +46,8 @@ public class FinanceTimedTask {
|
|
|
*/
|
|
|
//每十分钟
|
|
|
// @Scheduled(cron = "0 */10 * * * ?")
|
|
|
- //每一分钟(测试用)
|
|
|
-// @Scheduled(cron = "0/10 * * * * ?")
|
|
|
+ //每天凌晨一点
|
|
|
+ @Scheduled(cron = "0 0 1 * * ?")
|
|
|
private void financeInformation() throws Exception{
|
|
|
LambdaQueryWrapper<ZcFinanceProduct> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
queryWrapper.eq(ZcFinanceProduct::getZfpStatus,"01");
|
|
@@ -237,8 +237,8 @@ public class FinanceTimedTask {
|
|
|
*/
|
|
|
//每十分钟
|
|
|
// @Scheduled(cron = "0 */10 * * * ?")
|
|
|
- //每一分钟(测试用)
|
|
|
-// @Scheduled(cron = "0/10 * * * * ?")
|
|
|
+ //每天凌晨一点
|
|
|
+ @Scheduled(cron = "0 0 1 * * ?")
|
|
|
private void financeStatus() throws Exception{
|
|
|
//融信到期 => 融信失效,待办删除
|
|
|
Map map = new HashMap();
|