|
|
|
@ -67,8 +67,6 @@ public class BasicScheduledTask {
|
|
|
|
|
@XxlJob(CERTIFICATET_DEAD_LINE_NOTICE) |
|
|
|
|
//@Scheduled(cron = "0/40 * * * * ? ")
|
|
|
|
|
public ReturnT<String> certificatetDeadLineNotice(String param) throws ParseException { |
|
|
|
|
// public ReturnT<String> certificatetDeadLineNotice() throws ParseException {
|
|
|
|
|
// String param="";
|
|
|
|
|
Date endTime = new Date(); |
|
|
|
|
if (StringUtils.isNotBlank(param)) { |
|
|
|
|
endTime = new SimpleDateFormat("yyyy-MM-dd").parse(param); |
|
|
|
@ -118,7 +116,7 @@ public class BasicScheduledTask {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void sendMessage(CertificatetEntity certificatetEntity, Integer date, String users,String personNotice) { |
|
|
|
|
// //注意:通知人是创建人所在机构
|
|
|
|
|
//注意:通知人是创建人所在机构
|
|
|
|
|
BusinessMessageDTO message = new BusinessMessageDTO(); |
|
|
|
|
message.setBusinessClassify("system"); |
|
|
|
|
message.setBusinessKey("certificatet-notice-message"); |
|
|
|
|