|
@@ -8,6 +8,7 @@ import com.diagbot.facade.SysTaskCronFacade;
|
|
|
import com.diagbot.facade.data.ADoctorAdviceFacade;
|
|
|
import com.diagbot.util.StringUtil;
|
|
|
import com.diagbot.vo.FilterVO;
|
|
|
+import com.diagbot.vo.IndexTimeVO;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
@@ -51,10 +52,9 @@ public class MedIndexTask implements SchedulingConfigurer{
|
|
|
&& task001.getIsDeleted().equals(IsDeleteEnum.N.getKey())
|
|
|
&& task001.getIsUsed().equals(1)) {
|
|
|
log.info("执行动态定时任务: " + LocalDateTime.now().toLocalTime());
|
|
|
- FilterVO filterVO = new FilterVO();
|
|
|
- filterVO.setHospitalId(task001.getParam());
|
|
|
- timeHandle(filterVO);
|
|
|
- consoleFacade.saveMedicaIndicator(filterVO);
|
|
|
+ IndexTimeVO IndexTimeVO = new IndexTimeVO();
|
|
|
+ IndexTimeVO.setHospitalId(task001.getParam());
|
|
|
+ consoleFacade.saveMedicaIndicator(IndexTimeVO);
|
|
|
}
|
|
|
}
|
|
|
}, new Trigger() {
|