|
|
@ -25,17 +25,16 @@ public class TimingPushService { |
|
|
|
/** |
|
|
|
* 定时推送月还计提凭证 |
|
|
|
*/ |
|
|
|
// @Scheduled(cron = "0 0 3 2,3,4,5,6,7,8,9,10 * ?") //每月2-10号 3点推送
|
|
|
|
@Scheduled(cron = "0 0/3 * * * ?") //每月2-10号 3点推送
|
|
|
|
@Scheduled(cron = "0 0 3 2,3,4,5,6,7,8,9,10 * ?") //每月2-10号 3点推送
|
|
|
|
// @Scheduled(cron = "0 0/3 * * * ?") //每3分钟推送
|
|
|
|
public void monthlyAccrualVoucher() { |
|
|
|
List<FinTempTimePush> list = finTempTimePushService.selListByBusType("月还计提"); |
|
|
|
list.removeAll(Collections.singleton(null)); |
|
|
|
if (!list.isEmpty()) { |
|
|
|
for (FinTempTimePush f : list) { |
|
|
|
loanMonthlyAccrualApplyFeign.rePushVoucher(f.getBusSid()); |
|
|
|
finTempTimePushService.deleteBySid(f.getSid()); |
|
|
|
finTempTimePushService.delBySid(f.getSid()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|