生成子路径任务定时任务。

This commit is contained in:
haown 2024-06-28 14:36:25 +08:00
parent ebc631c253
commit f06143f951

View File

@ -0,0 +1,29 @@
package com.xinelu.quartz.task;
import com.xinelu.manage.mapper.signpatientrecord.SignPatientRecordMapper;
import com.xinelu.manage.service.signpatientrecord.ISignPatientRecordService;
import javax.annotation.Resource;
import org.springframework.stereotype.Component;
/**
* @description: 根据触发条件生成子路径任务
* @author: haown
* @create: 2024-06-28 14:27
**/
@Component("GenerateChildRouteTask")
public class GenerateChildRouteTask {
@Resource
private ISignPatientRecordService signPatientRecordService;
@Resource
private SignPatientRecordMapper signPatientRecordMapper;
public void GenerateChildRouteTask() {
// 查询在签患者
// 查询患者签约专病路径包含的子路径id
// 查询签约路径表已生成的子路径id
// 取差集
// 生成子路径任务
}
}