|
@@ -50,7 +50,7 @@ public class TimedTask {
|
|
|
* 还款提醒跑批
|
|
|
*/
|
|
|
@SneakyThrows
|
|
|
- @Scheduled(cron = "0 0 2 0 * ? ")
|
|
|
+ @Scheduled(cron = "0 0 1 * * ? ")
|
|
|
private void repaymentRemind(){
|
|
|
Map map = new HashMap();
|
|
|
//据当前时间还有30天的日期
|
|
@@ -87,11 +87,11 @@ public class TimedTask {
|
|
|
if("2".equals(createType)){
|
|
|
//到期前30天发送消息
|
|
|
String title = "【到期还款】您开立给【"+companyName+"】的一笔【"+amount+"】(大写:"+ ConvertUpMoneyUtil.toChinese(amount)+")的融信【"+number+"】,将于【"+repaymentDate+"】还款,请尽快处理;";
|
|
|
- remoteSystemService.sendNotice(companyId, zfrId,title,"01","06","","0",user,"","","");
|
|
|
+ remoteSystemService.sendNotice(companyId, zfrId,title,"01","06","","0",user,"",null,null);
|
|
|
}else{
|
|
|
//到期前30天发送消息
|
|
|
String title = "【到期还款】您开立给【"+companyName+"】的一笔【"+amount+"】(大写:"+ConvertUpMoneyUtil.toChinese(amount)+")的融信【"+number+"】,将于【"+repaymentDate+"】还款,请尽快处理;";
|
|
|
- remoteSystemService.sendNotice(coreCompany, zfrId,title,"01","06","","0",handler,"","","");
|
|
|
+ remoteSystemService.sendNotice(coreCompany, zfrId,title,"01","06","","0",handler,"",null,null);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -124,11 +124,11 @@ public class TimedTask {
|
|
|
if("2".equals(createType)){
|
|
|
//到期前7天生成待办
|
|
|
String title = "【还款待办】您签发的融信【"+number+"】将于【"+repaymentDate+"】还款,还款金额【"+amount+"】(大写:"+ ConvertUpMoneyUtil.toChinese(amount)+"),请尽快处理;";
|
|
|
- remoteSystemService.sendNotice(companyId, zfrId,title,"00","","06","0",user,"","00","");
|
|
|
+ remoteSystemService.sendNotice(companyId, zfrId,title,"00","","06","0",user,"","00",null);
|
|
|
}else{
|
|
|
//到期前7天生成待办
|
|
|
String title = "【还款待办】您签发的融信【"+number+"】将于【"+repaymentDate+"】还款,还款金额【"+amount+"】(大写:"+ConvertUpMoneyUtil.toChinese(amount)+"),请尽快处理;";
|
|
|
- remoteSystemService.sendNotice(coreCompany, zfrId,title,"00","","06","0",handler,"","00","");
|
|
|
+ remoteSystemService.sendNotice(coreCompany, zfrId,title,"00","","06","0",handler,"","00",null);
|
|
|
}
|
|
|
|
|
|
}
|