管理节点信息表

This commit is contained in:
zhangheng 2024-03-13 11:49:58 +08:00
parent b99fa2c0c7
commit 4abbaa2bdd
6 changed files with 1246 additions and 0 deletions

View File

@ -0,0 +1,91 @@
package com.xinelu.manage.controller.specialdiseasenode;
import com.xinelu.common.annotation.Log;
import com.xinelu.common.core.controller.BaseController;
import com.xinelu.common.core.domain.AjaxResult;
import com.xinelu.common.core.page.TableDataInfo;
import com.xinelu.common.enums.BusinessType;
import com.xinelu.common.utils.poi.ExcelUtil;
import com.xinelu.manage.domain.specialdiseasenode.SpecialDiseaseNode;
import com.xinelu.manage.service.specialdiseasenode.ISpecialDiseaseNodeService;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* 专病路径-管理节点信息Controller
*
* @author xinelu
* @date 2024-03-13
*/
@RestController
@RequestMapping("/system/specialdiseasenode")
public class SpecialDiseaseNodeController extends BaseController {
@Resource
private ISpecialDiseaseNodeService specialDiseaseNodeService;
/**
* 查询专病路径-管理节点信息列表
*/
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:list')")
@GetMapping("/list")
public TableDataInfo list(SpecialDiseaseNode specialDiseaseNode) {
startPage();
List<SpecialDiseaseNode> list = specialDiseaseNodeService.selectSpecialDiseaseNodeList(specialDiseaseNode);
return getDataTable(list);
}
/**
* 导出专病路径-管理节点信息列表
*/
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:export')")
@Log(title = "专病路径-管理节点信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, SpecialDiseaseNode specialDiseaseNode) {
List<SpecialDiseaseNode> list = specialDiseaseNodeService.selectSpecialDiseaseNodeList(specialDiseaseNode);
ExcelUtil<SpecialDiseaseNode> util = new ExcelUtil<SpecialDiseaseNode>(SpecialDiseaseNode.class);
util.exportExcel(response, list, "专病路径-管理节点信息数据");
}
/**
* 获取专病路径-管理节点信息详细信息
*/
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) {
return AjaxResult.success(specialDiseaseNodeService.selectSpecialDiseaseNodeById(id));
}
/**
* 新增专病路径-管理节点信息
*/
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:add')")
@Log(title = "专病路径-管理节点信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody SpecialDiseaseNode specialDiseaseNode) {
return toAjax(specialDiseaseNodeService.insertSpecialDiseaseNode(specialDiseaseNode));
}
/**
* 修改专病路径-管理节点信息
*/
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:edit')")
@Log(title = "专病路径-管理节点信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody SpecialDiseaseNode specialDiseaseNode) {
return toAjax(specialDiseaseNodeService.updateSpecialDiseaseNode(specialDiseaseNode));
}
/**
* 删除专病路径-管理节点信息
*/
@PreAuthorize("@ss.hasPermi('system:specialdiseasenode:remove')")
@Log(title = "专病路径-管理节点信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(specialDiseaseNodeService.deleteSpecialDiseaseNodeByIds(ids));
}
}

View File

@ -0,0 +1,369 @@
package com.xinelu.manage.domain.specialdiseasenode;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.common.annotation.Excel;
import com.xinelu.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* 专病路径-管理节点信息对象 special_disease_node
*
* @author xinelu
* @date 2024-03-13
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "专病路径-管理节点信息对象", description = "special_disease_node")
public class SpecialDiseaseNode extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* 主键id
*/
private Long id;
/**
* 专病路径表id
*/
@ApiModelProperty(value = "专病路径表id")
@Excel(name = "专病路径表id")
private Long routeId;
/**
* 路径名称
*/
@ApiModelProperty(value = "路径名称")
@Excel(name = "路径名称")
private String routeName;
/**
* 节点名称出院后AFTER_DISCHARGE入院后AFTER_ADMISSION就诊后AFTER_CONSULTATION就诊/出院后AFTER_VISIT_DISCHARGE术前PREOPERATIVE术后POSTOPERATIVE
*/
@ApiModelProperty(value = "节点名称出院后AFTER_DISCHARGE入院后AFTER_ADMISSION就诊后AFTER_CONSULTATION就诊/出院后AFTER_VISIT_DISCHARGE术前PREOPERATIVE术后POSTOPERATIVE")
@Excel(name = "节点名称出院后AFTER_DISCHARGE入院后AFTER_ADMISSION就诊后AFTER_CONSULTATION就诊/出院后AFTER_VISIT_DISCHARGE术前PREOPERATIVE术后POSTOPERATIVE")
private String routeNodeName;
/**
* 节点天数单位
*/
@ApiModelProperty(value = "节点天数,单位:天")
@Excel(name = "节点天数,单位:天")
private Integer routeNodeDay;
/**
* 任务类型
*/
@ApiModelProperty(value = "任务类型")
@Excel(name = "任务类型")
private String taskType;
/**
* 任务细分
*/
@ApiModelProperty(value = "任务细分")
@Excel(name = "任务细分")
private String taskSubdivision;
/**
* 任务状态
*/
@ApiModelProperty(value = "任务状态")
@Excel(name = "任务状态")
private String taskStatus;
/**
* 二级分类描述
*/
@ApiModelProperty(value = "二级分类描述")
@Excel(name = "二级分类描述")
private String secondClassifyDescribe;
/**
* 执行时间格式HH:mm
*/
@ApiModelProperty(value = "执行时间格式HH:mm")
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "执行时间格式HH:mm", width = 30, dateFormat = "yyyy-MM-dd")
private Date executionTime;
/**
* 模板表id
*/
@ApiModelProperty(value = "模板表id")
@Excel(name = "模板表id")
private Long templateId;
/**
* 模板名称
*/
@ApiModelProperty(value = "模板名称")
@Excel(name = "模板名称")
private String templateName;
/**
* 模板类型话术SCRIPT微信WECHAT短信TEXT_MESSAGE问卷QUESTIONNAIRE宣教PROPAGANDA
*/
@ApiModelProperty(value = "模板类型话术SCRIPT微信WECHAT短信TEXT_MESSAGE问卷QUESTIONNAIRE宣教PROPAGANDA")
@Excel(name = "模板类型话术SCRIPT微信WECHAT短信TEXT_MESSAGE问卷QUESTIONNAIRE宣教PROPAGANDA")
private String templateType;
/**
* 短信推送标识0未开启1已开启
*/
@ApiModelProperty(value = "短信推送标识0未开启1已开启")
@Excel(name = "短信推送标识0未开启1已开启")
private Integer messagePushSign;
/**
* 短信模板表id
*/
@ApiModelProperty(value = "短信模板表id")
@Excel(name = "短信模板表id")
private Long messageTemplateId;
/**
* 短信模板名称
*/
@ApiModelProperty(value = "短信模板名称")
@Excel(name = "短信模板名称")
private String messageTemplateName;
/**
* 短信预览
*/
@ApiModelProperty(value = "短信预览")
@Excel(name = "短信预览")
private String messagePreview;
/**
* 短信节点内容富文本存放整个节点的信息包含标签画像的名称以及其它标签画像名称使用特殊符号进行标记
*/
@ApiModelProperty(value = "短信节点内容")
@Excel(name = "短信节点内容", readConverterExp = "富=文本存放整个节点的信息,包含标签画像的名称以及其它,标签画像名称使用特殊符号进行标记")
private String messageNodeContent;
/**
* 公众号推送标识0未开启1已开启
*/
@ApiModelProperty(value = "公众号推送标识0未开启1已开启")
@Excel(name = "公众号推送标识0未开启1已开启")
private Integer officialPushSign;
/**
* 公众号模板表id
*/
@ApiModelProperty(value = "公众号模板表id")
@Excel(name = "公众号模板表id")
private Long officialTemplateId;
/**
* 公众号模板名称
*/
@ApiModelProperty(value = "公众号模板名称")
@Excel(name = "公众号模板名称")
private String officialTemplateName;
/**
* 公众号提醒内容
*/
@ApiModelProperty(value = "公众号提醒内容")
@Excel(name = "公众号提醒内容")
private String officialRemindContent;
/**
* 公众号节点内容富文本存放整个节点的信息包含标签画像的名称以及其它标签画像名称使用特殊符号进行标记
*/
@ApiModelProperty(value = "公众号节点内容")
@Excel(name = "公众号节点内容", readConverterExp = "富=文本存放整个节点的信息,包含标签画像的名称以及其它,标签画像名称使用特殊符号进行标记")
private String officialNodeContent;
/**
* 小程序推送标识0未开启1已开启
*/
@ApiModelProperty(value = "小程序推送标识0未开启1已开启")
@Excel(name = "小程序推送标识0未开启1已开启")
private Integer appletPushSign;
/**
* 小程序模板表id
*/
@ApiModelProperty(value = "小程序模板表id")
@Excel(name = "小程序模板表id")
private Long appletTemplateId;
/**
* 小程序模板名称
*/
@ApiModelProperty(value = "小程序模板名称")
@Excel(name = "小程序模板名称")
private String appletTemplateName;
/**
* 小程序提醒内容
*/
@ApiModelProperty(value = "小程序提醒内容")
@Excel(name = "小程序提醒内容")
private String appletRemindContent;
/**
* 小程序提示说明
*/
@ApiModelProperty(value = "小程序提示说明")
@Excel(name = "小程序提示说明")
private String appletPromptDescription;
/**
* 小程序节点内容富文本存放整个节点的信息包含标签画像的名称以及其它标签画像名称使用特殊符号进行标记
*/
@ApiModelProperty(value = "小程序节点内容")
@Excel(name = "小程序节点内容", readConverterExp = "富=文本存放整个节点的信息,包含标签画像的名称以及其它,标签画像名称使用特殊符号进行标记")
private String appletNodeContent;
/**
* AL电话推送标识0未开启1已开启
*/
@ApiModelProperty(value = "AL电话推送标识0未开启1已开启")
@Excel(name = "AL电话推送标识0未开启1已开启")
private Integer phonePushSign;
/**
* AI电话模板表id
*/
@ApiModelProperty(value = "AI电话模板表id")
@Excel(name = "AI电话模板表id")
private Long phoneTemplateId;
/**
* AI电话模板名称
*/
@ApiModelProperty(value = "AI电话模板名称")
@Excel(name = "AI电话模板名称")
private String phoneTemplateName;
/**
* AI电话短信提醒不发送短信NOT_SEND_MESSAGE未接通发短信NOT_CONNECTED_SEND_MESSAGE接通后发短信CONNECTED_SEND_MESSAGE所有人发短信EVERYONE_SEND_MESSAGE
*/
@ApiModelProperty(value = "AI电话短信提醒不发送短信NOT_SEND_MESSAGE未接通发短信NOT_CONNECTED_SEND_MESSAGE接通后发短信CONNECTED_SEND_MESSAGE所有人发短信EVERYONE_SEND_MESSAGE")
@Excel(name = "AI电话短信提醒不发送短信NOT_SEND_MESSAGE未接通发短信NOT_CONNECTED_SEND_MESSAGE接通后发短信CONNECTED_SEND_MESSAGE所有人发短信EVERYONE_SEND_MESSAGE")
private String phoneMessageRemind;
/**
* AI电话短信模板表id
*/
@ApiModelProperty(value = "AI电话短信模板表id")
@Excel(name = "AI电话短信模板表id")
private Long phoneMessageTemplateId;
/**
* AI电话短信模板名称
*/
@ApiModelProperty(value = "AI电话短信模板名称")
@Excel(name = "AI电话短信模板名称")
private String phoneMessageTemplateName;
/**
* AI电话机构名称
*/
@ApiModelProperty(value = "AI电话机构名称")
@Excel(name = "AI电话机构名称")
private String phoneAgencyName;
/**
* AI电话节点内容富文本存放整个节点的信息包含标签画像的名称以及其它标签画像名称使用特殊符号进行标记
*/
@ApiModelProperty(value = "AI电话节点内容")
@Excel(name = "AI电话节点内容", readConverterExp = "富=文本存放整个节点的信息,包含标签画像的名称以及其它,标签画像名称使用特殊符号进行标记")
private String phoneNodeContent;
/**
* 节点审核状态同意AGREE不同意DISAGREE
*/
@ApiModelProperty(value = "节点审核状态同意AGREE不同意DISAGREE")
@Excel(name = "节点审核状态同意AGREE不同意DISAGREE")
private String routeCheckStatus;
/**
* 节点审核人姓名
*/
@ApiModelProperty(value = "节点审核人姓名")
@Excel(name = "节点审核人姓名")
private String routeCheckPerson;
/**
* 节点审核时间
*/
@ApiModelProperty(value = "节点审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "节点审核时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date routeCheckDate;
/**
* 节点审核备注信息存储审核备注信息以及审核不通过原因等信息
*/
@ApiModelProperty(value = "节点审核备注信息,存储审核备注信息以及审核不通过原因等信息")
@Excel(name = "节点审核备注信息,存储审核备注信息以及审核不通过原因等信息")
private String routeCheckRemark;
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("routeId", getRouteId())
.append("routeName", getRouteName())
.append("routeNodeName", getRouteNodeName())
.append("routeNodeDay", getRouteNodeDay())
.append("taskType", getTaskType())
.append("taskSubdivision", getTaskSubdivision())
.append("taskStatus", getTaskStatus())
.append("secondClassifyDescribe", getSecondClassifyDescribe())
.append("executionTime", getExecutionTime())
.append("templateId", getTemplateId())
.append("templateName", getTemplateName())
.append("templateType", getTemplateType())
.append("messagePushSign", getMessagePushSign())
.append("messageTemplateId", getMessageTemplateId())
.append("messageTemplateName", getMessageTemplateName())
.append("messagePreview", getMessagePreview())
.append("messageNodeContent", getMessageNodeContent())
.append("officialPushSign", getOfficialPushSign())
.append("officialTemplateId", getOfficialTemplateId())
.append("officialTemplateName", getOfficialTemplateName())
.append("officialRemindContent", getOfficialRemindContent())
.append("officialNodeContent", getOfficialNodeContent())
.append("appletPushSign", getAppletPushSign())
.append("appletTemplateId", getAppletTemplateId())
.append("appletTemplateName", getAppletTemplateName())
.append("appletRemindContent", getAppletRemindContent())
.append("appletPromptDescription", getAppletPromptDescription())
.append("appletNodeContent", getAppletNodeContent())
.append("phonePushSign", getPhonePushSign())
.append("phoneTemplateId", getPhoneTemplateId())
.append("phoneTemplateName", getPhoneTemplateName())
.append("phoneMessageRemind", getPhoneMessageRemind())
.append("phoneMessageTemplateId", getPhoneMessageTemplateId())
.append("phoneMessageTemplateName", getPhoneMessageTemplateName())
.append("phoneAgencyName", getPhoneAgencyName())
.append("phoneNodeContent", getPhoneNodeContent())
.append("routeCheckStatus", getRouteCheckStatus())
.append("routeCheckPerson", getRouteCheckPerson())
.append("routeCheckDate", getRouteCheckDate())
.append("routeCheckRemark", getRouteCheckRemark())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}

View File

@ -0,0 +1,62 @@
package com.xinelu.manage.mapper.specialdiseasenode;
import com.xinelu.manage.domain.specialdiseasenode.SpecialDiseaseNode;
import java.util.List;
/**
* 专病路径-管理节点信息Mapper接口
*
* @author xinelu
* @date 2024-03-13
*/
public interface SpecialDiseaseNodeMapper {
/**
* 查询专病路径-管理节点信息
*
* @param id 专病路径-管理节点信息主键
* @return 专病路径-管理节点信息
*/
public SpecialDiseaseNode selectSpecialDiseaseNodeById(Long id);
/**
* 查询专病路径-管理节点信息列表
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 专病路径-管理节点信息集合
*/
public List<SpecialDiseaseNode> selectSpecialDiseaseNodeList(SpecialDiseaseNode specialDiseaseNode);
/**
* 新增专病路径-管理节点信息
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 结果
*/
public int insertSpecialDiseaseNode(SpecialDiseaseNode specialDiseaseNode);
/**
* 修改专病路径-管理节点信息
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 结果
*/
public int updateSpecialDiseaseNode(SpecialDiseaseNode specialDiseaseNode);
/**
* 删除专病路径-管理节点信息
*
* @param id 专病路径-管理节点信息主键
* @return 结果
*/
public int deleteSpecialDiseaseNodeById(Long id);
/**
* 批量删除专病路径-管理节点信息
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteSpecialDiseaseNodeByIds(Long[] ids);
}

View File

@ -0,0 +1,61 @@
package com.xinelu.manage.service.specialdiseasenode;
import com.xinelu.manage.domain.specialdiseasenode.SpecialDiseaseNode;
import java.util.List;
/**
* 专病路径-管理节点信息Service接口
*
* @author xinelu
* @date 2024-03-13
*/
public interface ISpecialDiseaseNodeService {
/**
* 查询专病路径-管理节点信息
*
* @param id 专病路径-管理节点信息主键
* @return 专病路径-管理节点信息
*/
public SpecialDiseaseNode selectSpecialDiseaseNodeById(Long id);
/**
* 查询专病路径-管理节点信息列表
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 专病路径-管理节点信息集合
*/
public List<SpecialDiseaseNode> selectSpecialDiseaseNodeList(SpecialDiseaseNode specialDiseaseNode);
/**
* 新增专病路径-管理节点信息
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 结果
*/
public int insertSpecialDiseaseNode(SpecialDiseaseNode specialDiseaseNode);
/**
* 修改专病路径-管理节点信息
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 结果
*/
public int updateSpecialDiseaseNode(SpecialDiseaseNode specialDiseaseNode);
/**
* 批量删除专病路径-管理节点信息
*
* @param ids 需要删除的专病路径-管理节点信息主键集合
* @return 结果
*/
public int deleteSpecialDiseaseNodeByIds(Long[] ids);
/**
* 删除专病路径-管理节点信息信息
*
* @param id 专病路径-管理节点信息主键
* @return 结果
*/
public int deleteSpecialDiseaseNodeById(Long id);
}

View File

@ -0,0 +1,91 @@
package com.xinelu.manage.service.specialdiseasenode.impl;
import com.xinelu.common.utils.DateUtils;
import com.xinelu.manage.domain.specialdiseasenode.SpecialDiseaseNode;
import com.xinelu.manage.mapper.specialdiseasenode.SpecialDiseaseNodeMapper;
import com.xinelu.manage.service.specialdiseasenode.ISpecialDiseaseNodeService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
/**
* 专病路径-管理节点信息Service业务层处理
*
* @author xinelu
* @date 2024-03-13
*/
@Service
public class SpecialDiseaseNodeServiceImpl implements ISpecialDiseaseNodeService {
@Resource
private SpecialDiseaseNodeMapper specialDiseaseNodeMapper;
/**
* 查询专病路径-管理节点信息
*
* @param id 专病路径-管理节点信息主键
* @return 专病路径-管理节点信息
*/
@Override
public SpecialDiseaseNode selectSpecialDiseaseNodeById(Long id) {
return specialDiseaseNodeMapper.selectSpecialDiseaseNodeById(id);
}
/**
* 查询专病路径-管理节点信息列表
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 专病路径-管理节点信息
*/
@Override
public List<SpecialDiseaseNode> selectSpecialDiseaseNodeList(SpecialDiseaseNode specialDiseaseNode) {
return specialDiseaseNodeMapper.selectSpecialDiseaseNodeList(specialDiseaseNode);
}
/**
* 新增专病路径-管理节点信息
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 结果
*/
@Override
public int insertSpecialDiseaseNode(SpecialDiseaseNode specialDiseaseNode) {
specialDiseaseNode.setCreateTime(DateUtils.getNowDate());
return specialDiseaseNodeMapper.insertSpecialDiseaseNode(specialDiseaseNode);
}
/**
* 修改专病路径-管理节点信息
*
* @param specialDiseaseNode 专病路径-管理节点信息
* @return 结果
*/
@Override
public int updateSpecialDiseaseNode(SpecialDiseaseNode specialDiseaseNode) {
specialDiseaseNode.setUpdateTime(DateUtils.getNowDate());
return specialDiseaseNodeMapper.updateSpecialDiseaseNode(specialDiseaseNode);
}
/**
* 批量删除专病路径-管理节点信息
*
* @param ids 需要删除的专病路径-管理节点信息主键
* @return 结果
*/
@Override
public int deleteSpecialDiseaseNodeByIds(Long[] ids) {
return specialDiseaseNodeMapper.deleteSpecialDiseaseNodeByIds(ids);
}
/**
* 删除专病路径-管理节点信息信息
*
* @param id 专病路径-管理节点信息主键
* @return 结果
*/
@Override
public int deleteSpecialDiseaseNodeById(Long id) {
return specialDiseaseNodeMapper.deleteSpecialDiseaseNodeById(id);
}
}

View File

@ -0,0 +1,572 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xinelu.manage.mapper.specialdiseasenode.SpecialDiseaseNodeMapper">
<resultMap type="SpecialDiseaseNode" id="SpecialDiseaseNodeResult">
<result property="id" column="id"/>
<result property="routeId" column="route_id"/>
<result property="routeName" column="route_name"/>
<result property="routeNodeName" column="route_node_name"/>
<result property="routeNodeDay" column="route_node_day"/>
<result property="taskType" column="task_type"/>
<result property="taskSubdivision" column="task_subdivision"/>
<result property="taskStatus" column="task_status"/>
<result property="secondClassifyDescribe" column="second_classify_describe"/>
<result property="executionTime" column="execution_time"/>
<result property="templateId" column="template_id"/>
<result property="templateName" column="template_name"/>
<result property="templateType" column="template_type"/>
<result property="messagePushSign" column="message_push_sign"/>
<result property="messageTemplateId" column="message_template__id"/>
<result property="messageTemplateName" column="message_template_name"/>
<result property="messagePreview" column="message_preview"/>
<result property="messageNodeContent" column="message_node_content"/>
<result property="officialPushSign" column="official_push_sign"/>
<result property="officialTemplateId" column="official_template_id"/>
<result property="officialTemplateName" column="official_template_name"/>
<result property="officialRemindContent" column="official_remind_content"/>
<result property="officialNodeContent" column="official_node_content"/>
<result property="appletPushSign" column="applet_push_sign"/>
<result property="appletTemplateId" column="applet_template_id"/>
<result property="appletTemplateName" column="applet_template_name"/>
<result property="appletRemindContent" column="applet_remind_content"/>
<result property="appletPromptDescription" column="applet_prompt_description"/>
<result property="appletNodeContent" column="applet_node_content"/>
<result property="phonePushSign" column="phone_push_sign"/>
<result property="phoneTemplateId" column="phone_template_id"/>
<result property="phoneTemplateName" column="phone_template_name"/>
<result property="phoneMessageRemind" column="phone_message_remind"/>
<result property="phoneMessageTemplateId" column="phone_message_template_id"/>
<result property="phoneMessageTemplateName" column="phone_message_template_name"/>
<result property="phoneAgencyName" column="phone_agency_name"/>
<result property="phoneNodeContent" column="phone_node_content"/>
<result property="routeCheckStatus" column="route_check_status"/>
<result property="routeCheckPerson" column="route_check_person"/>
<result property="routeCheckDate" column="route_check_date"/>
<result property="routeCheckRemark" column="route_check_remark"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
</resultMap>
<sql id="selectSpecialDiseaseNodeVo">
select id,
route_id,
route_name,
route_node_name,
route_node_day,
task_type,
task_subdivision,
task_status,
second_classify_describe,
execution_time,
template_id,
template_name,
template_type,
message_push_sign,
message_template__id,
message_template_name,
message_preview,
message_node_content,
official_push_sign,
official_template_id,
official_template_name,
official_remind_content,
official_node_content,
applet_push_sign,
applet_template_id,
applet_template_name,
applet_remind_content,
applet_prompt_description,
applet_node_content,
phone_push_sign,
phone_template_id,
phone_template_name,
phone_message_remind,
phone_message_template_id,
phone_message_template_name,
phone_agency_name,
phone_node_content,
route_check_status,
route_check_person,
route_check_date,
route_check_remark,
create_by,
create_time,
update_by,
update_time
from special_disease_node
</sql>
<select id="selectSpecialDiseaseNodeList" parameterType="SpecialDiseaseNode" resultMap="SpecialDiseaseNodeResult">
<include refid="selectSpecialDiseaseNodeVo"/>
<where>
<if test="routeId != null ">
and route_id = #{routeId}
</if>
<if test="routeName != null and routeName != ''">
and route_name like concat('%', #{routeName}, '%')
</if>
<if test="routeNodeName != null and routeNodeName != ''">
and route_node_name like concat('%', #{routeNodeName}, '%')
</if>
<if test="routeNodeDay != null ">
and route_node_day = #{routeNodeDay}
</if>
<if test="taskType != null and taskType != ''">
and task_type = #{taskType}
</if>
<if test="taskSubdivision != null and taskSubdivision != ''">
and task_subdivision = #{taskSubdivision}
</if>
<if test="taskStatus != null and taskStatus != ''">
and task_status = #{taskStatus}
</if>
<if test="secondClassifyDescribe != null and secondClassifyDescribe != ''">
and second_classify_describe = #{secondClassifyDescribe}
</if>
<if test="executionTime != null ">
and execution_time = #{executionTime}
</if>
<if test="templateId != null ">
and template_id = #{templateId}
</if>
<if test="templateName != null and templateName != ''">
and template_name like concat('%', #{templateName}, '%')
</if>
<if test="templateType != null and templateType != ''">
and template_type = #{templateType}
</if>
<if test="messagePushSign != null ">
and message_push_sign = #{messagePushSign}
</if>
<if test="messageTemplateId != null ">
and message_template__id = #{messageTemplateId}
</if>
<if test="messageTemplateName != null and messageTemplateName != ''">
and message_template_name like concat('%', #{messageTemplateName}, '%')
</if>
<if test="messagePreview != null and messagePreview != ''">
and message_preview = #{messagePreview}
</if>
<if test="messageNodeContent != null and messageNodeContent != ''">
and message_node_content = #{messageNodeContent}
</if>
<if test="officialPushSign != null ">
and official_push_sign = #{officialPushSign}
</if>
<if test="officialTemplateId != null ">
and official_template_id = #{officialTemplateId}
</if>
<if test="officialTemplateName != null and officialTemplateName != ''">
and official_template_name like concat('%', #{officialTemplateName}, '%')
</if>
<if test="officialRemindContent != null and officialRemindContent != ''">
and official_remind_content = #{officialRemindContent}
</if>
<if test="officialNodeContent != null and officialNodeContent != ''">
and official_node_content = #{officialNodeContent}
</if>
<if test="appletPushSign != null ">
and applet_push_sign = #{appletPushSign}
</if>
<if test="appletTemplateId != null ">
and applet_template_id = #{appletTemplateId}
</if>
<if test="appletTemplateName != null and appletTemplateName != ''">
and applet_template_name like concat('%', #{appletTemplateName}, '%')
</if>
<if test="appletRemindContent != null and appletRemindContent != ''">
and applet_remind_content = #{appletRemindContent}
</if>
<if test="appletPromptDescription != null and appletPromptDescription != ''">
and applet_prompt_description = #{appletPromptDescription}
</if>
<if test="appletNodeContent != null and appletNodeContent != ''">
and applet_node_content = #{appletNodeContent}
</if>
<if test="phonePushSign != null ">
and phone_push_sign = #{phonePushSign}
</if>
<if test="phoneTemplateId != null ">
and phone_template_id = #{phoneTemplateId}
</if>
<if test="phoneTemplateName != null and phoneTemplateName != ''">
and phone_template_name like concat('%', #{phoneTemplateName}, '%')
</if>
<if test="phoneMessageRemind != null and phoneMessageRemind != ''">
and phone_message_remind = #{phoneMessageRemind}
</if>
<if test="phoneMessageTemplateId != null ">
and phone_message_template_id = #{phoneMessageTemplateId}
</if>
<if test="phoneMessageTemplateName != null and phoneMessageTemplateName != ''">
and phone_message_template_name like concat('%', #{phoneMessageTemplateName}, '%')
</if>
<if test="phoneAgencyName != null and phoneAgencyName != ''">
and phone_agency_name like concat('%', #{phoneAgencyName}, '%')
</if>
<if test="phoneNodeContent != null and phoneNodeContent != ''">
and phone_node_content = #{phoneNodeContent}
</if>
<if test="routeCheckStatus != null and routeCheckStatus != ''">
and route_check_status = #{routeCheckStatus}
</if>
<if test="routeCheckPerson != null and routeCheckPerson != ''">
and route_check_person = #{routeCheckPerson}
</if>
<if test="routeCheckDate != null ">
and route_check_date = #{routeCheckDate}
</if>
<if test="routeCheckRemark != null and routeCheckRemark != ''">
and route_check_remark = #{routeCheckRemark}
</if>
</where>
</select>
<select id="selectSpecialDiseaseNodeById" parameterType="Long"
resultMap="SpecialDiseaseNodeResult">
<include refid="selectSpecialDiseaseNodeVo"/>
where id = #{id}
</select>
<insert id="insertSpecialDiseaseNode" parameterType="SpecialDiseaseNode" useGeneratedKeys="true"
keyProperty="id">
insert into special_disease_node
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="routeId != null">route_id,
</if>
<if test="routeName != null">route_name,
</if>
<if test="routeNodeName != null">route_node_name,
</if>
<if test="routeNodeDay != null">route_node_day,
</if>
<if test="taskType != null">task_type,
</if>
<if test="taskSubdivision != null">task_subdivision,
</if>
<if test="taskStatus != null">task_status,
</if>
<if test="secondClassifyDescribe != null">second_classify_describe,
</if>
<if test="executionTime != null">execution_time,
</if>
<if test="templateId != null">template_id,
</if>
<if test="templateName != null">template_name,
</if>
<if test="templateType != null">template_type,
</if>
<if test="messagePushSign != null">message_push_sign,
</if>
<if test="messageTemplateId != null">message_template__id,
</if>
<if test="messageTemplateName != null">message_template_name,
</if>
<if test="messagePreview != null">message_preview,
</if>
<if test="messageNodeContent != null">message_node_content,
</if>
<if test="officialPushSign != null">official_push_sign,
</if>
<if test="officialTemplateId != null">official_template_id,
</if>
<if test="officialTemplateName != null">official_template_name,
</if>
<if test="officialRemindContent != null">official_remind_content,
</if>
<if test="officialNodeContent != null">official_node_content,
</if>
<if test="appletPushSign != null">applet_push_sign,
</if>
<if test="appletTemplateId != null">applet_template_id,
</if>
<if test="appletTemplateName != null">applet_template_name,
</if>
<if test="appletRemindContent != null">applet_remind_content,
</if>
<if test="appletPromptDescription != null">applet_prompt_description,
</if>
<if test="appletNodeContent != null">applet_node_content,
</if>
<if test="phonePushSign != null">phone_push_sign,
</if>
<if test="phoneTemplateId != null">phone_template_id,
</if>
<if test="phoneTemplateName != null">phone_template_name,
</if>
<if test="phoneMessageRemind != null">phone_message_remind,
</if>
<if test="phoneMessageTemplateId != null">phone_message_template_id,
</if>
<if test="phoneMessageTemplateName != null">phone_message_template_name,
</if>
<if test="phoneAgencyName != null">phone_agency_name,
</if>
<if test="phoneNodeContent != null">phone_node_content,
</if>
<if test="routeCheckStatus != null">route_check_status,
</if>
<if test="routeCheckPerson != null">route_check_person,
</if>
<if test="routeCheckDate != null">route_check_date,
</if>
<if test="routeCheckRemark != null">route_check_remark,
</if>
<if test="createBy != null">create_by,
</if>
<if test="createTime != null">create_time,
</if>
<if test="updateBy != null">update_by,
</if>
<if test="updateTime != null">update_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="routeId != null">#{routeId},
</if>
<if test="routeName != null">#{routeName},
</if>
<if test="routeNodeName != null">#{routeNodeName},
</if>
<if test="routeNodeDay != null">#{routeNodeDay},
</if>
<if test="taskType != null">#{taskType},
</if>
<if test="taskSubdivision != null">#{taskSubdivision},
</if>
<if test="taskStatus != null">#{taskStatus},
</if>
<if test="secondClassifyDescribe != null">#{secondClassifyDescribe},
</if>
<if test="executionTime != null">#{executionTime},
</if>
<if test="templateId != null">#{templateId},
</if>
<if test="templateName != null">#{templateName},
</if>
<if test="templateType != null">#{templateType},
</if>
<if test="messagePushSign != null">#{messagePushSign},
</if>
<if test="messageTemplateId != null">#{messageTemplateId},
</if>
<if test="messageTemplateName != null">#{messageTemplateName},
</if>
<if test="messagePreview != null">#{messagePreview},
</if>
<if test="messageNodeContent != null">#{messageNodeContent},
</if>
<if test="officialPushSign != null">#{officialPushSign},
</if>
<if test="officialTemplateId != null">#{officialTemplateId},
</if>
<if test="officialTemplateName != null">#{officialTemplateName},
</if>
<if test="officialRemindContent != null">#{officialRemindContent},
</if>
<if test="officialNodeContent != null">#{officialNodeContent},
</if>
<if test="appletPushSign != null">#{appletPushSign},
</if>
<if test="appletTemplateId != null">#{appletTemplateId},
</if>
<if test="appletTemplateName != null">#{appletTemplateName},
</if>
<if test="appletRemindContent != null">#{appletRemindContent},
</if>
<if test="appletPromptDescription != null">#{appletPromptDescription},
</if>
<if test="appletNodeContent != null">#{appletNodeContent},
</if>
<if test="phonePushSign != null">#{phonePushSign},
</if>
<if test="phoneTemplateId != null">#{phoneTemplateId},
</if>
<if test="phoneTemplateName != null">#{phoneTemplateName},
</if>
<if test="phoneMessageRemind != null">#{phoneMessageRemind},
</if>
<if test="phoneMessageTemplateId != null">#{phoneMessageTemplateId},
</if>
<if test="phoneMessageTemplateName != null">#{phoneMessageTemplateName},
</if>
<if test="phoneAgencyName != null">#{phoneAgencyName},
</if>
<if test="phoneNodeContent != null">#{phoneNodeContent},
</if>
<if test="routeCheckStatus != null">#{routeCheckStatus},
</if>
<if test="routeCheckPerson != null">#{routeCheckPerson},
</if>
<if test="routeCheckDate != null">#{routeCheckDate},
</if>
<if test="routeCheckRemark != null">#{routeCheckRemark},
</if>
<if test="createBy != null">#{createBy},
</if>
<if test="createTime != null">#{createTime},
</if>
<if test="updateBy != null">#{updateBy},
</if>
<if test="updateTime != null">#{updateTime},
</if>
</trim>
</insert>
<update id="updateSpecialDiseaseNode" parameterType="SpecialDiseaseNode">
update special_disease_node
<trim prefix="SET" suffixOverrides=",">
<if test="routeId != null">route_id =
#{routeId},
</if>
<if test="routeName != null">route_name =
#{routeName},
</if>
<if test="routeNodeName != null">route_node_name =
#{routeNodeName},
</if>
<if test="routeNodeDay != null">route_node_day =
#{routeNodeDay},
</if>
<if test="taskType != null">task_type =
#{taskType},
</if>
<if test="taskSubdivision != null">task_subdivision =
#{taskSubdivision},
</if>
<if test="taskStatus != null">task_status =
#{taskStatus},
</if>
<if test="secondClassifyDescribe != null">second_classify_describe =
#{secondClassifyDescribe},
</if>
<if test="executionTime != null">execution_time =
#{executionTime},
</if>
<if test="templateId != null">template_id =
#{templateId},
</if>
<if test="templateName != null">template_name =
#{templateName},
</if>
<if test="templateType != null">template_type =
#{templateType},
</if>
<if test="messagePushSign != null">message_push_sign =
#{messagePushSign},
</if>
<if test="messageTemplateId != null">message_template__id =
#{messageTemplateId},
</if>
<if test="messageTemplateName != null">message_template_name =
#{messageTemplateName},
</if>
<if test="messagePreview != null">message_preview =
#{messagePreview},
</if>
<if test="messageNodeContent != null">message_node_content =
#{messageNodeContent},
</if>
<if test="officialPushSign != null">official_push_sign =
#{officialPushSign},
</if>
<if test="officialTemplateId != null">official_template_id =
#{officialTemplateId},
</if>
<if test="officialTemplateName != null">official_template_name =
#{officialTemplateName},
</if>
<if test="officialRemindContent != null">official_remind_content =
#{officialRemindContent},
</if>
<if test="officialNodeContent != null">official_node_content =
#{officialNodeContent},
</if>
<if test="appletPushSign != null">applet_push_sign =
#{appletPushSign},
</if>
<if test="appletTemplateId != null">applet_template_id =
#{appletTemplateId},
</if>
<if test="appletTemplateName != null">applet_template_name =
#{appletTemplateName},
</if>
<if test="appletRemindContent != null">applet_remind_content =
#{appletRemindContent},
</if>
<if test="appletPromptDescription != null">applet_prompt_description =
#{appletPromptDescription},
</if>
<if test="appletNodeContent != null">applet_node_content =
#{appletNodeContent},
</if>
<if test="phonePushSign != null">phone_push_sign =
#{phonePushSign},
</if>
<if test="phoneTemplateId != null">phone_template_id =
#{phoneTemplateId},
</if>
<if test="phoneTemplateName != null">phone_template_name =
#{phoneTemplateName},
</if>
<if test="phoneMessageRemind != null">phone_message_remind =
#{phoneMessageRemind},
</if>
<if test="phoneMessageTemplateId != null">phone_message_template_id =
#{phoneMessageTemplateId},
</if>
<if test="phoneMessageTemplateName != null">phone_message_template_name =
#{phoneMessageTemplateName},
</if>
<if test="phoneAgencyName != null">phone_agency_name =
#{phoneAgencyName},
</if>
<if test="phoneNodeContent != null">phone_node_content =
#{phoneNodeContent},
</if>
<if test="routeCheckStatus != null">route_check_status =
#{routeCheckStatus},
</if>
<if test="routeCheckPerson != null">route_check_person =
#{routeCheckPerson},
</if>
<if test="routeCheckDate != null">route_check_date =
#{routeCheckDate},
</if>
<if test="routeCheckRemark != null">route_check_remark =
#{routeCheckRemark},
</if>
<if test="createBy != null">create_by =
#{createBy},
</if>
<if test="createTime != null">create_time =
#{createTime},
</if>
<if test="updateBy != null">update_by =
#{updateBy},
</if>
<if test="updateTime != null">update_time =
#{updateTime},
</if>
</trim>
where id = #{id}
</update>
<delete id="deleteSpecialDiseaseNodeById" parameterType="Long">
delete
from special_disease_node
where id = #{id}
</delete>
<delete id="deleteSpecialDiseaseNodeByIds" parameterType="String">
delete from special_disease_node where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>