chenyi 2 년 전
부모
커밋
bbb551bcf9

+ 163 - 145
PAS/src/main/java/cn/cslg/pas/service/PatentRightService.java

@@ -33,9 +33,8 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
 
     private final PatentService patentService;
 
-    public List<PatentRight> getPatentRightByPatentNo(String patentNo)
-    {
-     Patent patent = patentService.getByPatentNo(patentNo);
+    public List<PatentRight> getPatentRightByPatentNo(String patentNo) {
+        Patent patent = patentService.getByPatentNo(patentNo);
         LambdaQueryWrapper<PatentRight> queryWrapper = new LambdaQueryWrapper<>();
         queryWrapper.eq(PatentRight::getPatentId, patent.getId());
         queryWrapper.orderByAsc(PatentRight::getSort);
@@ -72,157 +71,152 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
         }
         this.saveOrUpdateBatch(patentRightList);
     }
-    public void importAuthority(PatentRightParams params){
-            List<Authority> splits = splits(params);
-            List<Authority> authorities = relationshipAuthority(splits);
-            List<Authority> authorities1 = relationshipAuthority3(authorities);
-            List<Authority> authorities2 = relationshipAuthority2(authorities1);
-            List<Authority> authorities3 = relationshipAuthority4(authorities2);
-            for(Authority a:authorities3){
-                Authority authority = new Authority();
-                authority.setContent(a.getContent());
-                String join = StringUtils.join(a.getFatherID(), ",");
-                authority.setFID(join);
-                String join1 = StringUtils.join(a.getSonID(), ",");
-                authority.setSID(join1);
-                authority.setPatentID(params.getPatentId());
-                authority.setType(a.getType());
-                authority.insert();
 
-            }
+    public void importAuthority(PatentRightParams params) {
+        List<Authority> splits = splits(params);
+        List<Authority> authorities = relationshipAuthority(splits);
+        List<Authority> authorities1 = relationshipAuthority3(authorities);
+        List<Authority> authorities2 = relationshipAuthority2(authorities1);
+        List<Authority> authorities3 = relationshipAuthority4(authorities2);
+        for (Authority a : authorities3) {
+            Authority authority = new Authority();
+            authority.setContent(a.getContent());
+            String join = StringUtils.join(a.getFatherID(), ",");
+            authority.setFID(join);
+            String join1 = StringUtils.join(a.getSonID(), ",");
+            authority.setSID(join1);
+            authority.setPatentID(params.getPatentId());
+            authority.setType(a.getType());
+            authority.insert();
+
+        }
     }
 
-    public  List<Authority> splits(PatentRightParams params){
+    public List<Authority> splits(PatentRightParams params) {
         //去掉全要开头的""
-       String selfContent= params.getContent();
-        selfContent.replaceAll("''","");
-        selfContent.replaceAll("\n"," ");
-//        selfContent.replaceAll(" ","");
+
+        String selfContent = params.getContent();
+        //청구항 2. 삭제(是否删除代办)
+      //  selfContent.replaceAll("청구항(\\s)(^\\d*$+)(\\s)삭제","");
+        selfContent.replaceAll("''", "");
+        selfContent.replaceAll("(^\\d*$+)-(^\\d*$+)(\\.)(\\s)(canceled)","");
+//        selfContent.replaceAll("(^\\d*$+)(.)(\\s)(canceled)","");
+        selfContent.replaceAll("\n", " ");
         List<Authority> list = new ArrayList<>();
         //找到1. 2. ...这种格式的正则表达式
-        String str1="(^\\d*$+)(\\.)";
+        String str1 = "(^\\d*$+)(\\.)";
         //找到[001]或者[002]这种格式的
-        String str2="(\\[)(^[1-9]/d*$+)(\\])";
+        String str2 = "(\\[)(^[1-9]/d*$+)(\\])";
         //【請求項 1】
-        String str3="(\\【請求項)(^[1-9]/d*$+)(\\】)";
+        String str3 = "(\\【請求項)(^[1-9]/d*$+)(\\】)";
         //청구항 1()
-        String str4="청구항(^[1-9]/d*$+)";
+        String str4 = "청구항(\\s)(^[1-9]/d*$+)(\\.)";
         Pattern p4 = Pattern.compile(str4);
         Matcher m4 = p4.matcher(selfContent);
-        if(m4.find()) {
-            String str5=".";
-            Pattern p5 = Pattern.compile(str4);
-            Matcher m5 = p5.matcher(selfContent);
-            List<Integer> integers1=new ArrayList<>();
-            while (m5.find()){
-                integers1.add(m5.start());
+        List<Integer> integers1 = new ArrayList<>();
+        while (m4.find()) {
+                integers1.add(m4.start());
             }
-            for(int i=integers1.size()-1;i>=0;i--){
-                String str=selfContent.substring(integers1.get(i));
-                Authority authority=new Authority();
+        if(integers1.size()!=0) {
+            for (int i = integers1.size() - 1; i >= 0; i--) {
+                String str = selfContent.substring(integers1.get(i));
+                Authority authority = new Authority();
                 authority.setContent(str);
                 list.add(authority);
 
             }
-            Authority authority=new Authority();
+            Authority authority = new Authority();
             authority.setContent(selfContent);
             list.add(authority);
             return list;
-
         }
 
+
         Pattern p = Pattern.compile(str1);
         Matcher m = p.matcher(selfContent);
         //判断找到的数量
-        List<Integer> integers=new ArrayList<>();
-        while (m.find()){
+        List<Integer> integers = new ArrayList<>();
+        while (m.find()) {
             integers.add(m.start());
         }
-        if(integers.size()!=0){
-            for(int i=integers.size()-1;i>=0;i--){
-                String str=selfContent.substring(integers.get(i));
-                Authority authority=new Authority();
-                authority.setContent(str);
-                list.add(authority);
+        if (integers.size() != 0) {
+            for (int i = integers.size() - 1; i > 0; i--) {
+                String str = selfContent.substring(integers.get(i));
+                Authority authority1 = new Authority();
+                authority1.setContent(str);
+                list.add(authority1);
 
             }
+            Authority authority1 = new Authority();
+            authority1.setContentOut(selfContent);
+            list.add(authority1);
             return list;
         }
 
         Pattern compile = Pattern.compile(str2);
         Matcher matcher = compile.matcher(selfContent);
-        List<Integer> start=new ArrayList<>();
-        List<Integer> end=new ArrayList<>();
-        while (matcher.find()){
-            start.add( matcher.start());
-            end.add(matcher.end());
+        List<Integer> start = new ArrayList<>();
+        while (matcher.find()) {
+            start.add(matcher.start());
+
         }
-        if(start.size()!=0){
-            for(int i=start.size()-1;i>=0;i--) {
-                if(i==start.size()-1){
-                    String substring = selfContent.substring(end.get(i));
-                    String string=new String(String.valueOf(i));
-                    string=string+"."+substring;
-                    Authority authority=new Authority();
-                   list.add(authority);
+        if (start.size() != 0) {
+            for (int i = start.size() - 1; i > 0; i--) {
+                String str = selfContent.substring(integers.get(i));
+                Authority authority2 = new Authority();
+                authority2.setContent(str);
+                list.add(authority2);
 
-                }
-                String substring = selfContent.substring(end.get(i),start.get(i+1));
-                String string=new String(String.valueOf(i));
-                string=string+"."+substring;
-                Authority authority=new Authority();
-               list.add(authority);
             }
-           return list;
+            Authority authority2 = new Authority();
+            authority2.setContent(selfContent);
+            list.add(authority2);
+            return list;
         }
+
+
         Pattern compile1 = Pattern.compile(str3);
         Matcher matcher1 = compile1.matcher(selfContent);
-        List<Integer> start1=new ArrayList<>();
-        List<Integer> end1=new ArrayList<>();
-        while (matcher1.find()){
-            start1.add( matcher1.start());
-            end1.add(matcher1.end());
-        }
-        if(start1.size()!=0){
-            for(int i=start1.size()-1;i>=0;i--) {
-                if(i==start1.size()-1){
-                    String substring = selfContent.substring(end.get(i));
-                    String string=new String(String.valueOf(i));
-                    string=string+"."+substring;
-                    Authority authority=new Authority();
-                    list.add(authority);
+        List<Integer> start1 = new ArrayList<>();
 
-                }
-                String substring = selfContent.substring(end.get(i),start.get(i+1));
-                String string=new String(String.valueOf(i));
-                string=string+"."+substring;
-                Authority authority=new Authority();
-                list.add(authority);
+        while (matcher1.find()) {
+            start1.add(matcher1.start());
+
+        }
+        if (start1.size() != 0) {
+            for (int i = start1.size() - 1; i >= 0; i--) {
+                String str = selfContent.substring(integers.get(i));
+                Authority authority3 = new Authority();
+                authority3.setContent(str);
+                list.add(authority3);
             }
-            return list;
+
+            Authority authority3 = new Authority();
+            authority3.setContent(selfContent);
+            list.add(authority3);
         }
         return list;
     }
 
+
     /**
      * 英文下的处理方式(草稿)
      */
-    private List<Authority> relationshipAuthority(List<Authority> list){
+    private List<Authority> relationshipAuthority(List<Authority> list) {
 
-        List<Authority> authorities=list;
+        List<Authority> authorities = list;
         //英文下的claim 1,claim2 的正则表达式
-        String str1="(claim)(\\s)(^\\d*$+)";
+        String str1 = "(claim)(\\s)(^\\d*$+)";
         Pattern p = Pattern.compile(str1);
-        for(int i=0;i<list.size();i++){
+        for (int i = 0; i < list.size(); i++) {
             //去掉空格
-            authorities.get(i).getContent().replaceAll(" ","");
+            authorities.get(i).getContent().replaceAll(" ", "");
             Matcher m = p.matcher(authorities.get(i).getContent());
-            if(!m.find()){
+            if (!m.find()) {
                 list.get(i).setFID(null);
                 list.get(i).setType(0);
                 return list;
-            }
-            else {
+            } else {
                 //找到了
                 String group = m.group(0);
                 //把claim去掉只剩下面的数字
@@ -232,32 +226,31 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
                 sonID.add(authorities.get(i).getId());
                 list.get(j - 1).setSonID(sonID);
                 List<Integer> fatherID = list.get(i).getFatherID();
-                fatherID.add( list.get(j - 1).getId());
+                fatherID.add(list.get(j - 1).getId());
                 list.get(i).setFatherID(fatherID);
                 //设置为
                 list.get(i).setType(1);
             }
         }
-          return list;
+        return list;
     }
 
     /**
      * 小日子的语言下的处理模式
      */
-    private List<Authority>  relationshipAuthority3( List<Authority> list){
-        List<Authority> authorities=list;
+    private List<Authority> relationshipAuthority3(List<Authority> list) {
+        List<Authority> authorities = list;
         //英文下的claim 1,claim2 的正则表达式
-        String str1="(前記第)(^\\d*$+)";
+        String str1 = "(前記第)(^\\d*$+)";
         Pattern p = Pattern.compile(str1);
-        for(int i=0;i<list.size();i++){
+        for (int i = 0; i < list.size(); i++) {
 
             Matcher m = p.matcher(authorities.get(i).getContent());
-            if(!m.find()){
+            if (!m.find()) {
                 list.get(i).setFID(null);
                 list.get(i).setType(0);
                 return list;
-            }
-            else {
+            } else {
                 //找到了
                 String group = m.group(0);
                 //把claim去掉只剩下面的数字
@@ -267,47 +260,47 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
                 sonID.add(authorities.get(i).getId());
                 list.get(j - 1).setSonID(sonID);
                 List<Integer> fatherID = list.get(i).getFatherID();
-                fatherID.add( list.get(j - 1).getId());
+                fatherID.add(list.get(j - 1).getId());
                 list.get(i).setFatherID(fatherID);
                 //设置为
                 list.get(i).setType(1);
             }
         }
-       return list;
+        return list;
     }
 
     /**
      * 中文下的处理方式
      */
-    public List<Authority> relationshipAuthority2(  List<Authority> list){
+    public List<Authority> relationshipAuthority2(List<Authority> list) {
         //中文下权利要求1,权利要求2,权利要求3
-        String str1="(权利要求)(^\\d*$+)";
+        String str1 = "(权利要求)(^\\d*$+)";
         //中文下权利要求1至
-        String str2="(权利要求)(^\\d*$+)(至)(^\\d*$+)";
+        String str2 = "(权利要求)(^\\d*$+)(至)(^\\d*$+)";
         //中文下权利要求 或
-        String str3="(权利要求)(^\\d*$+)(或)(^\\d*$+)";
+        String str3 = "(权利要求)(^\\d*$+)(或)(^\\d*$+)";
 
         Pattern p = Pattern.compile(str1);
         Pattern p1 = Pattern.compile(str2);
         Pattern p2 = Pattern.compile(str3);
-        for(int i=0;i<list.size();i++){
+        for (int i = 0; i < list.size(); i++) {
             Matcher matcher = p.matcher(list.get(i).getContent());
-            if(matcher.find()){
+            if (matcher.find()) {
                 list.get(i).setType(1);
                 //找到满足第一情况
                 Matcher matcher1 = p1.matcher(list.get(i).getContent());
-                if(matcher1.find()){
+                if (matcher1.find()) {
                     //找到满足第一和第二种情况按第二种情况处理
                     String group = matcher1.group(0);
-                    String str5="^\\d*$+";
+                    String str5 = "^\\d*$+";
                     Pattern p3 = Pattern.compile(str5);
                     Matcher matcher2 = p3.matcher(group);
-                    if(matcher2.find()){
+                    if (matcher2.find()) {
                         String group1 = matcher2.group(0);
                         String group2 = matcher2.group(1);
-                        Integer j=Integer.parseInt(group1);
-                        Integer k=Integer.parseInt(group2);
-                        for(int l=j-1;l<k;l++){
+                        Integer j = Integer.parseInt(group1);
+                        Integer k = Integer.parseInt(group2);
+                        for (int l = j - 1; l < k; l++) {
                             List<Integer> sonID = list.get(l).getSonID();
                             sonID.add(list.get(i).getId());
                             list.get(l).setSonID(sonID);
@@ -316,15 +309,15 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
                             list.get(i).setFatherID(fatherID);
                         }
                     }
-                }else {
+                } else {
                     Matcher matcher2 = p2.matcher(list.get(i).getContent());
-                    if(matcher2.find()){
+                    if (matcher2.find()) {
                         //找到满足第三和第一情况按第三中情况处理
                         String group = matcher1.group(0);
-                        String str6="^\\d*$+";
+                        String str6 = "^\\d*$+";
                         Pattern p3 = Pattern.compile(str6);
                         Matcher matcher3 = p3.matcher(group);
-                        if(matcher3.find()) {
+                        if (matcher3.find()) {
                             String group1 = matcher2.group(0);
                             String group2 = matcher2.group(1);
                             Integer j = Integer.parseInt(group1);
@@ -342,13 +335,13 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
                             fatherID1.add(list.get(k).getId());
                             list.get(i).setFatherID(fatherID1);
                         }
-                    }else {
+                    } else {
                         //只满足第一中情况
                         String group = matcher.group(0);
-                        String str7="^\\d*$+";
+                        String str7 = "^\\d*$+";
                         Pattern p3 = Pattern.compile(str7);
                         Matcher matcher3 = p3.matcher(group);
-                        if(matcher3.find()){
+                        if (matcher3.find()) {
                             String group1 = matcher2.group(0);
                             Integer j = Integer.parseInt(group1);
                             List<Integer> sonID = list.get(j).getSonID();
@@ -361,7 +354,7 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
                     }
 
                 }
-            }else {
+            } else {
                 list.get(i).setType(0);
                 list.get(i).setFID(null);
             }
@@ -370,39 +363,64 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
     }
 
     /**
-     *
      * 韩文下的处理
      */
-    public List<Authority> relationshipAuthority4(List<Authority> list){
+    public List<Authority> relationshipAuthority4(List<Authority> list) {
         //韩文情况下的正则表达式
-        String str1="항(^\\d*$+)(\\s)에있어서";
-
+        String str1="제(\\s)(^\\d*$+)항" ;     //"제 1항에" ;
+        String str3="제(\\s)(^\\d*$+)항(\\s)또는(\\s)제(^\\d*$+)항";//제 1항 또는 제 2항에 있어서 这种情况下的正则表达式
         Pattern p = Pattern.compile(str1);
-        for(int i=0;i<list.size();i++){
-            //去掉空格
-            list.get(i).getContent().replaceAll(" ","");
+        for (int i = 0; i < list.size(); i++) {
+
+//            list.get(i).getContent().replaceAll(" ", "");
             Matcher m = p.matcher(list.get(i).getContent());
-            if(!m.find()){
+            if (!m.find()) {
                 list.get(i).setFID(null);
                 list.get(i).setType(0);
-                return list;
-            }
-            else {
+
+            } else {
                 //找到了
+                Pattern compile = Pattern.compile(str3);
+                Matcher matcher1 = compile.matcher(list.get(i).getContent());
+                if(matcher1.find()){
+                    String group = m.group(0);
+                    String str2 = "(^\\d*$+)";
+                    Pattern p1 = Pattern.compile(str1);
+                    Matcher matcher = p1.matcher(group);
+                    String group1 = matcher.group(0);
+                    String group2 = matcher.group(1);
+                    Integer j = Integer.parseInt(group1);
+                    Integer k = Integer.parseInt(group2);
+                    List<Integer> sonID = list.get(j).getSonID();
+                    sonID.add(list.get(i).getId());
+                    list.get(j).setSonID(sonID);
+                    List<Integer> fatherID = list.get(i).getFatherID();
+                    fatherID.add(list.get(j).getId());
+                    list.get(i).setFatherID(fatherID);
+                    List<Integer> sonID1 = list.get(k).getSonID();
+                    sonID1.add(list.get(i).getId());
+                    list.get(k).setSonID(sonID1);
+                    List<Integer> fatherID1 = list.get(i).getFatherID();
+                    fatherID1.add(list.get(k).getId());
+                    list.get(i).setFatherID(fatherID1);
+
+
+                }else {
                 String group = m.group(0);
-                String str2="(^\\d*$+)";
+                String str2 = "(^\\d*$+)";
                 Pattern p1 = Pattern.compile(str1);
                 Matcher matcher = p1.matcher(group);
-                String substring= matcher.group(0);
+                String substring = matcher.group(0);
                 int j = Integer.parseInt(substring);
                 List<Integer> sonID = list.get(j - 1).getSonID();
                 sonID.add(list.get(i).getId());
                 list.get(j - 1).setSonID(sonID);
                 List<Integer> fatherID = list.get(i).getFatherID();
-                fatherID.add( list.get(j - 1).getId());
+                fatherID.add(list.get(j - 1).getId());
                 list.get(i).setFatherID(fatherID);
                 //设置为
                 list.get(i).setType(1);
+                }
             }
         }
         return list;
@@ -410,7 +428,6 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
     }
 
 
-
     public void updatePatentRight(PatentRightParams params) {
         List<PatentRight> patentRightList = new ArrayList<>();
         //获取国家 公开号前两位
@@ -475,6 +492,7 @@ public class PatentRightService extends ServiceImpl<PatentRightMapper, PatentRig
             this.saveOrUpdateBatch(patentRightList);
         }
     }
+}
+
 
 
-}

+ 7 - 1
PAS/src/main/resources/application-dev.yml

@@ -4,7 +4,13 @@ spring:
     port: 6379
     database: 9
     password: Xx0GWxdWQJxx6Swe
-    timeout: 1000
+    lettuce:
+      pool:
+        max-active: 20
+        max-idle: 20
+        min-idle: 0
+        max-wait: -1ms
+      timeout: 2000ms
   datasource:
     url: jdbc:mysql://47.101.137.223:3306/pas?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
     username: root

+ 7 - 1
PAS/src/main/resources/application-docker.yml

@@ -3,7 +3,13 @@ spring:
     host: pas-redis
     port: 6379
     database: 0
-    timeout: 1000
+  lettuce:
+    pool:
+      max-active: 20
+      max-idle: 20
+      min-idle: 0
+      max-wait: -1ms
+    timeout: 2000ms
     password: cslg_docker_123456
   datasource:
     url: jdbc:mysql://pas-mysql:3306/pas?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8

+ 7 - 1
PAS/src/main/resources/application-prod.yml

@@ -4,7 +4,13 @@ spring:
     port: 6379
     database: 3
     password: Xx0GWxdWQJxx6Swe
-    timeout: 1000
+    lettuce:
+      pool:
+        max-active: 20
+        max-idle: 20
+        min-idle: 0
+        max-wait: -1ms
+      timeout: 2000ms
   datasource:
     url: jdbc:mysql://172.27.247.174:3306/pas-prod?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
     username: root

+ 7 - 1
PAS/src/main/resources/application-test.yml

@@ -4,7 +4,13 @@ spring:
     port: 6379
     database: 9
     password: Xx0GWxdWQJxx6Swe
-    timeout: 1000
+    lettuce:
+      pool:
+        max-active: 20
+        max-idle: 20
+        min-idle: 0
+        max-wait: -1ms
+      timeout: 2000ms
   datasource:
     url: jdbc:mysql://172.27.247.174:3306/pas?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
     username: root

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 12950
logs/pas/pas-debug.2022-12-12.0.log


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 6426
logs/pas/pas-debug.2022-12-13.0.log


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 13678
logs/pas/pas-debug.2022-12-14.0.log


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 33114
logs/pas/pas-debug.2022-12-15.0.log


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 33669
logs/pas/pas-debug.2022-12-16.0.log


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 5865 - 0
logs/pas/pas-debug.2023-01-09.0.log


+ 0 - 38
logs/pas/pas-info.2022-12-15.0.log

@@ -1,38 +0,0 @@
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:28.940 INFO 17036 [main] cn.cslg.pas.Application Starting Application using Java 1.8.0_202 on DESKTOP-RDOKK5K with PID 17036 (F:\WorkProject\Wispro-CodeWarehouse-BackEnd\PAS\target\classes started by admin in F:\WorkProject\Wispro-CodeWarehouse-BackEnd)
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:28.945 INFO 17036 [main] cn.cslg.pas.Application The following 1 profile is active: "dev"
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:29.929 INFO 17036 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Multiple Spring Data modules found, entering strict repository configuration mode!
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:29.931 INFO 17036 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Bootstrapping Spring Data Redis repositories in DEFAULT mode.
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:29.958 INFO 17036 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces.
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:30.506 INFO 17036 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat initialized with port(s): 8879 (http)
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:30.512 INFO 17036 [main] org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["http-nio-8879"]
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:30.513 INFO 17036 [main] org.apache.catalina.core.StandardService Starting service [Tomcat]
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:30.513 INFO 17036 [main] org.apache.catalina.core.StandardEngine Starting Servlet engine: [Apache Tomcat/9.0.58]
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:30.578 INFO 17036 [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring embedded WebApplicationContext
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:30.578 INFO 17036 [main] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext Root WebApplicationContext: initialization completed in 1602 ms
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:30.748 INFO 17036 [main] com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure Init DruidDataSource
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:30.938 INFO 17036 [main] com.alibaba.druid.pool.DruidDataSource {dataSource-1} inited
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:42.659 INFO 17036 [main] org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["http-nio-8879"]
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:42.673 INFO 17036 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat started on port(s): 8879 (http) with context path ''
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:21:42.680 INFO 17036 [main] cn.cslg.pas.Application Started Application in 14.231 seconds (JVM running for 14.843)
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:24:07.507 INFO 17036 [http-nio-8879-exec-1] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring DispatcherServlet 'dispatcherServlet'
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:24:07.507 INFO 17036 [http-nio-8879-exec-1] org.springframework.web.servlet.DispatcherServlet Initializing Servlet 'dispatcherServlet'
-[pas:0.0.0.0:8879] [,] 2022-12-15 15:24:07.509 INFO 17036 [http-nio-8879-exec-1] org.springframework.web.servlet.DispatcherServlet Completed initialization in 1 ms
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:41.947 INFO 16916 [main] cn.cslg.pas.Application Starting Application using Java 1.8.0_202 on DESKTOP-RDOKK5K with PID 16916 (F:\WorkProject\Wispro-CodeWarehouse-BackEnd\PAS\target\classes started by admin in F:\WorkProject\Wispro-CodeWarehouse-BackEnd)
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:41.950 INFO 16916 [main] cn.cslg.pas.Application The following 1 profile is active: "dev"
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:43.346 INFO 16916 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Multiple Spring Data modules found, entering strict repository configuration mode!
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:43.350 INFO 16916 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Bootstrapping Spring Data Redis repositories in DEFAULT mode.
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:43.389 INFO 16916 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Finished Spring Data repository scanning in 26 ms. Found 0 Redis repository interfaces.
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:43.990 INFO 16916 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat initialized with port(s): 8879 (http)
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:43.997 INFO 16916 [main] org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["http-nio-8879"]
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:43.997 INFO 16916 [main] org.apache.catalina.core.StandardService Starting service [Tomcat]
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:43.998 INFO 16916 [main] org.apache.catalina.core.StandardEngine Starting Servlet engine: [Apache Tomcat/9.0.58]
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:44.066 INFO 16916 [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring embedded WebApplicationContext
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:44.066 INFO 16916 [main] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext Root WebApplicationContext: initialization completed in 2060 ms
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:44.216 INFO 16916 [main] com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure Init DruidDataSource
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:44.370 INFO 16916 [main] com.alibaba.druid.pool.DruidDataSource {dataSource-1} inited
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:47.696 INFO 16916 [main] org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["http-nio-8879"]
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:47.711 INFO 16916 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat started on port(s): 8879 (http) with context path ''
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:38:47.719 INFO 16916 [main] cn.cslg.pas.Application Started Application in 6.517 seconds (JVM running for 7.457)
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:42:56.727 INFO 16916 [http-nio-8879-exec-1] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring DispatcherServlet 'dispatcherServlet'
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:42:56.727 INFO 16916 [http-nio-8879-exec-1] org.springframework.web.servlet.DispatcherServlet Initializing Servlet 'dispatcherServlet'
-[pas:0.0.0.0:8879] [,] 2022-12-15 17:42:56.728 INFO 16916 [http-nio-8879-exec-1] org.springframework.web.servlet.DispatcherServlet Completed initialization in 1 ms

+ 0 - 1
logs/pas/pas-info.2022-12-16.0.log

@@ -1 +0,0 @@
-[pas:0.0.0.0:8879] [,] 2022-12-16 03:00:47.015 INFO 16916 [hutool-cron-1] cn.cslg.pas.common.utils.BackupUtils 数据库备份配置文件不存在

+ 0 - 1
logs/pas/pas-info.2022-12-17.0.log

@@ -1 +0,0 @@
-[pas:0.0.0.0:8879] [,] 2022-12-17 03:00:47.018 INFO 16916 [hutool-cron-2] cn.cslg.pas.common.utils.BackupUtils 数据库备份配置文件不存在

+ 0 - 1
logs/pas/pas-info.2022-12-18.0.log

@@ -1 +0,0 @@
-[pas:0.0.0.0:8879] [,] 2022-12-18 03:00:47.014 INFO 16916 [hutool-cron-3] cn.cslg.pas.common.utils.BackupUtils 数据库备份配置文件不存在

+ 59 - 0
logs/pas/pas-info.2023-01-09.0.log

@@ -0,0 +1,59 @@
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:34.543 INFO 14800 [main] cn.cslg.pas.Application Starting Application using Java 1.8.0_202 on DESKTOP-RDOKK5K with PID 14800 (F:\WorkProject\Wispro-CodeWarehouse-BackEnd\PAS\target\classes started by admin in F:\WorkProject\Wispro-CodeWarehouse-BackEnd)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:34.561 INFO 14800 [main] cn.cslg.pas.Application The following 1 profile is active: "dev"
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:35.798 INFO 14800 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Multiple Spring Data modules found, entering strict repository configuration mode!
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:35.801 INFO 14800 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Bootstrapping Spring Data Redis repositories in DEFAULT mode.
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:35.831 INFO 14800 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Finished Spring Data repository scanning in 17 ms. Found 0 Redis repository interfaces.
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:36.469 INFO 14800 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat initialized with port(s): 8879 (http)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:36.477 INFO 14800 [main] org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["http-nio-8879"]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:36.477 INFO 14800 [main] org.apache.catalina.core.StandardService Starting service [Tomcat]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:36.477 INFO 14800 [main] org.apache.catalina.core.StandardEngine Starting Servlet engine: [Apache Tomcat/9.0.58]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:36.558 INFO 14800 [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring embedded WebApplicationContext
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:36.558 INFO 14800 [main] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext Root WebApplicationContext: initialization completed in 1955 ms
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:36.734 INFO 14800 [main] com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure Init DruidDataSource
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:36.891 INFO 14800 [main] com.alibaba.druid.pool.DruidDataSource {dataSource-1} inited
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:40.630 INFO 14800 [main] org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["http-nio-8879"]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:40.646 INFO 14800 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat started on port(s): 8879 (http) with context path ''
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:40.654 INFO 14800 [main] cn.cslg.pas.Application Started Application in 6.775 seconds (JVM running for 7.712)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:44.134 INFO 14800 [http-nio-8879-exec-3] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring DispatcherServlet 'dispatcherServlet'
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:44.134 INFO 14800 [http-nio-8879-exec-3] org.springframework.web.servlet.DispatcherServlet Initializing Servlet 'dispatcherServlet'
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:44.136 INFO 14800 [http-nio-8879-exec-3] org.springframework.web.servlet.DispatcherServlet Completed initialization in 2 ms
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:52.699 INFO 14800 [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource {dataSource-1} closed
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:57.106 INFO 17116 [main] cn.cslg.pas.Application Starting Application using Java 1.8.0_202 on DESKTOP-RDOKK5K with PID 17116 (F:\WorkProject\Wispro-CodeWarehouse-BackEnd\PAS\target\classes started by admin in F:\WorkProject\Wispro-CodeWarehouse-BackEnd)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:57.109 INFO 17116 [main] cn.cslg.pas.Application The following 1 profile is active: "dev"
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:58.320 INFO 17116 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Multiple Spring Data modules found, entering strict repository configuration mode!
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:58.323 INFO 17116 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Bootstrapping Spring Data Redis repositories in DEFAULT mode.
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:32:59.000 INFO 17116 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Finished Spring Data repository scanning in 540 ms. Found 0 Redis repository interfaces.
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:00.475 INFO 17116 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat initialized with port(s): 8879 (http)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:00.491 INFO 17116 [main] org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["http-nio-8879"]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:00.492 INFO 17116 [main] org.apache.catalina.core.StandardService Starting service [Tomcat]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:00.492 INFO 17116 [main] org.apache.catalina.core.StandardEngine Starting Servlet engine: [Apache Tomcat/9.0.58]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:00.656 INFO 17116 [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring embedded WebApplicationContext
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:00.657 INFO 17116 [main] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext Root WebApplicationContext: initialization completed in 3494 ms
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:01.008 INFO 17116 [main] com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure Init DruidDataSource
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:01.273 INFO 17116 [main] com.alibaba.druid.pool.DruidDataSource {dataSource-1} inited
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:06.909 INFO 17116 [main] org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["http-nio-8879"]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:06.927 INFO 17116 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat started on port(s): 8879 (http) with context path ''
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:06.935 INFO 17116 [main] cn.cslg.pas.Application Started Application in 10.945 seconds (JVM running for 12.085)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:52.919 INFO 17116 [http-nio-8879-exec-2] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring DispatcherServlet 'dispatcherServlet'
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:52.919 INFO 17116 [http-nio-8879-exec-2] org.springframework.web.servlet.DispatcherServlet Initializing Servlet 'dispatcherServlet'
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:33:52.921 INFO 17116 [http-nio-8879-exec-2] org.springframework.web.servlet.DispatcherServlet Completed initialization in 2 ms
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:36.524 INFO 17116 [SpringApplicationShutdownHook] com.alibaba.druid.pool.DruidDataSource {dataSource-1} closed
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:43.946 INFO 7108 [main] cn.cslg.pas.Application Starting Application using Java 1.8.0_202 on DESKTOP-RDOKK5K with PID 7108 (F:\WorkProject\Wispro-CodeWarehouse-BackEnd\PAS\target\classes started by admin in F:\WorkProject\Wispro-CodeWarehouse-BackEnd)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:43.949 INFO 7108 [main] cn.cslg.pas.Application The following 1 profile is active: "dev"
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:44.737 INFO 7108 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Multiple Spring Data modules found, entering strict repository configuration mode!
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:44.740 INFO 7108 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Bootstrapping Spring Data Redis repositories in DEFAULT mode.
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:44.778 INFO 7108 [main] org.springframework.data.repository.config.RepositoryConfigurationDelegate Finished Spring Data repository scanning in 20 ms. Found 0 Redis repository interfaces.
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:45.539 INFO 7108 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat initialized with port(s): 8879 (http)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:45.548 INFO 7108 [main] org.apache.coyote.http11.Http11NioProtocol Initializing ProtocolHandler ["http-nio-8879"]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:45.548 INFO 7108 [main] org.apache.catalina.core.StandardService Starting service [Tomcat]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:45.549 INFO 7108 [main] org.apache.catalina.core.StandardEngine Starting Servlet engine: [Apache Tomcat/9.0.58]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:45.646 INFO 7108 [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring embedded WebApplicationContext
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:45.646 INFO 7108 [main] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext Root WebApplicationContext: initialization completed in 1661 ms
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:45.920 INFO 7108 [main] com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure Init DruidDataSource
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:46.142 INFO 7108 [main] com.alibaba.druid.pool.DruidDataSource {dataSource-1} inited
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:51.653 INFO 7108 [main] org.apache.coyote.http11.Http11NioProtocol Starting ProtocolHandler ["http-nio-8879"]
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:51.669 INFO 7108 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer Tomcat started on port(s): 8879 (http) with context path ''
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:40:51.677 INFO 7108 [main] cn.cslg.pas.Application Started Application in 8.337 seconds (JVM running for 9.039)
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:41:35.288 INFO 7108 [http-nio-8879-exec-1] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] Initializing Spring DispatcherServlet 'dispatcherServlet'
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:41:35.288 INFO 7108 [http-nio-8879-exec-1] org.springframework.web.servlet.DispatcherServlet Initializing Servlet 'dispatcherServlet'
+[pas:0.0.0.0:8879] [,] 2023-01-09 11:41:35.291 INFO 7108 [http-nio-8879-exec-1] org.springframework.web.servlet.DispatcherServlet Completed initialization in 3 ms