发送短信修改
This commit is contained in:
parent
8d98bd01b8
commit
af76ba0ce2
@ -187,18 +187,17 @@ public class SendTextMessageServiceImpl implements SendTextMessageService {
|
||||
if (Objects.nonNull(recordNum.getNum()) && recordNum.getNum() >= pushMessageRestrictions.getNumber()) {
|
||||
failSignPatientManageRouteNodeIds.add(message.getSignPatientManageRouteNodeId());
|
||||
}
|
||||
shortMessageSendRecordMapper.insertShortMessageSendRecord(shortMessageSendRecord);
|
||||
}
|
||||
|
||||
shortMessageSendRecordMapper.insertShortMessageSendRecord(shortMessageSendRecord);
|
||||
// 修改患者任务统计表
|
||||
patientIdSet.add(message.getPatientId());
|
||||
}
|
||||
//修改节点状态
|
||||
if (CollectionUtils.isNotEmpty(expiredManageRouteNodeIds)) {
|
||||
if (CollectionUtils.isNotEmpty(ids)) {
|
||||
signPatientManageRouteNodeMapper.updateNodeExecuteStatusByIds(ids, NodeExecuteStatusEnum.EXECUTED.getInfo(), null, NodeExecuteResultStatusEnum.SUCCESS.getInfo(), null, now);
|
||||
}
|
||||
//修改节点状态
|
||||
if (CollectionUtils.isNotEmpty(expiredManageRouteNodeIds)) {
|
||||
if (CollectionUtils.isNotEmpty(failSignPatientManageRouteNodeIds)) {
|
||||
signPatientManageRouteNodeMapper.updateNodeExecuteStatusByIds(failSignPatientManageRouteNodeIds, NodeExecuteStatusEnum.EXECUTED.getInfo(), null, NodeExecuteResultStatusEnum.FAILURE.getInfo(), null, now);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user