去掉无用代码。
This commit is contained in:
parent
a791cdad9e
commit
4682bd75e4
@ -25,6 +25,4 @@ public interface ScriptInfoTaskInfoMapper {
|
|||||||
|
|
||||||
int updateExecuteStatusByNodeId(Long signPatientManageRouteNodeId);
|
int updateExecuteStatusByNodeId(Long signPatientManageRouteNodeId);
|
||||||
|
|
||||||
int deleteScriptInfoTaskInfo();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -332,28 +332,6 @@ public class AIOBServiceImpl implements IAIOBService {
|
|||||||
JSONArray resList = data.getJSONArray("resList");
|
JSONArray resList = data.getJSONArray("resList");
|
||||||
List<ImportTaskVo> importTaskList = Arrays.asList(resList.toArray(ImportTaskVo.class));
|
List<ImportTaskVo> importTaskList = Arrays.asList(resList.toArray(ImportTaskVo.class));
|
||||||
return importTaskList;
|
return importTaskList;
|
||||||
// {
|
|
||||||
// "code": 200,
|
|
||||||
// "msg": "success",
|
|
||||||
// "data": {
|
|
||||||
// "successNum": 2, // 名单导入成功条数
|
|
||||||
// "failedNum": 0, // 名单导入失败条数
|
|
||||||
// "resList": [ // 导入明细
|
|
||||||
// {
|
|
||||||
// "status": true, // 导入的状态,true为 成功 bool
|
|
||||||
// "extJson": "",//调用方的业务随路数据, 字符串,百度侧原文回传
|
|
||||||
// "reason": null, // 失败原因
|
|
||||||
// "taskMemberId": 734116037099777 // 百度侧memberID,用户 用户号码组详情查询
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// "status": true,
|
|
||||||
// "extJson": "",//调用方的业务随路数据, 字符串,百度侧原文回传
|
|
||||||
// "reason": null,
|
|
||||||
// "taskMemberId": 734116037116160
|
|
||||||
// }
|
|
||||||
// ]
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -222,5 +222,12 @@ public interface ISignPatientManageRouteNodeService {
|
|||||||
*/
|
*/
|
||||||
void generateStatistic();
|
void generateStatistic();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description 专病路径修改时修改任务,已经执行的任务不修改,未执行的任务进行删除或修改
|
||||||
|
* @Param routeId 专病路径主键
|
||||||
|
* @return null
|
||||||
|
* @Author haown
|
||||||
|
* @Date 2024-11-15 10:52
|
||||||
|
*/
|
||||||
void updateBySpecialDiseaseRoute(List<Long> delDiseaseNodeIds, List<SpecialDiseaseNodeVO> updateList, List<SpecialDiseaseNodeVO> addDiseaseNodeList);
|
void updateBySpecialDiseaseRoute(List<Long> delDiseaseNodeIds, List<SpecialDiseaseNodeVO> updateList, List<SpecialDiseaseNodeVO> addDiseaseNodeList);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,10 +34,9 @@
|
|||||||
from script_info_task_info
|
from script_info_task_info
|
||||||
where sign_patient_manage_route_node_id = #{signPatientManageRouteNodeId}
|
where sign_patient_manage_route_node_id = #{signPatientManageRouteNodeId}
|
||||||
and aiob_task_type = #{aiobTaskType}
|
and aiob_task_type = #{aiobTaskType}
|
||||||
and del_flag = 0
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectList" resultType="ScriptInfoTaskInfo">
|
<select id="selectList" resultType="com.xinelu.manage.domain.scriptinfotaskinfo.ScriptInfoTaskInfo">
|
||||||
<include refid="selectScriptInfoTaskInfoVo"/>
|
<include refid="selectScriptInfoTaskInfoVo"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="signPatientManageRouteNodeId != null ">
|
<if test="signPatientManageRouteNodeId != null ">
|
||||||
@ -97,8 +96,4 @@
|
|||||||
update script_info_task_info set execute_status = 'EXECUTED'
|
update script_info_task_info set execute_status = 'EXECUTED'
|
||||||
where sign_patient_manage_route_node_id = #{signPatientManageRouteNodeId}
|
where sign_patient_manage_route_node_id = #{signPatientManageRouteNodeId}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<delete id="deleteScriptInfoTaskInfo">
|
|
||||||
update script_info_task_info set del_flag = 1 where del_flag = 0
|
|
||||||
</delete>
|
|
||||||
</mapper>
|
</mapper>
|
||||||
@ -224,27 +224,6 @@ public class UploadRobotPublishTask {
|
|||||||
log.info("百度智能外呼创建实时任务定时任务执行完成......");
|
log.info("百度智能外呼创建实时任务定时任务执行完成......");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @description 创建重拨任务
|
|
||||||
* @return null
|
|
||||||
* @Author haown
|
|
||||||
* @Date 2024-9-24 16:10
|
|
||||||
*/
|
|
||||||
//public void redialTask() {
|
|
||||||
// log.info("开始执行重拨任务定时任务......");
|
|
||||||
// List<SignPatientManageRouteNode> executeNodeList = new ArrayList<>();
|
|
||||||
// // 查询需要重拨的任务
|
|
||||||
// ScriptInfoTaskInfo scriptInfoTaskInfo = new ScriptInfoTaskInfo();
|
|
||||||
// List<ScriptInfoTaskInfo> scriptInfoTaskInfoList = scriptInfoTaskInfoMapper.selectList(scriptInfoTaskInfo);
|
|
||||||
// scriptInfoTaskInfoList.forEach(taskInfo -> {
|
|
||||||
// SignPatientManageRouteNode node = signPatientManageRouteNodeMapper.selectSignPatientManageRouteNodeById(taskInfo.getSignPatientManageRouteNodeId());
|
|
||||||
// if (taskInfo.getExecuteTime().isBefore(LocalDateTime.now()) || taskInfo.getExecuteTime().isEqual(LocalDateTime.now())) {
|
|
||||||
// createTask(node);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
// log.info("重拨任务定时任务执行完成......");
|
|
||||||
//}
|
|
||||||
|
|
||||||
private void createTask(SignPatientManageRouteNode node) {
|
private void createTask(SignPatientManageRouteNode node) {
|
||||||
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getScriptInfoId());
|
ScriptInfo scriptInfo = scriptInfoMapper.selectScriptInfoById(node.getScriptInfoId());
|
||||||
SignPatientManageRoute signPatientManageRoute = signPatientManageRouteMapper.selectSignPatientManageRouteById(node.getManageRouteId());
|
SignPatientManageRoute signPatientManageRoute = signPatientManageRouteMapper.selectSignPatientManageRouteById(node.getManageRouteId());
|
||||||
@ -276,15 +255,4 @@ public class UploadRobotPublishTask {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @description 删除话术任务记录表信息,每天晚上执行一次
|
|
||||||
* @Author haown
|
|
||||||
* @Date 2024-9-5 13:54
|
|
||||||
*/
|
|
||||||
public void deleteScriptTask() {
|
|
||||||
log.info("删除话术任务记录表信息任务开始执行......");
|
|
||||||
scriptInfoTaskInfoMapper.deleteScriptInfoTaskInfo();
|
|
||||||
log.info("删除话术任务记录表信息任务执行完成......");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user