|
@ -5,7 +5,6 @@ import com.yihu.wlyy.statistics.dao.DoctorPatientGroupInfoDao;
|
|
|
import com.yihu.wlyy.statistics.dao.QuartzJobConfigDao;
|
|
|
import com.yihu.wlyy.statistics.dao.SignFamilyDao;
|
|
|
import com.yihu.wlyy.statistics.etl.cache.Cache;
|
|
|
import com.yihu.wlyy.statistics.job.check.CheckSignJob;
|
|
|
import com.yihu.wlyy.statistics.util.QuartzHelper;
|
|
|
import com.yihu.wlyy.statistics.vo.WlyyJobConfigVO;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
@ -269,19 +268,6 @@ public class JobService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public void startCheckSignJob() throws Exception {
|
|
|
if (!quartzHelper.isExistJob(CheckSignJob.jobKey)) {
|
|
|
quartzHelper.addJob(CheckSignJob.class, CheckSignJob.cron, CheckSignJob.jobKey, new HashMap<>());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public void stopCheckSignJob() throws Exception {
|
|
|
if (quartzHelper.isExistJob(CheckSignJob.jobKey)) {
|
|
|
quartzHelper.removeJob(CheckSignJob.jobKey);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public void productDataByDayToDay(String start, String end) throws Exception {
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
Date startDate = sdf.parse(start);
|