| | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.domain.ServiceSubtask; |
| | | import com.smartor.domain.VO.HeLibraryCountVO; |
| | | import com.smartor.domain.VO.ServiceSubtaskCotinueCountVO; |
| | | import com.smartor.domain.VO.*; |
| | | import com.smartor.domain.entity.ServiceSubtaskEntity; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import com.ruoyi.template.domain.VO.HeLibraryCountVO; |
| | | import com.ruoyi.template.domain.IvrTaskTemplateTargetoption; |
| | | /** |
| | | * 单一任务(随访)Service接口 |
| | | * |
| | |
| | | */ |
| | | public List<ServiceSubtaskRes> patItem(ServiceSubtaskEntity serviceSubtaskEntity); |
| | | |
| | | public List<ServiceSubtask> getServiceSubtasks(ServiceSubtaskEntity serviceSubtaskEntity); |
| | | |
| | | /** |
| | | * 转移科室病区 |
| | | * |
| | | * @param transferDeptVO |
| | | * @return |
| | | */ |
| | | public Integer transferDept(TransferDeptVO transferDeptVO); |
| | | |
| | | public List<ServiceSubtask> patItem2(ServiceSubtaskEntity serviceSubtaskEntity); |
| | | |
| | | public Map<String, Object> patItemCount(ServiceSubtaskEntity serviceSubtaskEntity); |
| | | |
| | | public Map<String, Object> countByCondition(ServiceSubtaskEntity serviceSubtaskEntity); |
| | | |
| | | /** |
| | | * 新增单一任务(随访) |
| | |
| | | * @param ServiceSubtask 单一任务(随访) |
| | | * @return 结果 |
| | | */ |
| | | public int insertServiceSubtask(ServiceSubtask ServiceSubtask); |
| | | public Map<String, Object> insertServiceSubtask(ServiceSubtask ServiceSubtask); |
| | | |
| | | /** |
| | | * 再次新增单一任务(随访) |
| | |
| | | |
| | | /** |
| | | * 子任务模板修改 |
| | | * |
| | | * @param serviceSubtaskTemplateVO |
| | | * @return |
| | | */ |
| | |
| | | * @return 结果 |
| | | */ |
| | | public PhoneCallBackYQVO phoneCallBackYQ(PhoneCallReqYQVO phoneCallReqYQVO); |
| | | |
| | | public PhoneCallBackSHVO getFirstQues(PhoneCallReqYQVO phoneCallReqYQVO); |
| | | |
| | | public PhoneCallBackSHVO processResust(PhoneCallResultYQVO phoneCallReqYQVO); |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 雨绮任务拉取 |
| | |
| | | |
| | | Map<String, Object> smsSubTask(Long subid); |
| | | |
| | | /** |
| | | * 统计问题的选项的百分比 |
| | | * @param taskIds |
| | | * @return |
| | | */ |
| | | public List<ServiceSubtaskDetailRatioExport> statQuestionOption(List<Long> taskIds, Date startOutHospTime, Date endOutHospTime); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | public String scanGenerateSubtask(ServiceTask serviceTaskVo); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * AI 选项匹配(把 options 序列化后 POST 到外部 AI 服务)。 |
| | | * <p> |
| | | * ⚠️ 入参改成<b>泛型</b> {@code List<T>}(原为 {@code List<IvrTaskTemplateTargetoption>}): |
| | | * 那个类型已随模板模块化搬进 {@code ruoyi-template},而本方法要经 |
| | | * {@code SubtaskOptionMatchApiBridge} 向模板模块暴露(接口在 ruoyi-common)。 |
| | | * 泛型让模板模块不必知道 {@code T} 是什么,同时保持 smartor 内部 4 处调用点形状不变。 |
| | | * <p> |
| | | * 语义无变化:方法体只做 {@code jsonObject.put("options", options)} 后整体序列化, |
| | | * 从不读 {@code T} 的字段。 |
| | | */ |
| | | public <T> Integer matchOptionIndex(String url, String questionText, String voiceText, List<T> options, String uuid); |
| | | |
| | | |
| | | } |