Commit eca3539d authored by fangxinjiang's avatar fangxinjiang

合同续签待办-fxj

parent de797a00
...@@ -508,10 +508,11 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon ...@@ -508,10 +508,11 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
} }
} }
//reminderDate 设置15:20 //reminderDate 设置15:20
Date reminderDateNew =DateUtil.getDateByLocalDate(reminderDate);
reminderDateNew.setHours(15);
reminderDateNew.setMinutes(20);
// 设置预计发起时间 // 设置预计发起时间
preVoTemp.setExpectedCollectionTime(DateUtil.stringToDate( preVoTemp.setExpectedCollectionTime(reminderDateNew);
DateUtil.dateToString(DateUtil.getDateByLocalDate(reminderDate),
DateUtil.ISO_EXPANDED_DATE_FORMAT) + " 15:20", DateUtil.DATETIME_PATTERN_MINUTE));
} }
return null; return null;
} }
...@@ -1558,7 +1559,7 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon ...@@ -1558,7 +1559,7 @@ public class TEmployeeContractPreNewServiceImpl extends ServiceImpl<TEmployeeCon
CustomerExpiringStatistics stats = entry.getValue(); CustomerExpiringStatistics stats = entry.getValue();
if (stats.getExpiringCount() > 0 && Common.isNotNull(stats.getCustomerUserLoginname())) { if (stats.getExpiringCount() > 0 && Common.isNotNull(stats.getCustomerUserLoginname())) {
// 生成提醒内容 // 生成提醒内容
String reminderContent = String.format("距离合同开始日期1个月还剩3天,仍未签署合同的员工数:%d人", String reminderContent = String.format("距离电子签续签到期还剩3天,仍未签署合同的员工数:%d人",
stats.getExpiringCount()); stats.getExpiringCount());
// 发送企微提醒 // 发送企微提醒
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment