1、根据流水号sn查询任务id,增加limit 1
2、任务查询结果,增加外呼结果状态
This commit is contained in:
parent
8417760a5e
commit
c7a6f5381b
@ -389,7 +389,7 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
|
||||
if (manualFollowUpDTO.getNodeExecuteStatus().equals(NodeExecuteStatusEnum.EXECUTED.getInfo())) {
|
||||
return manualFollowUpVOS;
|
||||
}
|
||||
//2.2如果是查询“所有”、"未执行“任务,则这届返回查询结果
|
||||
//2.2如果是查询“所有”、"未执行“任务,则直接返回查询结果
|
||||
if (StringUtils.isNotBlank(manualFollowUpDTO.getTimeSign()) && manualFollowUpDTO.getTimeSign().equals("WHOLE")) {
|
||||
return manualFollowUpVOS;
|
||||
}
|
||||
|
||||
@ -128,6 +128,9 @@ public class ManualFollowUpVO {
|
||||
@ApiModelProperty(value = "节点任务执行状态,已执行:EXECUTED,未执行:UNEXECUTED")
|
||||
private String nodeExecuteStatus;
|
||||
|
||||
@ApiModelProperty(value = "电话拨通情况;SUCCESS:成功;FAILURE:失败;EXPIRED:超期自动作废(如超期一周);NULL或空字符串:缺省值,表示未执行;")
|
||||
private String phoneNodeExecuteResultStatus;
|
||||
|
||||
@ApiModelProperty(value = "任务执行记录id")
|
||||
private Long taskExecuteRecordId;
|
||||
|
||||
|
||||
@ -47,6 +47,7 @@
|
||||
<if test="aiobTaskType !=null">
|
||||
and aiob_task_type = #{aiobTaskType}
|
||||
</if>
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="selectList" resultType="com.xinelu.manage.domain.scriptinfotaskinfo.ScriptInfoTaskInfo">
|
||||
|
||||
@ -354,7 +354,8 @@
|
||||
spmrn.route_handle_remark,
|
||||
spmrn.phone_dial_method,
|
||||
spmrn.task_excute_type,
|
||||
spmrn.node_plan_time
|
||||
spmrn.node_plan_time,
|
||||
spmrn.phone_node_execute_result_status
|
||||
FROM
|
||||
sign_patient_manage_route spmr
|
||||
LEFT JOIN sign_patient_manage_route_node spmrn ON spmr.id = spmrn.manage_route_id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user