|
@@ -55,8 +55,8 @@ public class WorkflowTaskServiceImpl implements WorkflowTaskService {
|
|
|
private OpenRouterClient openRouterServiceClient;
|
|
private OpenRouterClient openRouterServiceClient;
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private OpenRouterClient openRouterClient;
|
|
private OpenRouterClient openRouterClient;
|
|
|
- @Autowired
|
|
|
|
|
- private Map<Integer, DeconstructStrategy> strategyMap;
|
|
|
|
|
|
|
+// @Autowired
|
|
|
|
|
+// private Map<Integer, DemandExtractionStrategy> strategyMap;
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private SdWorkflowTaskResultMapper sdWorkflowTaskResultMapper;
|
|
private SdWorkflowTaskResultMapper sdWorkflowTaskResultMapper;
|
|
|
|
|
|
|
@@ -279,7 +279,8 @@ public class WorkflowTaskServiceImpl implements WorkflowTaskService {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
//TODO
|
|
//TODO
|
|
|
- DemandExtractionStrategy demandExtractionStrategy = strategyMap.get("");
|
|
|
|
|
|
|
+// DemandExtractionStrategy demandExtractionStrategy = strategyMap.get("");
|
|
|
|
|
+ DemandExtractionStrategy demandExtractionStrategy = null;
|
|
|
StrategyResultDTO strategyResultDTO = demandExtractionStrategy.execute(sdWorkflowTask, strategy);
|
|
StrategyResultDTO strategyResultDTO = demandExtractionStrategy.execute(sdWorkflowTask, strategy);
|
|
|
if (Objects.isNull(strategyResultDTO)) {
|
|
if (Objects.isNull(strategyResultDTO)) {
|
|
|
SdWorkflowTask updateTask = new SdWorkflowTask();
|
|
SdWorkflowTask updateTask = new SdWorkflowTask();
|