csw пре 5 месеци
родитељ
комит
a51da445a8

+ 0 - 2
src/main/java/com/ecnu/platform/SmartPortPlatformApplication.java

@@ -1,11 +1,9 @@
 package com.ecnu.platform;
 
-//import com.three.client.EnableClient;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 
 @SpringBootApplication
-//@EnableClient
 public class SmartPortPlatformApplication {
 
 	public static void main(String[] args) {

+ 3 - 0
src/main/java/com/ecnu/platform/service/AlgVersionVoService.groovy

@@ -7,6 +7,7 @@ import com.three.common.vo.SelectOption
 import com.three.data_api.dm.annos.BizApiMethod
 import com.three.data_api.dm.annos.BizRequestPm
 import com.three.data_api.dm.annos.Doc4MethodRes
+import com.three.data_api.dm.constants.ParamName
 import com.three.data_api.dm.constants.ThreeConstant
 import com.three.data_api.dm.entity.AuqResult
 import com.three.data_api.dm.entity.three.ThreeAuq
@@ -24,6 +25,7 @@ class AlgVersionVoService extends BaseEntityServiceImpl {
 
     @Override
     AuqResult query(Map<String, Object> map) throws Exception {
+        map.put(ParamName.resource, ParamName.resource)
         return super.query(map)
     }
 
@@ -37,6 +39,7 @@ class AlgVersionVoService extends BaseEntityServiceImpl {
         Map<String, Object> simpleFilter = new HashMap<>();
         simpleFilter.put("algGkey", algGkey)
         map.put("simpleFilter", simpleFilter)
+        map.put(ParamName.resource, ParamName.resource)
         return daoService.findAuq(EN_AlgVersionVo, map)
     }