supeng 1 неделя назад
Родитель
Сommit
10c42a1e2d

+ 1 - 0
.gitignore

@@ -14,4 +14,5 @@ hs_err_pid*
 .idea/
 .idea/
 
 
 *target/
 *target/
+datalog/
 
 

+ 4 - 3
supply-demand-engine-core/src/main/java/com/tzld/piaoquan/sde/service/impl/WorkflowTaskServiceImpl.java

@@ -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();