|
@@ -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",null);
|
|
|
+ remoteSystemService.sendNotice(companyId, zfrId,title,"00","","06","0",user,"","01","/repayment/repayment");
|
|
|
}else{
|
|
|
//到期前7天生成待办
|
|
|
String title = "【还款待办】您签发的融信【"+number+"】将于【"+repaymentDate+"】还款,还款金额【"+amount+"】(大写:"+ConvertUpMoneyUtil.toChinese(amount)+"),请尽快处理;";
|
|
|
- remoteSystemService.sendNotice(coreCompany, zfrId,title,"00","","06","0",handler,"","00",null);
|
|
|
+ remoteSystemService.sendNotice(coreCompany, zfrId,title,"00","","06","0",handler,"","01","/repayment/repayment");
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -203,8 +203,13 @@ public class TimedTask {
|
|
|
queryWrapper.eq(SysUserCompanyRel::getSucrDeptId,deptId);
|
|
|
queryWrapper.eq(SysUserCompanyRel::getSucrCompanyId,"000000");
|
|
|
List<SysUserCompanyRel> userList = sysUserCompanyRelService.findSysUserCompanyRels(queryWrapper);
|
|
|
- for (SysUserCompanyRel sysUser:userList) {
|
|
|
- user += CommonUtil.objToString(sysUser.getSucrUserId())+",";
|
|
|
+ for(int j = 0 ; j < userList.size();j++){
|
|
|
+ //最后一个
|
|
|
+ if(j == userList.size() -1){
|
|
|
+ user += userList.get(j).getSucrUserId();
|
|
|
+ }else{
|
|
|
+ user += userList.get(j).getSucrUserId()+",";
|
|
|
+ }
|
|
|
}
|
|
|
//到期前3天平台内部待办 参数: 企业,表主键,标题,类型(00:待办 01:消息),消息类型(00:费用提醒01:发票寄出02:到期还款)
|
|
|
//待办类型(00:待审批01:链属企业申请02:融信失效03:还款),是否发送短信(0:不发1:发),收到信息用户集合,短信模板
|