瀏覽代碼

8/27 定时更新修改

lwhhszx 1 年之前
父節點
當前提交
2ab1545751

+ 8 - 6
src/test/java/cn/cslg/pas/service/ClaimTextTests.java

@@ -14,6 +14,7 @@ import cn.cslg.pas.service.common.TranslateService;
 import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONObject;
 import org.junit.jupiter.api.Test;
+import org.quartz.TriggerKey;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.thymeleaf.templateparser.text.TextTemplateParser;
@@ -90,11 +91,12 @@ public class ClaimTextTests {
 
     @Test
     public void testTranslate() {
-        try {
-            String a = translateService.getTranslateContent("where are you from");
-            System.out.println(a);
-        } catch (Exception e) {
-            e.printStackTrace();
-        }
+
+        TriggerKey oldTriggerKey1 = TriggerKey.triggerKey("111", "1");
+
+        TriggerKey oldTriggerKey = TriggerKey.triggerKey("Trigger_patent_project_469", "Default_patent_project");
+ System.out.println(oldTriggerKey);
+
+ System.out.println(oldTriggerKey1);
     }
 }

+ 0 - 1
src/test/java/cn/cslg/pas/service/WebVoTransformServiceTests.java

@@ -424,7 +424,6 @@ public String str1 ="<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?
     @Test
     public void test() throws Exception {
         String claimStr =str1+str2+str3+str4+str5;
-        webVOTransformService.loadClaim(new Patent(),claimStr);
     }