Pārlūkot izejas kodu

工作列表-创建项目bug修改

zhaoyan 3 gadi atpakaļ
vecāks
revīzija
1a9cf68fe2

+ 1 - 1
api-common/src/main/java/api/common/pojo/param/algorithm/AlgorithmParameter.java

@@ -13,7 +13,7 @@ public class AlgorithmParameter extends PageParameter {
     //算法名称
     private String algorithmName;
 
-    //算法名称
+    //算法ID
     private String algorithmCode;
 
     //算法描述

+ 1 - 1
simulation-resource-server/src/main/java/com/css/simulation/resource/project/impl/SimulationProjectServiceImpl.java

@@ -806,7 +806,7 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
 
         List<DropDownVo> algorithmList = new ArrayList<>();
 
-        if(algorithmType.equals(ProjectConstants.SY_ALGORITHM_TYPE)){
+        if(ProjectConstants.SY_ALGORITHM_TYPE.equals(algorithmType)){
             //第三方算法平台获取(索为)
             String sort = "algorithmId-desc";
             Integer page = 1;