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