|
|
@@ -38,6 +38,7 @@ public class IncidentTicketJob implements Job {
|
|
|
//查询 包含配置内数据 质量事故单:状态,发送次数<配置次数,上次发送时间(初始时间)与 当前时间 相差分钟数 > 配置分钟
|
|
|
//根据配置人员 发送消息
|
|
|
//更新发送时间,更新发送次数
|
|
|
+ //记录日志
|
|
|
//结束
|
|
|
|
|
|
List<Map<String,Object>> mapList = incidentTicketService.selectConfigList();
|
|
|
@@ -101,7 +102,9 @@ public class IncidentTicketJob implements Job {
|
|
|
|
|
|
|
|
|
}catch (Exception e){
|
|
|
+ incidentTicketService.setMsgLog(null,null,null,99,99,"消息发送失败:"+e.getMessage());
|
|
|
System.out.println("消息发送失败:"+e.getMessage());
|
|
|
+ e.printStackTrace();
|
|
|
}
|
|
|
|
|
|
}
|