随访代办
This commit is contained in:
parent
fe4a868548
commit
f8ccd651dc
@ -365,7 +365,7 @@ public class Constants {
|
||||
public static final Long TERM_MAX_LEVEL = 3L;
|
||||
|
||||
/**
|
||||
* 常用术语最大层数
|
||||
* 常用术语最小层数
|
||||
*/
|
||||
public static final Long TERM_MIN_LEVEL = 1L;
|
||||
}
|
||||
|
||||
@ -122,4 +122,12 @@ public class SignPatientManageRouteController extends BaseController {
|
||||
public AjaxResult addPatientQuestionResult(@RequestBody PatientQuestionSubmitResultDTO dto) {
|
||||
return signPatientManageRouteService.addPatientQuestionResult(dto);
|
||||
}
|
||||
|
||||
/**
|
||||
* 话术类型代办处理详情
|
||||
*/
|
||||
@GetMapping("/selectPhonePush")
|
||||
public AjaxResult selectPhonePush(Long manageRouteNodeId){
|
||||
return signPatientManageRouteService.selectPhonePush(manageRouteNodeId);
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,6 +4,7 @@ import com.xinelu.manage.domain.signpatientmanageroute.SignPatientManageRoute;
|
||||
import com.xinelu.manage.dto.manualfollowup.ManualFollowUpDTO;
|
||||
import com.xinelu.manage.vo.manualfollowup.ManualFollowPatientVO;
|
||||
import com.xinelu.manage.vo.manualfollowup.ManualFollowUpVO;
|
||||
import com.xinelu.manage.vo.signpatientmanageroute.PhonePush;
|
||||
import com.xinelu.manage.vo.signpatientmanageroute.SignPatientManageRouteVO;
|
||||
|
||||
import java.util.List;
|
||||
@ -85,4 +86,9 @@ public interface SignPatientManageRouteMapper {
|
||||
* @return ManualFollowPatientVO 人工随访基本信息VO
|
||||
*/
|
||||
ManualFollowPatientVO selectFollowPatientInfo(Long id);
|
||||
|
||||
/**
|
||||
* 话术类型代办处理详情
|
||||
*/
|
||||
PhonePush selectSignPatientManageRouteNode(Long manageRouteNodeId);
|
||||
}
|
||||
|
||||
@ -84,4 +84,8 @@ public interface ISignPatientManageRouteService {
|
||||
*/
|
||||
AjaxResult addPatientQuestionResult(PatientQuestionSubmitResultDTO dto);
|
||||
|
||||
/**
|
||||
* 话术类型代办处理详情
|
||||
*/
|
||||
AjaxResult selectPhonePush(Long manageRouteNodeId);
|
||||
}
|
||||
|
||||
@ -313,6 +313,14 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 话术类型代办处理详情
|
||||
*/
|
||||
@Override
|
||||
public AjaxResult selectPhonePush(Long manageRouteNodeId) {
|
||||
return AjaxResult.success(signPatientManageRouteMapper.selectSignPatientManageRouteNode(manageRouteNodeId));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增患者管理任务执行记录
|
||||
*/
|
||||
|
||||
@ -617,4 +617,24 @@
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="selectSignPatientManageRouteNode"
|
||||
resultType="com.xinelu.manage.vo.signpatientmanageroute.PhonePush">
|
||||
select pi.patient_name,
|
||||
pi.patient_phone,
|
||||
spmrn.phone_id,
|
||||
spmrn.phone_template_id,
|
||||
spmrn.phone_template_name,
|
||||
spmrn.phone_redial_times,
|
||||
spmrn.phone_time_interval,
|
||||
spmrn.phone_message_remind,
|
||||
spmrn.phone_message_template_id,
|
||||
spmrn.phone_message_template_name,
|
||||
si.script_file_path
|
||||
from sign_patient_manage_route_node spmrn
|
||||
LEFT JOIN script_info si ON spmrn.phone_id = si.script_id
|
||||
LEFT JOIN sign_patient_manage_route spmr ON spmr.id = spmrn.manage_route_id
|
||||
LEFT JOIN patient_info pi ON spmr.patient_id = pi.id
|
||||
where spmrn.id = #{manageRouteNodeId}
|
||||
</select>
|
||||
</mapper>
|
||||
@ -59,8 +59,8 @@
|
||||
<if test="termRemark != null and termRemark != ''">
|
||||
and term_remark = #{termRemark}
|
||||
</if>
|
||||
order by term_sort
|
||||
</where>
|
||||
order by term_sort
|
||||
</select>
|
||||
|
||||
<select id="selectTermBankTree" resultType="com.xinelu.manage.vo.termbank.TermBankVO">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user