Browse Source

model实体类

main
wxc 1 year ago
parent
commit
d89bbb92fd
  1. 20
      src/main/java/com/biutag/supervision/pojo/entity/Model.java
  2. 4
      src/main/java/com/biutag/supervision/pojo/entity/News.java
  3. 6
      src/main/resources/application-dev.yml
  4. 6
      src/main/resources/application-prod.yml

20
src/main/java/com/biutag/supervision/pojo/entity/Model.java

@ -115,4 +115,24 @@ public class Model {
// 通知回复时限 // 通知回复时限
private Integer replyLimit; private Integer replyLimit;
//-------------------------------
// 模型结果表名
private String clueTableName;
// 同步时间字段名
private String clueTimeFieldName;
// 同步唯一字段名
private String clueUniqueFieldName;
// 同步周期 day-每天 week-每周
private String clueCycle;
// 同步周期 周几
private Integer clueCycleDayOfWeek;
// 同步时间
private String clueCycleTime;
} }

4
src/main/java/com/biutag/supervision/pojo/entity/News.java

@ -42,4 +42,8 @@ public class News {
@TableField("content_txt") @TableField("content_txt")
private String contentTxt; private String contentTxt;
private String departId;
private String departName;
} }

6
src/main/resources/application-dev.yml

@ -26,6 +26,12 @@ spring:
url: jdbc:mysql://172.31.217.20:31868/negative?serverTimezone=GMT%2B8 url: jdbc:mysql://172.31.217.20:31868/negative?serverTimezone=GMT%2B8
username: root username: root
password: ip12341234 password: ip12341234
slave4:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://172.31.217.20:31868/csga_wdpcdb?serverTimezone=GMT%2B8
username: root
password: ip12341234
mailbox: mailbox:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver

6
src/main/resources/application-prod.yml

@ -26,6 +26,12 @@ spring:
url: jdbc:dm://65.47.22.243:5236?SCHEMA=JSDZ_4GDB url: jdbc:dm://65.47.22.243:5236?SCHEMA=JSDZ_4GDB
username: DCZD username: DCZD
password: DCZD@2024 password: DCZD@2024
slave4:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://65.47.6.109:3306/csga_wdpcdb?serverTimezone=GMT%2B8&useSSL=false
username: root
password: ip12341234
mailbox: mailbox:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver

Loading…
Cancel
Save