|
|
@@ -1107,8 +1107,8 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
if (urlScheme.getCode() != HttpStatus.SUCCESS) {
|
|
|
logger.error("获取urlScheme失败!");
|
|
|
}
|
|
|
- String systemText = "【实验室安全系统】" + warningNoticeLogDto.getSubName() + "-" + warningNoticeLogDto.getName() + "即将过期,发生时间:" + LocalDateTime.now() + ",请尽快确认。";
|
|
|
- String text = "【实验室安全系统】" + warningNoticeLogDto.getSubName() + "-" + warningNoticeLogDto.getName() + "即将过期,发生时间:" + LocalDateTime.now() + ",请尽快确认。点击查看:https://lab.zjznai.com/labAppTest/earlyWarning/index.html?id=" + result.getData() + "&urlScheme=" + urlScheme.getData();
|
|
|
+ String systemText = "【实验室安全系统】" + warningNoticeLogDto.getSubName() + "-" + warningNoticeLogDto.getName() + "即将过期,发生时间:" + LocalDateTimeUtil.format(LocalDateTime.now(), "yyyy-MM-dd HH:mm:ss") + ",请尽快确认。";
|
|
|
+ String text = "【实验室安全系统】" + warningNoticeLogDto.getSubName() + "-" + warningNoticeLogDto.getName() + "即将过期,发生时间:" + LocalDateTimeUtil.format(LocalDateTime.now(), "yyyy-MM-dd HH:mm:ss") + ",请尽快确认。点击查看:https://lab.zjznai.com/labAppTest/earlyWarning/index.html?id=" + result.getData() + "&urlScheme=" + urlScheme.getData();
|
|
|
//发送通知
|
|
|
sendNotice(hxpStock, userIdStr, phones, warningConfigDto.getUnexpired(), systemText, text);
|
|
|
});
|
|
|
@@ -1283,8 +1283,8 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
if(urlScheme.getCode() != HttpStatus.SUCCESS){
|
|
|
logger.error("获取urlScheme失败!");
|
|
|
}
|
|
|
- String systemText ="【实验室安全系统】"+warningNoticeLogDto.getSubName()+"-"+warningNoticeLogDto.getApply()+"领用"+warningNoticeLogDto.getName()+"超时未归还,领用时间:"+LocalDateTime.now().toString() +",请尽快确认。";
|
|
|
- String text = "【实验室安全系统】"+warningNoticeLogDto.getSubName()+"-"+warningNoticeLogDto.getApply()+"领用"+warningNoticeLogDto.getName()+"超时未归还,领用时间:"+LocalDateTime.now().toString() +",请尽快确认。点击查看:https://lab.zjznai.com/labAppTest/earlyWarning/index.html?id="+result.getData()+"&urlScheme="+ urlScheme.getData();
|
|
|
+ String systemText ="【实验室安全系统】"+warningNoticeLogDto.getSubName()+"-"+warningNoticeLogDto.getApply()+"领用"+warningNoticeLogDto.getName()+"超时未归还,领用时间:"+LocalDateTimeUtil.format(LocalDateTime.now(), "yyyy-MM-dd HH:mm:ss") +",请尽快确认。";
|
|
|
+ String text = "【实验室安全系统】"+warningNoticeLogDto.getSubName()+"-"+warningNoticeLogDto.getApply()+"领用"+warningNoticeLogDto.getName()+"超时未归还,领用时间:"+LocalDateTimeUtil.format(LocalDateTime.now(), "yyyy-MM-dd HH:mm:ss")+",请尽快确认。点击查看:https://lab.zjznai.com/labAppTest/earlyWarning/index.html?id="+result.getData()+"&urlScheme="+ urlScheme.getData();
|
|
|
if (timeout.contains("1")) {
|
|
|
//系统通知
|
|
|
LabMessageContent labMessageContent = new LabMessageContent();
|