Merge branch '0418_小程序开发' of http://182.92.166.109:3000/zhuangyuanke/PostDischargePatientManage into 0418_小程序开发

This commit is contained in:
haown 2024-07-17 16:14:15 +08:00
commit 84d10b3572
2 changed files with 2 additions and 2 deletions

View File

@ -741,7 +741,7 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
signPatientManageRouteNode.setPropagandaContent(StringUtils.isBlank(routeNode.getPropagandaContent()) ? null : routeNode.getPropagandaContent());
}
if (Objects.nonNull(routeNode) && TaskNodeTypeEnum.TEXT_REMIND.getInfo().equals(routeNode.getTaskNodeType())) {
signPatientManageRouteNode.setTextRemindContent(StringUtils.isBlank(routeNode.getTextRemindContent()) ? null : routeNode.getTextRemindContent());
signPatientManageRouteNode.setNodeContent(StringUtils.isBlank(routeNode.getNodeContent()) ? null : routeNode.getNodeContent());
}
signPatientManageRouteNode.setMessagePushSign(Objects.isNull(routeNode.getMessagePushSign()) ? null : routeNode.getMessagePushSign());
signPatientManageRouteNode.setMessageTemplateId(Objects.isNull(routeNode.getMessageTemplateId()) ? null : routeNode.getMessageTemplateId());

View File

@ -213,7 +213,7 @@ public class TextMessageServiceImpl implements ITextMessageService {
throw new ServiceException("删除短信模板失败");
}
// 删除短信模板适用任务类型记录并检查结果
if (textMessageMapper.deleteTextMessageSuitTasks(ids) <= 0) {
if (textMessageMapper.deleteTextMessageSuitTasks(ids) < 0) {
throw new ServiceException("删除短信模板适用任务类型失败");
}
// 返回成功删除的记录数