患者管理任务执行记录表列表
This commit is contained in:
parent
c4dfd45109
commit
8666ddc15c
@ -80,8 +80,8 @@ public class PatientTaskExecuteRecord extends BaseEntity {
|
|||||||
* 任务内容,电话外呼:PHONE_OUTBOUND,问卷量表:QUESTIONNAIRE_SCALE,宣教文章:PROPAGANDA_ARTICLE,文字提醒:TEXT_REMIND,人工随访:ARTIFICIAL_FOLLOW_UP
|
* 任务内容,电话外呼:PHONE_OUTBOUND,问卷量表:QUESTIONNAIRE_SCALE,宣教文章:PROPAGANDA_ARTICLE,文字提醒:TEXT_REMIND,人工随访:ARTIFICIAL_FOLLOW_UP
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "任务内容,电话外呼:PHONE_OUTBOUND,问卷量表:QUESTIONNAIRE_SCALE,宣教文章:PROPAGANDA_ARTICLE,文字提醒:TEXT_REMIND,人工随访:ARTIFICIAL_FOLLOW_UP")
|
@ApiModelProperty(value = "任务内容,电话外呼:PHONE_OUTBOUND,问卷量表:QUESTIONNAIRE_SCALE,宣教文章:PROPAGANDA_ARTICLE,文字提醒:TEXT_REMIND,人工随访:ARTIFICIAL_FOLLOW_UP")
|
||||||
@Excel(name = "任务内容,电话外呼:PHONE_OUTBOUND,问卷量表:QUESTIONNAIRE_SCALE,宣教文章:PROPAGANDA_ARTICLE,文字提醒:TEXT_REMIND,人工随访:ARTIFICIAL_FOLLOW_UP")
|
@Excel(name = "任务内容,电话外呼:PHONE_OUTBOUND,问卷量表:QUESTIONNAIRE_SCALE,宣教文章:PROPAGANDA_ARTICLE,文字提醒:TEXT_REMIND")
|
||||||
private String taskContent;
|
private String taskNodeType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 任务执行时间,格式:yyyy-MM-dd HH:mm:ss
|
* 任务执行时间,格式:yyyy-MM-dd HH:mm:ss
|
||||||
@ -126,7 +126,7 @@ public class PatientTaskExecuteRecord extends BaseEntity {
|
|||||||
.append("patientName", getPatientName())
|
.append("patientName", getPatientName())
|
||||||
.append("manageRouteName", getManageRouteName())
|
.append("manageRouteName", getManageRouteName())
|
||||||
.append("manageRouteNodeName", getManageRouteNodeName())
|
.append("manageRouteNodeName", getManageRouteNodeName())
|
||||||
.append("taskContent", getTaskContent())
|
.append("taskNodeType", getTaskNodeType())
|
||||||
.append("executeTime", getExecuteTime())
|
.append("executeTime", getExecuteTime())
|
||||||
.append("executePerson", getExecutePerson())
|
.append("executePerson", getExecutePerson())
|
||||||
.append("executeType", getExecuteType())
|
.append("executeType", getExecuteType())
|
||||||
|
|||||||
@ -649,7 +649,7 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
|
|||||||
private Long insertPatientTaskExecuteRecord(PatientQuestionSubmitResultDTO dto, String routeHandlePerson, LocalDateTime time) {
|
private Long insertPatientTaskExecuteRecord(PatientQuestionSubmitResultDTO dto, String routeHandlePerson, LocalDateTime time) {
|
||||||
PatientTaskExecuteRecord patientTaskExecuteRecord = new PatientTaskExecuteRecord();
|
PatientTaskExecuteRecord patientTaskExecuteRecord = new PatientTaskExecuteRecord();
|
||||||
BeanUtils.copyProperties(dto, patientTaskExecuteRecord);
|
BeanUtils.copyProperties(dto, patientTaskExecuteRecord);
|
||||||
patientTaskExecuteRecord.setTaskContent(dto.getTaskNodeType());
|
patientTaskExecuteRecord.setTaskNodeType(dto.getTaskNodeType());
|
||||||
patientTaskExecuteRecord.setExecuteTime(time);
|
patientTaskExecuteRecord.setExecuteTime(time);
|
||||||
patientTaskExecuteRecord.setExecutePerson(routeHandlePerson);
|
patientTaskExecuteRecord.setExecutePerson(routeHandlePerson);
|
||||||
patientTaskExecuteRecord.setExecuteType(TaskCreateTypeConstant.MANUAL_CREATE);
|
patientTaskExecuteRecord.setExecuteType(TaskCreateTypeConstant.MANUAL_CREATE);
|
||||||
|
|||||||
@ -111,7 +111,7 @@ public class PatientTaskExecuteRecordVO extends PatientTaskExecuteRecord {
|
|||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "任务类型,电话外呼:PHONE_OUTBOUND,问卷量表:QUESTIONNAIRE_SCALE,宣教文章:PROPAGANDA_ARTICLE,文字提醒:TEXT_REMIND,人工随访:ARTIFICIAL_FOLLOW_UP")
|
@ApiModelProperty(value = "任务类型,电话外呼:PHONE_OUTBOUND,问卷量表:QUESTIONNAIRE_SCALE,宣教文章:PROPAGANDA_ARTICLE,文字提醒:TEXT_REMIND,人工随访:ARTIFICIAL_FOLLOW_UP")
|
||||||
private String taskType;
|
private String taskNodeType;
|
||||||
|
|
||||||
@ApiModelProperty(value = "模板id")
|
@ApiModelProperty(value = "模板id")
|
||||||
private String templateId;
|
private String templateId;
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
<result property="patientName" column="patient_name"/>
|
<result property="patientName" column="patient_name"/>
|
||||||
<result property="manageRouteName" column="manage_route_name"/>
|
<result property="manageRouteName" column="manage_route_name"/>
|
||||||
<result property="manageRouteNodeName" column="manage_route_node_name"/>
|
<result property="manageRouteNodeName" column="manage_route_node_name"/>
|
||||||
<result property="taskContent" column="task_content"/>
|
<result property="taskNodeType" column="task_node_type"/>
|
||||||
<result property="executeTime" column="execute_time"/>
|
<result property="executeTime" column="execute_time"/>
|
||||||
<result property="executePerson" column="execute_person"/>
|
<result property="executePerson" column="execute_person"/>
|
||||||
<result property="executeType" column="execute_type"/>
|
<result property="executeType" column="execute_type"/>
|
||||||
@ -32,7 +32,7 @@
|
|||||||
patient_name,
|
patient_name,
|
||||||
manage_route_name,
|
manage_route_name,
|
||||||
manage_route_node_name,
|
manage_route_node_name,
|
||||||
task_content,
|
task_node_type,
|
||||||
execute_time,
|
execute_time,
|
||||||
execute_person,
|
execute_person,
|
||||||
execute_type,
|
execute_type,
|
||||||
@ -70,8 +70,8 @@
|
|||||||
<if test="manageRouteNodeName != null and manageRouteNodeName != ''">
|
<if test="manageRouteNodeName != null and manageRouteNodeName != ''">
|
||||||
and manage_route_node_name like concat('%', #{manageRouteNodeName}, '%')
|
and manage_route_node_name like concat('%', #{manageRouteNodeName}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="taskContent != null and taskContent != ''">
|
<if test="taskNodeType != null and taskNodeType != ''">
|
||||||
and task_content = #{taskContent}
|
and task_node_type = #{taskNodeType}
|
||||||
</if>
|
</if>
|
||||||
<if test="executeTime != null ">
|
<if test="executeTime != null ">
|
||||||
and execute_time = #{executeTime}
|
and execute_time = #{executeTime}
|
||||||
@ -97,7 +97,7 @@
|
|||||||
pter.patient_name,
|
pter.patient_name,
|
||||||
pter.manage_route_name,
|
pter.manage_route_name,
|
||||||
pter.manage_route_node_name,
|
pter.manage_route_node_name,
|
||||||
pter.task_content,
|
pter.task_node_type,
|
||||||
pter.execute_time,
|
pter.execute_time,
|
||||||
pter.execute_person,
|
pter.execute_person,
|
||||||
pter.execute_type,
|
pter.execute_type,
|
||||||
@ -113,7 +113,7 @@
|
|||||||
pi.discharge_time,
|
pi.discharge_time,
|
||||||
pi.in_hospital_number,
|
pi.in_hospital_number,
|
||||||
pi.patient_phone,
|
pi.patient_phone,
|
||||||
spmrn.task_type,
|
spmrn.task_node_type,
|
||||||
spmrn.route_handle_remark,
|
spmrn.route_handle_remark,
|
||||||
CASE
|
CASE
|
||||||
WHEN spmrn.task_type = 'PHONE_OUTBOUND' THEN spmrn.phone_id
|
WHEN spmrn.task_type = 'PHONE_OUTBOUND' THEN spmrn.phone_id
|
||||||
@ -176,7 +176,7 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="manageRouteNodeName != null">manage_route_node_name,
|
<if test="manageRouteNodeName != null">manage_route_node_name,
|
||||||
</if>
|
</if>
|
||||||
<if test="taskContent != null">task_content,
|
<if test="taskNodeType != null">task_node_type,
|
||||||
</if>
|
</if>
|
||||||
<if test="executeTime != null">execute_time,
|
<if test="executeTime != null">execute_time,
|
||||||
</if>
|
</if>
|
||||||
@ -210,7 +210,7 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="manageRouteNodeName != null">#{manageRouteNodeName},
|
<if test="manageRouteNodeName != null">#{manageRouteNodeName},
|
||||||
</if>
|
</if>
|
||||||
<if test="taskContent != null">#{taskContent},
|
<if test="taskNodeType != null">#{taskNodeType},
|
||||||
</if>
|
</if>
|
||||||
<if test="executeTime != null">#{executeTime},
|
<if test="executeTime != null">#{executeTime},
|
||||||
</if>
|
</if>
|
||||||
@ -257,8 +257,8 @@
|
|||||||
<if test="manageRouteNodeName != null">manage_route_node_name =
|
<if test="manageRouteNodeName != null">manage_route_node_name =
|
||||||
#{manageRouteNodeName},
|
#{manageRouteNodeName},
|
||||||
</if>
|
</if>
|
||||||
<if test="taskContent != null">task_content =
|
<if test="taskNodeType != null">task_node_type =
|
||||||
#{taskContent},
|
#{taskNodeType},
|
||||||
</if>
|
</if>
|
||||||
<if test="executeTime != null">execute_time =
|
<if test="executeTime != null">execute_time =
|
||||||
#{executeTime},
|
#{executeTime},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user