Browse Source

3/29类名填写

lwhhszx 1 năm trước cách đây
mục cha
commit
9c2958011a
44 tập tin đã thay đổi với 1606 bổ sung9 xóa
  1. 300 8
      pom.xml
  2. 7 0
      src/main/java/com/example/xiaoshiweixinback/XiaoshiWeixinbackApplication.java
  3. 35 0
      src/main/java/com/example/xiaoshiweixinback/domain/AssoCategoryFile.java
  4. 35 0
      src/main/java/com/example/xiaoshiweixinback/domain/AssoPersonVip.java
  5. 35 0
      src/main/java/com/example/xiaoshiweixinback/domain/AssoProductFile.java
  6. 35 0
      src/main/java/com/example/xiaoshiweixinback/domain/AssoproductCategory.java
  7. 24 0
      src/main/java/com/example/xiaoshiweixinback/domain/Function.java
  8. 71 0
      src/main/java/com/example/xiaoshiweixinback/domain/Person.java
  9. 73 0
      src/main/java/com/example/xiaoshiweixinback/domain/Product.java
  10. 66 0
      src/main/java/com/example/xiaoshiweixinback/domain/ProductCategory.java
  11. 35 0
      src/main/java/com/example/xiaoshiweixinback/domain/SysFunction.java
  12. 55 0
      src/main/java/com/example/xiaoshiweixinback/domain/Ticket.java
  13. 35 0
      src/main/java/com/example/xiaoshiweixinback/domain/Vip.java
  14. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/AssoCategoryFileMapper.java
  15. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/AssoPersonVipMapper.java
  16. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/AssoProductFileMapper.java
  17. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/AssoproductCategoryMapper.java
  18. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/FunctionMapper.java
  19. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/PersonMapper.java
  20. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/ProductCategoryMapper.java
  21. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/ProductMapper.java
  22. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/SysFunctionMapper.java
  23. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/TicketMapper.java
  24. 18 0
      src/main/java/com/example/xiaoshiweixinback/mapper/VipMapper.java
  25. 20 0
      src/main/java/com/example/xiaoshiweixinback/service/AssoCategoryFileService.java
  26. 21 0
      src/main/java/com/example/xiaoshiweixinback/service/AssoPersonVipService.java
  27. 20 0
      src/main/java/com/example/xiaoshiweixinback/service/AssoProductFileService.java
  28. 21 0
      src/main/java/com/example/xiaoshiweixinback/service/AssoproductCategoryService.java
  29. 20 0
      src/main/java/com/example/xiaoshiweixinback/service/FunctionService.java
  30. 21 0
      src/main/java/com/example/xiaoshiweixinback/service/PersonService.java
  31. 20 0
      src/main/java/com/example/xiaoshiweixinback/service/ProductCategoryService.java
  32. 20 0
      src/main/java/com/example/xiaoshiweixinback/service/ProductService.java
  33. 20 0
      src/main/java/com/example/xiaoshiweixinback/service/SysFunctionService.java
  34. 20 0
      src/main/java/com/example/xiaoshiweixinback/service/TicketService.java
  35. 20 0
      src/main/java/com/example/xiaoshiweixinback/service/VipService.java
  36. 70 0
      src/main/resources/application-dev.yml
  37. 70 0
      src/main/resources/application-dev1.yml
  38. 25 0
      src/main/resources/application-docker.yml
  39. 36 0
      src/main/resources/application-prodNetIn.yml
  40. 34 0
      src/main/resources/application-prodNetOut.yml
  41. 70 0
      src/main/resources/application-testNetIn.yml
  42. 26 0
      src/main/resources/application-testNetOut.yml
  43. 0 1
      src/main/resources/application.properties
  44. 48 0
      src/main/resources/application.yml

+ 300 - 8
pom.xml

@@ -5,37 +5,329 @@
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>3.2.4</version>
-        <relativePath/> <!-- lookup parent from repository -->
+        <version>3.1.3</version>
     </parent>
-    <groupId>com.example</groupId>
-    <artifactId>xiaoshi-weixinback</artifactId>
+
+    <groupId>cn.cslg</groupId>
+    <artifactId>ecs</artifactId>
     <version>0.0.1-SNAPSHOT</version>
-    <name>xiaoshi-weixinback</name>
-    <description>Demo project for Spring Boot</description>
+    <packaging>jar</packaging>
+    <name>pas</name>
+    <description>常熟理工学院 专利分析系统</description>
+
     <properties>
-        <java.version>21</java.version>
+        <java.version>8</java.version>
+        <jwt.version>0.9.0</jwt.version>
+        <commons.io.version>2.5</commons.io.version>
+        <mybatisplus.version>3.5.3.1</mybatisplus.version>
+        <google.code.gson.version>2.7</google.code.gson.version>
+        <hutool.version>5.6.5</hutool.version>
+        <okhttps.version>4.10.0</okhttps.version>
+        <poi.version>4.1.2</poi.version>
+        <poi-tl.version>1.10.3</poi-tl.version>
+        <druid.version>1.1.20</druid.version>
+        <fastjson.version>2.0.12</fastjson.version>
+        <sa-token.version>1.29.0</sa-token.version>
+        <springdoc.version>1.6.6</springdoc.version>
+        <elasticsearch.version>8.6.1</elasticsearch.version>
     </properties>
+
+
     <dependencies>
         <dependency>
+            <groupId>org.springdoc</groupId>
+            <artifactId>springdoc-openapi-ui</artifactId>
+            <version>${springdoc.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-aop</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.deepoove</groupId>
+            <artifactId>poi-tl</artifactId>
+            <version>${poi-tl.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.dev33</groupId>
+            <artifactId>sa-token-spring-boot-starter</artifactId>
+            <version>${sa-token.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.dev33</groupId>
+            <artifactId>sa-token-dao-redis-jackson</artifactId>
+            <version>${sa-token.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>druid-spring-boot-starter</artifactId>
+            <version>${druid.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>${fastjson.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-compress</artifactId>
+            <version>1.21</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>2.6</version>
+        </dependency>
+        <dependency>
+            <groupId>io.jsonwebtoken</groupId>
+            <artifactId>jjwt</artifactId>
+            <version>${jwt.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.ejlchina</groupId>
+            <artifactId>okhttps</artifactId>
+            <version>3.1.1</version>
+        </dependency>
+        <dependency>
+            <groupId>com.squareup.okhttp3</groupId>
+            <artifactId>okhttp</artifactId>
+            <version>3.14.9</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-thymeleaf</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>cn.hutool</groupId>
+            <artifactId>hutool-all</artifactId>
+            <version>${hutool.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.google.code.gson</groupId>
+            <artifactId>gson</artifactId>
+            <!--            <version>${google.code.gson.version}</version>-->
+        </dependency>
+        <dependency>
+            <groupId>org.mybatis</groupId>
+            <artifactId>mybatis-typehandlers-jsr310</artifactId>
+            <version>1.0.2</version>
+        </dependency>
+        <dependency>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-boot-starter</artifactId>
+            <version>${mybatisplus.version}</version>
+        </dependency>
+        <dependency>
             <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter</artifactId>
+            <artifactId>spring-boot-starter-data-redis</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+            <version>3.1.3</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-websocket</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-pool2</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.mysql</groupId>
+            <artifactId>mysql-connector-j</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
         </dependency>
+        <!--        <dependency>-->
+        <!--            <groupId>org.openjdk.nashorn</groupId>-->
+        <!--            <artifactId>nashorn-core</artifactId>-->
+        <!--            <version>15.3</version>-->
+        <!--        </dependency>-->
+        <!--      jdk17后需要此依赖-->
 
         <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi</artifactId>
+            <version>${poi.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi-ooxml</artifactId>
+            <version>${poi.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi-scratchpad</artifactId>
+            <version>${poi.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-fileupload</groupId>
+            <artifactId>commons-fileupload</artifactId>
+            <version>1.3.3</version>
+        </dependency>
+        <dependency>
+            <groupId>com.github.pagehelper</groupId>
+            <artifactId>pagehelper-spring-boot-starter</artifactId>
+            <version>1.4.0</version>
+        </dependency>
+        <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-quartz</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.mchange</groupId>
+            <artifactId>c3p0</artifactId>
+            <version>0.9.5.2</version>
+        </dependency>
+        <dependency>
+            <groupId>e-iceblue</groupId>
+            <artifactId>spire.pdf</artifactId>
+            <version>8.7.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>joda-time</groupId>
+            <artifactId>joda-time</artifactId>
+            <version>2.9.9</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.antlr</groupId>
+            <artifactId>antlr4-runtime</artifactId>
+            <version>4.12.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.pdfbox</groupId>
+            <artifactId>pdfbox</artifactId>
+            <version>2.0.16</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>dom4j</groupId>
+            <artifactId>dom4j</artifactId>
+            <version>1.6.1</version>
+        </dependency>
+        <dependency>
+            <groupId>jaxen</groupId>
+            <artifactId>jaxen</artifactId>
+            <version>1.2.0</version> <!-- 使用你需要的版本 -->
+        </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-test</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-amqp</artifactId>
+        </dependency>
+
+        <!--  poi-->
+        <dependency>
+            <groupId>io.github.draco1023</groupId>
+            <artifactId>poi-tl-ext</artifactId>
+            <version>0.4.2</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-beanutils</groupId>
+            <artifactId>commons-beanutils</artifactId>
+            <version>1.9.3</version>
+        </dependency>
+
+        <dependency>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-generator</artifactId>
+            <version>3.5.3.1</version>
+        </dependency>
+        <!-- velocity -->
+        <dependency>
+            <groupId>org.apache.velocity</groupId>
+            <artifactId>velocity-engine-core</artifactId>
+            <version>2.0</version>
+        </dependency>
+
     </dependencies>
 
     <build>
+        <finalName>ECS_TEST</finalName>
         <plugins>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <configuration>
+                    <includeSystemScope>true</includeSystemScope>
+                    <!-- 指定该Main Class为全局的唯一入口 -->
+                    <mainClass>cn.cslg.pas.Application</mainClass>
+                    <layout>ZIP</layout>
+                    <excludes>
+                        <exclude>
+                            <groupId>org.projectlombok</groupId>
+                            <artifactId>lombok</artifactId>
+                        </exclude>
+                    </excludes>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>8</source>
+                    <target>8</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>17</source>
+                    <target>17</target>
+                </configuration>
             </plugin>
         </plugins>
     </build>
 
+    <!--阿里云镜像源(因需要提交到GithubActions,会引起依赖下载过慢的问题)-->
+    <repositories>
+        <repository>
+            <id>nexus-aliyun</id>
+            <name>nexus-aliyun</name>
+            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <id>com.e-iceblue</id>
+            <name>e-iceblue</name>
+            <url>http://repo.e-iceblue.com/nexus/content/groups/public/</url>
+        </repository>
+    </repositories>
 </project>

+ 7 - 0
src/main/java/com/example/xiaoshiweixinback/XiaoshiWeixinbackApplication.java

@@ -1,5 +1,10 @@
 package com.example.xiaoshiweixinback;
 
+import com.baomidou.mybatisplus.annotation.DbType;
+import com.baomidou.mybatisplus.annotation.IdType;
+
+import com.baomidou.mybatisplus.generator.AutoGenerator;
+import com.baomidou.mybatisplus.generator.config.DataSourceConfig;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 
@@ -7,6 +12,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
 public class XiaoshiWeixinbackApplication {
 
     public static void main(String[] args) {
+
+
         SpringApplication.run(XiaoshiWeixinbackApplication.class, args);
     }
 

+ 35 - 0
src/main/java/com/example/xiaoshiweixinback/domain/AssoCategoryFile.java

@@ -0,0 +1,35 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import lombok.Data;
+
+/**
+ * 
+ * @TableName asso_category_file
+ */
+@TableName(value ="asso_category_file")
+@Data
+public class AssoCategoryFile implements Serializable {
+    /**
+     * ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 
+     */
+    private Integer categoryId;
+
+    /**
+     * 
+     */
+    private String fileGuid;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 35 - 0
src/main/java/com/example/xiaoshiweixinback/domain/AssoPersonVip.java

@@ -0,0 +1,35 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import lombok.Data;
+
+/**
+ * 人员会员管理表
+ * @TableName asso_person_vip
+ */
+@TableName(value ="asso_person_vip")
+@Data
+public class AssoPersonVip implements Serializable {
+    /**
+     * ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 
+     */
+    private Integer personId;
+
+    /**
+     * 
+     */
+    private Integer vipId;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 35 - 0
src/main/java/com/example/xiaoshiweixinback/domain/AssoProductFile.java

@@ -0,0 +1,35 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import lombok.Data;
+
+/**
+ * 产品文件关联表
+ * @TableName asso_product_file
+ */
+@TableName(value ="asso_product_file")
+@Data
+public class AssoProductFile implements Serializable {
+    /**
+     * ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 
+     */
+    private Integer productId;
+
+    /**
+     * 
+     */
+    private String fileGuid;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 35 - 0
src/main/java/com/example/xiaoshiweixinback/domain/AssoproductCategory.java

@@ -0,0 +1,35 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import lombok.Data;
+
+/**
+ * 产品-产品类别关联表
+ * @TableName asso_ product_category
+ */
+@TableName(value ="asso_product_category")
+@Data
+public class AssoproductCategory implements Serializable {
+    /**
+     * ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 
+     */
+    private Integer productId;
+
+    /**
+     * 
+     */
+    private Integer categoryId;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 24 - 0
src/main/java/com/example/xiaoshiweixinback/domain/Function.java

@@ -0,0 +1,24 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import lombok.Data;
+
+/**
+ * 功能
+ * @TableName function
+ */
+@TableName(value ="function")
+@Data
+public class Function implements Serializable {
+    /**
+     * ID
+     */
+    private Integer id;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 71 - 0
src/main/java/com/example/xiaoshiweixinback/domain/Person.java

@@ -0,0 +1,71 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 人员表
+ * @TableName person
+ */
+@TableName(value ="person")
+@Data
+public class Person implements Serializable {
+    /**
+     * ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 
+     */
+    private String name;
+
+    /**
+     * 头像
+     */
+    private String fileGuid;
+
+    /**
+     * 电话号码
+     */
+    private String phoneNum;
+
+    /**
+     * 邮箱
+     */
+    private String email;
+
+    /**
+     * 
+     */
+    private String userName;
+
+    /**
+     * 
+     */
+    private String userPassword;
+
+    /**
+     * 
+     */
+    private String createId;
+
+    /**
+     * 
+     */
+    private String uuid;
+
+    /**
+     * 
+     */
+    private Date createTime;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 73 - 0
src/main/java/com/example/xiaoshiweixinback/domain/Product.java

@@ -0,0 +1,73 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 产品
+ * @TableName product
+ */
+@TableName(value ="product")
+@Data
+public class Product implements Serializable {
+    /**
+     * ID
+     */
+    private Integer id;
+
+    /**
+     * 
+     */
+    private String name;
+
+    /**
+     * 
+     */
+    private String description;
+
+    /**
+     * 检索条件
+     */
+    private String searchCondition;
+
+    /**
+     * 来源
+     */
+    private String sourceFrom;
+
+    /**
+     * 售卖平台
+     */
+    private String sellPlatform;
+
+    /**
+     * 
+     */
+    private Integer ifHot;
+
+    /**
+     * 是否显示(上架)
+     */
+    private Integer ifShow;
+
+    /**
+     *  是否自定义
+     */
+    private Integer ifCustomized;
+
+    /**
+     * 
+     */
+    private String createId;
+
+    /**
+     * 
+     */
+    private Date createTime;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 66 - 0
src/main/java/com/example/xiaoshiweixinback/domain/ProductCategory.java

@@ -0,0 +1,66 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 产品类别
+ * @TableName product_category
+ */
+@TableName(value ="product_category")
+@Data
+public class ProductCategory implements Serializable {
+    /**
+     * ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 
+     */
+    private String description;
+
+    /**
+     * 
+     */
+    private String name;
+
+    /**
+     * 
+     */
+    private Integer parentId;
+
+    /**
+     * 检索条件
+     */
+    private String searchCondition;
+
+    /**
+     * 
+     */
+    private String path;
+
+    /**
+     * 层级
+     */
+    private Integer level;
+
+    /**
+     * 
+     */
+    private String createId;
+
+    /**
+     * 
+     */
+    private Date createTime;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 35 - 0
src/main/java/com/example/xiaoshiweixinback/domain/SysFunction.java

@@ -0,0 +1,35 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import lombok.Data;
+
+/**
+ * 功能
+ * @TableName sys_function
+ */
+@TableName(value ="sys_function")
+@Data
+public class SysFunction implements Serializable {
+    /**
+     * ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 
+     */
+    private String name;
+
+    /**
+     * 
+     */
+    private String uuid;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 55 - 0
src/main/java/com/example/xiaoshiweixinback/domain/Ticket.java

@@ -0,0 +1,55 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import java.util.Date;
+import lombok.Data;
+
+/**
+ * 工单
+ * @TableName ticket
+ */
+@TableName(value ="ticket")
+@Data
+public class Ticket implements Serializable {
+    /**
+     * ID
+     */
+    private Integer id;
+
+    /**
+     * 
+     */
+    private Integer name;
+
+    /**
+     * 
+     */
+    private String contentText;
+
+    /**
+     * 工单类型
+     */
+    private Integer ticketType;
+
+    /**
+     * 
+     */
+    private Integer ticketProgress;
+
+    /**
+     * 
+     */
+    private String createId;
+
+    /**
+     * 
+     */
+    private Date createTime;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 35 - 0
src/main/java/com/example/xiaoshiweixinback/domain/Vip.java

@@ -0,0 +1,35 @@
+package com.example.xiaoshiweixinback.domain;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+import lombok.Data;
+
+/**
+ * 会员表
+ * @TableName vip
+ */
+@TableName(value ="vip")
+@Data
+public class Vip implements Serializable {
+    /**
+     * ID
+     */
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 
+     */
+    private Integer 会员类型;
+
+    /**
+     * 
+     */
+    private String 会员名称;
+
+    @TableField(exist = false)
+    private static final long serialVersionUID = 1L;
+}

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/AssoCategoryFileMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.AssoCategoryFile;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【asso_category_file】的数据库操作Mapper
+* @createDate 2024-03-29 15:30:37
+* @Entity xiaoshiweixinback.domain.AssoCategoryFile
+*/
+public interface AssoCategoryFileMapper extends BaseMapper<AssoCategoryFile> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/AssoPersonVipMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.AssoPersonVip;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【asso_person_vip(人员会员管理表)】的数据库操作Mapper
+* @createDate 2024-03-29 15:32:20
+* @Entity xiaoshiweixinback.domain.AssoPersonVip
+*/
+public interface AssoPersonVipMapper extends BaseMapper<AssoPersonVip> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/AssoProductFileMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.AssoProductFile;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【asso_product_file(产品文件关联表)】的数据库操作Mapper
+* @createDate 2024-03-29 15:34:38
+* @Entity xiaoshiweixinback.domain.AssoProductFile
+*/
+public interface AssoProductFileMapper extends BaseMapper<AssoProductFile> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/AssoproductCategoryMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.xiaoshiweixinback.domain.AssoproductCategory;
+
+/**
+* @author admin
+* @description 针对表【asso_ product_category(产品-产品类别关联表)】的数据库操作Mapper
+* @createDate 2024-03-29 15:28:16
+* @Entity xiaoshiweixinback.domain.AssoproductCategory
+*/
+public interface AssoproductCategoryMapper extends BaseMapper<AssoproductCategory> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/FunctionMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.Function;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【function(功能)】的数据库操作Mapper
+* @createDate 2024-03-29 15:37:27
+* @Entity xiaoshiweixinback.domain.Function
+*/
+public interface FunctionMapper extends BaseMapper<Function> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/PersonMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.Person;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【person(人员表)】的数据库操作Mapper
+* @createDate 2024-03-29 16:21:25
+* @Entity xiaoshiweixinback.domain.Person
+*/
+public interface PersonMapper extends BaseMapper<Person> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/ProductCategoryMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.ProductCategory;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【product_category(产品类别)】的数据库操作Mapper
+* @createDate 2024-03-29 16:24:56
+* @Entity xiaoshiweixinback.domain.ProductCategory
+*/
+public interface ProductCategoryMapper extends BaseMapper<ProductCategory> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/ProductMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.Product;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【product(产品)】的数据库操作Mapper
+* @createDate 2024-03-29 16:23:21
+* @Entity xiaoshiweixinback.domain.Product
+*/
+public interface ProductMapper extends BaseMapper<Product> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/SysFunctionMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.SysFunction;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【sys_function(功能)】的数据库操作Mapper
+* @createDate 2024-03-29 16:26:39
+* @Entity xiaoshiweixinback.domain.SysFunction
+*/
+public interface SysFunctionMapper extends BaseMapper<SysFunction> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/TicketMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.Ticket;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【ticket(工单)】的数据库操作Mapper
+* @createDate 2024-03-29 16:27:51
+* @Entity xiaoshiweixinback.domain.Ticket
+*/
+public interface TicketMapper extends BaseMapper<Ticket> {
+
+}
+
+
+
+

+ 18 - 0
src/main/java/com/example/xiaoshiweixinback/mapper/VipMapper.java

@@ -0,0 +1,18 @@
+package com.example.xiaoshiweixinback.mapper;
+
+import com.example.xiaoshiweixinback.domain.Vip;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+* @author admin
+* @description 针对表【vip(会员表)】的数据库操作Mapper
+* @createDate 2024-03-29 16:29:03
+* @Entity xiaoshiweixinback.domain.Vip
+*/
+public interface VipMapper extends BaseMapper<Vip> {
+
+}
+
+
+
+

+ 20 - 0
src/main/java/com/example/xiaoshiweixinback/service/AssoCategoryFileService.java

@@ -0,0 +1,20 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.AssoCategoryFile;
+import com.example.xiaoshiweixinback.mapper.AssoCategoryFileMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【asso_category_file】的数据库操作Service实现
+* @createDate 2024-03-29 15:30:37
+*/
+@Service
+public class AssoCategoryFileService extends ServiceImpl<AssoCategoryFileMapper, AssoCategoryFile>{
+
+}
+
+
+
+

+ 21 - 0
src/main/java/com/example/xiaoshiweixinback/service/AssoPersonVipService.java

@@ -0,0 +1,21 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.AssoPersonVip;
+import com.example.xiaoshiweixinback.mapper.AssoPersonVipMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【asso_person_vip(人员会员管理表)】的数据库操作Service实现
+* @createDate 2024-03-29 15:32:20
+*/
+@Service
+public class AssoPersonVipService extends ServiceImpl<AssoPersonVipMapper, AssoPersonVip>
+    {
+
+}
+
+
+
+

+ 20 - 0
src/main/java/com/example/xiaoshiweixinback/service/AssoProductFileService.java

@@ -0,0 +1,20 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.AssoProductFile;
+import com.example.xiaoshiweixinback.mapper.AssoProductFileMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【asso_product_file(产品文件关联表)】的数据库操作Service实现
+* @createDate 2024-03-29 15:34:38
+*/
+@Service
+public class AssoProductFileService extends ServiceImpl<AssoProductFileMapper, AssoProductFile> {
+
+}
+
+
+
+

+ 21 - 0
src/main/java/com/example/xiaoshiweixinback/service/AssoproductCategoryService.java

@@ -0,0 +1,21 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.AssoproductCategory;
+import com.example.xiaoshiweixinback.mapper.AssoproductCategoryMapper;
+import org.springframework.stereotype.Service;
+
+
+/**
+* @author admin
+* @description 针对表【asso_ product_category(产品-产品类别关联表)】的数据库操作Service实现
+* @createDate 2024-03-29 15:28:16
+*/
+@Service
+public class AssoproductCategoryService extends ServiceImpl<AssoproductCategoryMapper, AssoproductCategory> {
+
+}
+
+
+
+

+ 20 - 0
src/main/java/com/example/xiaoshiweixinback/service/FunctionService.java

@@ -0,0 +1,20 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.Function;
+import com.example.xiaoshiweixinback.mapper.FunctionMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【function(功能)】的数据库操作Service实现
+* @createDate 2024-03-29 15:37:27
+*/
+@Service
+public class FunctionService extends ServiceImpl<FunctionMapper, Function> {
+
+}
+
+
+
+

+ 21 - 0
src/main/java/com/example/xiaoshiweixinback/service/PersonService.java

@@ -0,0 +1,21 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.Person;
+import com.example.xiaoshiweixinback.mapper.PersonMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【person(人员表)】的数据库操作Service实现
+* @createDate 2024-03-29 16:21:25
+*/
+@Service
+public class PersonService extends ServiceImpl<PersonMapper, Person>
+{
+
+}
+
+
+
+

+ 20 - 0
src/main/java/com/example/xiaoshiweixinback/service/ProductCategoryService.java

@@ -0,0 +1,20 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.ProductCategory;
+import com.example.xiaoshiweixinback.mapper.ProductCategoryMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【product_category(产品类别)】的数据库操作Service实现
+* @createDate 2024-03-29 16:24:56
+*/
+@Service
+public class ProductCategoryService extends ServiceImpl<ProductCategoryMapper, ProductCategory> {
+
+}
+
+
+
+

+ 20 - 0
src/main/java/com/example/xiaoshiweixinback/service/ProductService.java

@@ -0,0 +1,20 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.Product;
+import com.example.xiaoshiweixinback.mapper.ProductMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【product(产品)】的数据库操作Service实现
+* @createDate 2024-03-29 16:23:21
+*/
+@Service
+public class ProductService extends ServiceImpl<ProductMapper, Product> {
+
+}
+
+
+
+

+ 20 - 0
src/main/java/com/example/xiaoshiweixinback/service/SysFunctionService.java

@@ -0,0 +1,20 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.SysFunction;
+import com.example.xiaoshiweixinback.mapper.SysFunctionMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【sys_function(功能)】的数据库操作Service实现
+* @createDate 2024-03-29 16:26:39
+*/
+@Service
+public class SysFunctionService extends ServiceImpl<SysFunctionMapper, SysFunction> {
+
+}
+
+
+
+

+ 20 - 0
src/main/java/com/example/xiaoshiweixinback/service/TicketService.java

@@ -0,0 +1,20 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.Ticket;
+import com.example.xiaoshiweixinback.mapper.TicketMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【ticket(工单)】的数据库操作Service实现
+* @createDate 2024-03-29 16:27:51
+*/
+@Service
+public class TicketService extends ServiceImpl<TicketMapper, Ticket> {
+
+}
+
+
+
+

+ 20 - 0
src/main/java/com/example/xiaoshiweixinback/service/VipService.java

@@ -0,0 +1,20 @@
+package com.example.xiaoshiweixinback.service;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.xiaoshiweixinback.domain.Vip;
+import com.example.xiaoshiweixinback.mapper.VipMapper;
+import org.springframework.stereotype.Service;
+
+/**
+* @author admin
+* @description 针对表【vip(会员表)】的数据库操作Service实现
+* @createDate 2024-03-29 16:29:03
+*/
+@Service
+public class VipService extends ServiceImpl<VipMapper, Vip> {
+
+}
+
+
+
+

+ 70 - 0
src/main/resources/application-dev.yml

@@ -0,0 +1,70 @@
+spring:
+  rabbitmq:
+    host: 192.168.1.24
+    port: 5672
+    username: admin
+    password: 123456
+  data:
+   redis:
+     host: 192.168.1.24
+     port: 6379
+     database: 3
+     password: Xx0GWxdWQJxx6Swe
+     lettuce:
+       pool:
+         max-active: 20
+         max-idle: 20
+         min-idle: 0
+         max-wait: -1ms
+     timeout: 2000ms
+  datasource:
+    url: jdbc:mysql://192.168.1.24:3306/ecs?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
+    username: root
+    password: rrzTwWAYX8Gxh5JH
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      stat-view-servlet:
+        login-username: admin
+        login-password: Cslg2022+
+      web-stat-filter:
+        exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
+  quartz:
+    #相关属性配置
+    properties:
+      org:
+        quartz:
+          scheduler:
+            instanceName: DefaultQuartzScheduler
+            instanceId: AUTO
+          jobStore:
+            class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
+            driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
+            tablePrefix: QRTZ_
+            isClustered: false
+            clusterCheckinInterval: 10000
+            useProperties: false
+          threadPool:
+            class: org.quartz.simpl.SimpleThreadPool
+            threadCount: 10
+            threadPriority: 5
+            threadsInheritContextClassLoaderOfInitializingThread: true
+          dataSource:
+            default:
+              URL: jdbc:mysql://192.168.1.24:3306/pas?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
+              user: root
+              password: rrzTwWAYX8Gxh5JH
+              driver: com.mysql.jdbc.Driver
+
+    #数据库方式
+    job-store-type: jdbc
+    #初始化表结构
+    jdbc:
+      initialize-schema: always
+authorUrl: http://localhost:8871
+PCSUrl: http://localhost:8871
+#OPSUrl: http://192.168.1.24:5001
+OPSUrl: http://139.224.24.90:5001
+PASUrl: http://localhost:8877
+FMSUrl: http://localhost:8801
+FileSource: 1

+ 70 - 0
src/main/resources/application-dev1.yml

@@ -0,0 +1,70 @@
+spring:
+  rabbitmq:
+    host: 172.27.247.174
+    port: 5672
+    username: admin
+    password: 123456
+  data:
+   redis:
+     host: 172.27.247.174
+     port: 6379
+     database: 3
+     password: Xx0GWxdWQJxx6Swe
+     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_prod2?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
+    username: root
+    password: TU5x6IeBi7rl
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      stat-view-servlet:
+        login-username: admin
+        login-password: Cslg2022+
+      web-stat-filter:
+        exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
+  quartz:
+    #相关属性配置
+    properties:
+      org:
+        quartz:
+          scheduler:
+            instanceName: DefaultQuartzScheduler
+            instanceId: AUTO
+          jobStore:
+            class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
+            driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
+            tablePrefix: QRTZ_
+            isClustered: false
+            clusterCheckinInterval: 10000
+            useProperties: false
+          threadPool:
+            class: org.quartz.simpl.SimpleThreadPool
+            threadCount: 10
+            threadPriority: 5
+            threadsInheritContextClassLoaderOfInitializingThread: true
+          dataSource:
+            default:
+              URL: jdbc:mysql://172.27.247.174:3306:3306/pas-prod2?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
+              user: root
+              password: TU5x6IeBi7rl
+              driver: com.mysql.jdbc.Driver
+
+    #数据库方式
+    job-store-type: jdbc
+    #初始化表结构
+    jdbc:
+      initialize-schema: always
+authorUrl: http://localhost:8871
+PCSUrl: http://localhost:8871
+#OPSUrl: http://192.168.1.24:5001
+OPSUrl: http://139.224.24.90:5001
+PASUrl: http://localhost:8877
+FMSUrl: http://localhost:8801
+FileSource: 3

+ 25 - 0
src/main/resources/application-docker.yml

@@ -0,0 +1,25 @@
+spring:
+  redis:
+    host: pas-redis
+    port: 6379
+    database: 0
+    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
+    username: root
+    password: cslg_docker_123456
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      stat-view-servlet:
+        login-username: admin
+        login-password: cslg123456+
+      web-stat-filter:
+        exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"

+ 36 - 0
src/main/resources/application-prodNetIn.yml

@@ -0,0 +1,36 @@
+spring:
+  redis:
+    port: 6379
+    database: 3
+    password: Xx0GWxdWQJxx6Swe
+    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
+    password: TU5x6IeBi7rl
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      stat-view-servlet:
+        login-username: admin
+        login-password: Cslg2022+
+      web-stat-filter:
+        exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
+  data:
+    redis:
+      host: 172.27.247.174
+authorUrl: http://localhost:8871
+
+PCSUrl: http://localhost:8871
+#OPSUrl: http://192.168.1.24:5001
+OPSUrl: http://139.224.24.90:5001
+PASUrl: http://localhost:8877
+RMSUrl: http://localhost:8872
+FMSUrl: http://localhost:8801
+FileSource: 3

+ 34 - 0
src/main/resources/application-prodNetOut.yml

@@ -0,0 +1,34 @@
+spring:
+  redis:
+    host: 47.101.137.223
+    port: 6379
+    database: 3
+    password: Xx0GWxdWQJxx6Swe
+    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_prod2?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
+    username: root
+    password: TU5x6IeBi7rl
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      stat-view-servlet:
+        login-username: admin
+        login-password: Cslg2022+
+      web-stat-filter:
+        exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
+authorUrl: http://localhost:8871
+
+PCSUrl: http://localhost:8871
+#OPSUrl: http://192.168.1.24:5001
+OPSUrl: http://139.224.24.90:5001
+PASUrl: http://localhost:8877
+RMSUrl: http://localhost:8872
+FMSUrl: http://localhost:8801
+FileSource: 3

+ 70 - 0
src/main/resources/application-testNetIn.yml

@@ -0,0 +1,70 @@
+spring:
+  rabbitmq:
+    host: 172.27.247.174
+    port: 5672
+    username: admin
+    password: 123456
+  data:
+    redis:
+      host: 172.27.247.174
+      port: 6379
+      database: 3
+      password: Xx0GWxdWQJxx6Swe
+      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_prod2?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
+    username: root
+    password: TU5x6IeBi7rl
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      stat-view-servlet:
+        login-username: admin
+        login-password: Cslg2022+
+      web-stat-filter:
+        exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
+  quartz:
+    #相关属性配置
+    properties:
+      org:
+        quartz:
+          scheduler:
+            instanceName: DefaultQuartzScheduler
+            instanceId: AUTO
+          jobStore:
+            class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
+            driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
+            tablePrefix: QRTZ_
+            isClustered: false
+            clusterCheckinInterval: 10000
+            useProperties: false
+          threadPool:
+            class: org.quartz.simpl.SimpleThreadPool
+            threadCount: 10
+            threadPriority: 5
+            threadsInheritContextClassLoaderOfInitializingThread: true
+          dataSource:
+            default:
+              URL: jdbc:mysql://172.27.247.174:3306/pas_prod2?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
+              user: root
+              password: TU5x6IeBi7rl
+              driver: com.mysql.jdbc.Driver
+
+    #数据库方式
+    job-store-type: jdbc
+    #初始化表结构
+    jdbc:
+      initialize-schema: always
+authorUrl: http://localhost:8880
+PCSUrl: http://localhost:8880
+#OPSUrl: http://192.168.1.24:5001
+OPSUrl: http://139.224.24.90:5001
+PASUrl: http://localhost:8880
+FMSUrl: http://localhost:8885
+FileSource: 3

+ 26 - 0
src/main/resources/application-testNetOut.yml

@@ -0,0 +1,26 @@
+spring:
+  redis:
+    host: 47.101.137.223
+    port: 6379
+    database: 3
+    password: Xx0GWxdWQJxx6Swe
+    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
+    password: TU5x6IeBi7rl
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      stat-view-servlet:
+        login-username: admin
+        login-password: 123456
+      web-stat-filter:
+        exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
+authorUrl: http://localhost:8871

+ 0 - 1
src/main/resources/application.properties

@@ -1 +0,0 @@
-spring.application.name=xiaoshi-weixinback

+ 48 - 0
src/main/resources/application.yml

@@ -0,0 +1,48 @@
+server:
+  servlet:
+    context-path: /
+  port: 8901
+#  sa-token:
+#  activity-timeout: 18000
+#  token-name: token
+#  token-style: tik
+spring:
+  thymeleaf:
+    cache: false
+    mode: HTML5
+  aop:
+    auto: true
+    proxy-target-class: true
+  application:
+    name: ecs
+  servlet:
+    multipart:
+      max-file-size: 1000MB
+      max-request-size: 1000MB
+  profiles:
+    active: dev
+  jackson:
+    default-property-inclusion: non_null
+    serialization:
+      INDENT_OUTPUT: true
+    date-format: yyyy-MM-dd HH:mm:ss
+    time-zone: Asia/Shanghai
+logging:
+  config: classpath:config/logback-spring.xml
+  level:
+    cn.cslg.pas.mapper: debug
+#mybatis
+mybatis-plus:
+  typeAliasesPackage: cn.cslg.pas.domain
+  global-config:
+    db-config:
+      id-type: AUTO
+      logic-delete-value: 0
+      logic-not-delete-value: 1
+      update-strategy: ignored
+  configuration:
+    #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    map-underscore-to-camel-case: true
+    cache-enabled: false
+  mapper-locations: classpath:mapper/*.xml
+queueName: emailProd.queue