|
|
@@ -478,7 +478,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
textMessageVo.setPhoneList(userPhoneInfoList.stream().map(UserPhoneInfo::getPhone).collect(Collectors.toList()));
|
|
|
textMessageVo.setTempContent(templateContent);
|
|
|
textMessageVo.setVariableList(paramList);
|
|
|
- textMessageVo.setTempId("142047");
|
|
|
+ textMessageVo.setTempId("142755");
|
|
|
remoteSmsService.sendTemplateMessage(textMessageVo);
|
|
|
logger.info("化学品违规带离发送短信打电话消息推送完成!");
|
|
|
}else{
|
|
|
@@ -653,7 +653,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
paramList.add(subName);
|
|
|
paramList.add(chemicalName);
|
|
|
textMessageVo.setVariableList(paramList);
|
|
|
- textMessageVo.setTempId("142046");
|
|
|
+ textMessageVo.setTempId("142740");
|
|
|
textMessageVo.setTempContent(templateContent);
|
|
|
remoteSmsService.sendVoiceMessage(textMessageVo);//发送语音
|
|
|
remoteSmsService.sendTemplateMessage(textMessageVo);//发送短信
|
|
|
@@ -937,7 +937,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
paramList.add(warningNoticeLogDto.getName());
|
|
|
paramList.add(LocalDateTimeUtil.format(LocalDateTime.now(), "yyyy-MM-dd HH:mm:ss"));
|
|
|
//发送通知
|
|
|
- sendNotice(hxpStock, userIdStr, phones, warningConfigDto.getUnexpired(),text,logId,paramList,"142030","【忠江科技】{lab_name}-{name} 即将过期,发生时间:{date} ,请尽快确认。");
|
|
|
+ sendNotice(hxpStock, userIdStr, phones, warningConfigDto.getUnexpired(),text,logId,paramList,"142753","【忠江科技】{lab_name}-{name} 即将过期,发生时间:{date} ,请尽快确认。");
|
|
|
});
|
|
|
}
|
|
|
|
|
|
@@ -996,7 +996,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
parmList.add(warningNoticeLogDto.getSubName());
|
|
|
parmList.add(warningNoticeLogDto.getName());
|
|
|
//发送通知
|
|
|
- sendNotice(hxpStock, userIdStr, phones, warningConfigDto.getExpired(), text, logId,parmList,"142031","【忠江科技】{lab_name}-{name}已过期,请尽快确认。");
|
|
|
+ sendNotice(hxpStock, userIdStr, phones, warningConfigDto.getExpired(), text, logId,parmList,"142742","【忠江科技】{lab_name}-{name}已过期,请尽快确认。");
|
|
|
});
|
|
|
|
|
|
List<Long> stockIds = expiredStock.stream().filter(i -> 1 == i.getStatus()).map(HxpStockVO::getId).collect(Collectors.toList());
|
|
|
@@ -1177,7 +1177,7 @@ public class HxpStockServiceImpl implements IHxpStockService {
|
|
|
TextMessageVo textMessageVo=new TextMessageVo();
|
|
|
textMessageVo.setPhoneList(userPhoneInfoList.stream().map(UserPhoneInfo::getPhone).collect(Collectors.toList()));
|
|
|
textMessageVo.setTempContent(templateContent);
|
|
|
- textMessageVo.setTempId("142034");
|
|
|
+ textMessageVo.setTempId("142754");
|
|
|
textMessageVo.setVariableList(paramList);
|
|
|
remoteSmsService.sendTemplateMessage(textMessageVo);
|
|
|
logger.info("化学品超时未归还发送短信打电话消息推送完成!");
|