diff --git a/yxt-supervise-cyf/docs/databases/create_table.sql b/yxt-supervise-cyf/docs/databases/create_table.sql new file mode 100644 index 00000000..d3553955 --- /dev/null +++ b/yxt-supervise-cyf/docs/databases/create_table.sql @@ -0,0 +1,2 @@ +CREATE DATABASE `yxt_supervise_cyf` /*!40100 DEFAULT CHARACTER SET utf8mb4 */ + diff --git a/yxt-supervise-cyf/docs/sheji/醇油坊-数据结构.md b/yxt-supervise-cyf/docs/sheji/醇油坊-数据结构.md new file mode 100644 index 00000000..3b4a5dbf --- /dev/null +++ b/yxt-supervise-cyf/docs/sheji/醇油坊-数据结构.md @@ -0,0 +1,72 @@ + +> # 一、业务数据 + 1. 库存,原料 +各仓(油罐)的排布,各罐总油量,变动量(实时出入量)。时间、对应车、车号、吨数、供应商、确认人、金额 +计量计(泵房),各计量计的对应油罐,计量要素,计量计出油量,对应油罐,时间,油类 +包材(瓶) +原料、大豆,花生,葵花子等 +预付款 + 2. 生产: +产生品、批次、油类、商品库油类 +3. 成品库: +种类, +4. 出入库, +5. 物流 +6. 财务:资金 +7. 采购: +8. 客户名单,供应商、经销商 +总销售,北京醇油坊 +河北醇油坊 +石家庄醇油坊 +回款到北京醇油坊 +客户名单 +商品名单 +物流名单 + +> # 二、硬件及展示页面 +1. 门禁 +2. 监控摄像头,泵房、油罐、加油口,发货的地方 +3. 出入库、出厂的票和单子 +4. 出库表、销售表 +5. 总图:概况,油罐、采购、销售、库存。监管的实时画面 +6. 分开不同人使用的界面 + +> # 三、系统数据结构设计 +## 1. 基础数据: +### 1.1 仓库分类: +1. 油罐(仓库)原油库(豆油(1、2、3级)、玉米油、葵花子油、花生油、橄榄油、核桃油) +2. 原料库(花生、葵花子)按重量计量 +3. 成品库,商品类型、数量 +4. 包材库:瓶、盖、箱、提手、标签、其他 +5. 预付款库:定金、预付款 +### 1.2 客户中心: +1. 供货商(供应商),上游厂家(金胜) +2. 经销商:2级 + - 北京醇油坊,北京下面的客户名单 + - 工厂直销 + - 其他 +3. 合同管理(供货商、经销商),名称、类别、金额、付款方式、合同有效期 +4. 发票基本信息,代码、号码、开票日期 +### 1.3 商品类: +1. 原材料(采购),原油、原料、包材 +2. 产成品(销售),类别,SKU(级别,容量、包装) +### 1.4 管理类: +1. 泵房(生产), +2. 流量计(对应油罐,管线管路图) +3. 物流数据,车辆、车号、车型、载重 + +## 2. 动态数据: +1. 采购数据(原材料入库),图片、车、对应合同 +2. 库存数据,一天一记 +3. 生产数据(原材料出库),流量计、小票图片 +4. 成品数据,(产成吕,商品入库)成品商品 +5. 销售数据:(产成吕,商品出库)提货单(车),金额 + +## 3. 财务数据: +1. 回款 +2. 合同管理 +3. 订金、预付款 +4. 发票(批量导入,发票号) + +## 4. 监管报表 +由以上各种数据进行抽取、清洗、查询、统计、汇总。 \ No newline at end of file diff --git a/yxt-supervise-cyf/pom.xml b/yxt-supervise-cyf/pom.xml new file mode 100644 index 00000000..6e3c641d --- /dev/null +++ b/yxt-supervise-cyf/pom.xml @@ -0,0 +1,19 @@ + + + + + 4.0.0 + yxt-supervise-cyf + + yxt-supervise-cyf-api + yxt-supervise-cyf-biz + + com.yxt.supervise.cyf + 0.0.1 + + pom + 客户管理 + + \ No newline at end of file diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-api/pom.xml b/yxt-supervise-cyf/yxt-supervise-cyf-api/pom.xml new file mode 100644 index 00000000..731660aa --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-api/pom.xml @@ -0,0 +1,44 @@ + + + + com.yxt + yxt-parent + 0.0.1 + + + 4.0.0 + + yxt-supervise-cyf-api + com.yxt.supervise.cyf + 0.0.1-SNAPSHOT + + + + com.yxt + yxt-common-core + 0.0.1 + + + org.projectlombok + lombok + 1.18.24 + true + + + + + + + nexus-releases + http://172.18.0.3:8081/repository/yxt-mvn-releases/ + + + nexus-snapshots + http://172.18.0.3:8081/repository/yxt-mvn-snapshot/ + + + + + \ No newline at end of file diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-api/src/main/java/com/yxt/supervise/cyf/api/package-info.java b/yxt-supervise-cyf/yxt-supervise-cyf-api/src/main/java/com/yxt/supervise/cyf/api/package-info.java new file mode 100644 index 00000000..7031cab0 --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-api/src/main/java/com/yxt/supervise/cyf/api/package-info.java @@ -0,0 +1,4 @@ +/** + * 宇信通监管项目-醇油坊项目-接口声明 + */ +package com.yxt.supervise.cyf.api; \ No newline at end of file diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-biz/pom.xml b/yxt-supervise-cyf/yxt-supervise-cyf-biz/pom.xml new file mode 100644 index 00000000..15599ec2 --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-biz/pom.xml @@ -0,0 +1,91 @@ + + + + + com.yxt + yxt-parent + 0.0.1 + + + 4.0.0 + + yxt-supervise-cyf-biz + com.yxt.supervise.cyf + 0.0.1 + + + + com.yxt.supervise.cyf + yxt-supervise-cyf-api + 0.0.1-SNAPSHOT + + + com.yxt + yxt-common-base + 0.0.1 + + + + mysql + mysql-connector-java + runtime + + + + com.baomidou + mybatis-plus-boot-starter + + + com.baomidou + mybatis-plus-annotation + + + junit + junit + compile + + + javax.servlet + javax.servlet-api + 4.0.1 + compile + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + 2.5.6 + + + + repackage + + + + + + + + src/main/java + + **/*Mapper.xml + + + + src/main/resources + + **/*.* + + false + + + + + \ No newline at end of file diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/java/com/yxt/supervise/cyf/YxtSuperviseCyfApplication.java b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/java/com/yxt/supervise/cyf/YxtSuperviseCyfApplication.java new file mode 100644 index 00000000..e4590c0c --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/java/com/yxt/supervise/cyf/YxtSuperviseCyfApplication.java @@ -0,0 +1,18 @@ +package com.yxt.supervise.cyf; + + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * @author dimengzhe + */ +@SpringBootApplication(scanBasePackages = { + "com.yxt.common.base.config", + "com.yxt.supervise.cyf" +}) +public class YxtSuperviseCyfApplication { + public static void main(String[] args) { + SpringApplication.run(CrmApplication.class, args); + } +} diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/java/com/yxt/supervise/cyf/biz/package-info.java b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/java/com/yxt/supervise/cyf/biz/package-info.java new file mode 100644 index 00000000..71c862d6 --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/java/com/yxt/supervise/cyf/biz/package-info.java @@ -0,0 +1,4 @@ +/** + * 宇信通监管项目-醇油坊项目-业务逻辑 + */ +package com.yxt.supervise.cyf.biz; \ No newline at end of file diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-devv.yml b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-devv.yml new file mode 100644 index 00000000..b77cfadd --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-devv.yml @@ -0,0 +1,31 @@ +spring: + datasource: + hikari: + max-lifetime: 500000 + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/yxt_supervise_cyf?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true + username: root + password: root + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + redis: + database: 3 # Redis数据库索引(默认为0) + host: 127.0.0.1 + jedis: + pool: + max-active: -1 #连接池最大连接数(使用负值表示没有限制) + max-idle: 8 #连接池中的最大空闲连接 + max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) + min-idle: 0 # 连接池中的最小空闲连接 + password: + port: 6379 + timeout: 0 # 连接超时时间(毫秒) + +image: + upload: + path: D:\supervise\upload\ + url: + prefix: http://127.0.0.1:8112/upload/ + diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-pro.yml b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-pro.yml new file mode 100644 index 00000000..be94367e --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-pro.yml @@ -0,0 +1,28 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/supervise_crm?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 + username: root + password: root + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + redis: + database: 3 # Redis数据库索引(默认为0) + host: 127.0.0.1 + jedis: + pool: + max-active: -1 #连接池最大连接数(使用负值表示没有限制) + max-idle: 8 #连接池中的最大空闲连接 + max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) + min-idle: 0 # 连接池中的最小空闲连接 + password: 123456 + port: 6379 + timeout: 0 # 连接超时时间(毫秒) +image: + upload: + path: D:\supervise\upload\ + url: + prefix: http://127.0.0.1/api/upload/ + diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-test.yml b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-test.yml new file mode 100644 index 00000000..c1759093 --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application-test.yml @@ -0,0 +1,30 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/yxt_supervise_cyf?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true + username: root + password: 1LAiGz$t1*Iw + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + redis: + database: 3 # Redis数据库索引(默认为0) + host: 127.0.0.1 + jedis: + pool: + max-active: -1 #连接池最大连接数(使用负值表示没有限制) + max-idle: 8 #连接池中的最大空闲连接 + max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) + min-idle: 0 # 连接池中的最小空闲连接 + password: 123456 + port: 6379 + timeout: 0 # 连接超时时间(毫秒) + + +image: + upload: + path: D:/webapps/supervise/static/upload/ + url: + prefix: http://122.14.222.186:7003/upload/ + diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application.yml b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application.yml new file mode 100644 index 00000000..2907a3db --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/application.yml @@ -0,0 +1,47 @@ +spring: + application: + name: supervise-crm + profiles: + active: devv +# active: test + messages: + # 国际化资源文件路径 + basename: i18n/messages + servlet: + #上传文件 + multipart: + max-file-size: 50MB + max-request-size: 100MB + devtools: + restart: + # 热部署开关 + enabled: true + + + +server: + port: 7101 + max-http-header-size: 102400 + undertow: + max-http-post-size: -1 + +#mybatis +mybatis-plus: + # 配置mapper的扫描,找到所有的mapper.xml映射文件 + mapper-locations: classpath*:**Mapper.xml + global-config: + refresh: true + db-config: + #定义生成ID的类型 + id-type: Auto + db-type: mysql + configuration: + map-underscore-to-camel-case: false + cache-enabled: true + call-setters-on-nulls: true + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + + + + + diff --git a/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/logback-spring.xml b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..78ace769 --- /dev/null +++ b/yxt-supervise-cyf/yxt-supervise-cyf-biz/src/main/resources/logback-spring.xml @@ -0,0 +1,50 @@ + + + + + + + + + + %yellow(%date{yyyy-MM-dd HH:mm:ss}) |%highlight(%-5level) |%green(%logger:%line) |%blue(%msg%n) + + + + + + + + + + + + + + + ${log.base}.log + + ${log.base}.%d{yyyyMMdd}.%i.log.zip + + + + 1MB + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} + -%msg%n + + + + + + + + + + \ No newline at end of file diff --git a/yxt-supervise-guanfu/pom.xml b/yxt-supervise-guanfu/pom.xml new file mode 100644 index 00000000..91749e4a --- /dev/null +++ b/yxt-supervise-guanfu/pom.xml @@ -0,0 +1,19 @@ + + + + + 4.0.0 + yxt-supervise-guanfu + + yxt-supervise-guanfu-api + yxt-supervise-guanfu-biz + + com.yxt.supervise.guanfu + 0.0.1 + + pom + 监管项目,光伏 + + \ No newline at end of file diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-api/pom.xml b/yxt-supervise-guanfu/yxt-supervise-guanfu-api/pom.xml new file mode 100644 index 00000000..ea522b49 --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-api/pom.xml @@ -0,0 +1,44 @@ + + + + com.yxt + yxt-parent + 0.0.1 + + + 4.0.0 + + yxt-supervise-guanfu-api + com.yxt.supervise.guanfu + 0.0.1-SNAPSHOT + + + + com.yxt + yxt-common-core + 0.0.1 + + + org.projectlombok + lombok + 1.18.24 + true + + + + + + + nexus-releases + http://172.18.0.3:8081/repository/yxt-mvn-releases/ + + + nexus-snapshots + http://172.18.0.3:8081/repository/yxt-mvn-snapshot/ + + + + + \ No newline at end of file diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-api/src/main/java/com/yxt/supervise/guanfu/api/package-info.java b/yxt-supervise-guanfu/yxt-supervise-guanfu-api/src/main/java/com/yxt/supervise/guanfu/api/package-info.java new file mode 100644 index 00000000..3a05de6b --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-api/src/main/java/com/yxt/supervise/guanfu/api/package-info.java @@ -0,0 +1,4 @@ +/** + * 宇信通监管项目-光伏项目-接口声明 + */ +package com.yxt.supervise.guanfu.api; \ No newline at end of file diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/pom.xml b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/pom.xml new file mode 100644 index 00000000..9f3e63aa --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/pom.xml @@ -0,0 +1,91 @@ + + + + + com.yxt + yxt-parent + 0.0.1 + + + 4.0.0 + + yxt-supervise-guanfu-biz + com.yxt.supervise.cyf + 0.0.1 + + + + com.yxt.supervise.guanfu + yxt-supervise-guanfu-api + 0.0.1-SNAPSHOT + + + com.yxt + yxt-common-base + 0.0.1 + + + + mysql + mysql-connector-java + runtime + + + + com.baomidou + mybatis-plus-boot-starter + + + com.baomidou + mybatis-plus-annotation + + + junit + junit + compile + + + javax.servlet + javax.servlet-api + 4.0.1 + compile + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + 2.5.6 + + + + repackage + + + + + + + + src/main/java + + **/*Mapper.xml + + + + src/main/resources + + **/*.* + + false + + + + + \ No newline at end of file diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/java/com/yxt/supervise/guanfu/YxtSuperviseCyfApplication.java b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/java/com/yxt/supervise/guanfu/YxtSuperviseCyfApplication.java new file mode 100644 index 00000000..e4590c0c --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/java/com/yxt/supervise/guanfu/YxtSuperviseCyfApplication.java @@ -0,0 +1,18 @@ +package com.yxt.supervise.cyf; + + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * @author dimengzhe + */ +@SpringBootApplication(scanBasePackages = { + "com.yxt.common.base.config", + "com.yxt.supervise.cyf" +}) +public class YxtSuperviseCyfApplication { + public static void main(String[] args) { + SpringApplication.run(CrmApplication.class, args); + } +} diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/java/com/yxt/supervise/guanfu/biz/package-info.java b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/java/com/yxt/supervise/guanfu/biz/package-info.java new file mode 100644 index 00000000..c3adc2f8 --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/java/com/yxt/supervise/guanfu/biz/package-info.java @@ -0,0 +1,4 @@ +/** + * 宇信通监管项目-光伏项目-业务逻辑 + */ +package com.yxt.supervise.guanfu.biz; \ No newline at end of file diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-devv.yml b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-devv.yml new file mode 100644 index 00000000..6bb843a4 --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-devv.yml @@ -0,0 +1,31 @@ +spring: + datasource: + hikari: + max-lifetime: 500000 + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/yxt_supervise_guanfu?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true + username: root + password: root + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + redis: + database: 3 # Redis数据库索引(默认为0) + host: 127.0.0.1 + jedis: + pool: + max-active: -1 #连接池最大连接数(使用负值表示没有限制) + max-idle: 8 #连接池中的最大空闲连接 + max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) + min-idle: 0 # 连接池中的最小空闲连接 + password: + port: 6379 + timeout: 0 # 连接超时时间(毫秒) + +image: + upload: + path: D:\supervise\upload\ + url: + prefix: http://127.0.0.1:8112/upload/ + diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-pro.yml b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-pro.yml new file mode 100644 index 00000000..be94367e --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-pro.yml @@ -0,0 +1,28 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/supervise_crm?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 + username: root + password: root + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + redis: + database: 3 # Redis数据库索引(默认为0) + host: 127.0.0.1 + jedis: + pool: + max-active: -1 #连接池最大连接数(使用负值表示没有限制) + max-idle: 8 #连接池中的最大空闲连接 + max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) + min-idle: 0 # 连接池中的最小空闲连接 + password: 123456 + port: 6379 + timeout: 0 # 连接超时时间(毫秒) +image: + upload: + path: D:\supervise\upload\ + url: + prefix: http://127.0.0.1/api/upload/ + diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-test.yml b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-test.yml new file mode 100644 index 00000000..e4ee8ce0 --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application-test.yml @@ -0,0 +1,30 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/yxt_supervise_guanfu?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true + username: root + password: 1LAiGz$t1*Iw + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + redis: + database: 3 # Redis数据库索引(默认为0) + host: 127.0.0.1 + jedis: + pool: + max-active: -1 #连接池最大连接数(使用负值表示没有限制) + max-idle: 8 #连接池中的最大空闲连接 + max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) + min-idle: 0 # 连接池中的最小空闲连接 + password: 123456 + port: 6379 + timeout: 0 # 连接超时时间(毫秒) + + +image: + upload: + path: D:/webapps/supervise/static/upload/ + url: + prefix: http://122.14.222.186:7003/upload/ + diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application.yml b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application.yml new file mode 100644 index 00000000..2907a3db --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/application.yml @@ -0,0 +1,47 @@ +spring: + application: + name: supervise-crm + profiles: + active: devv +# active: test + messages: + # 国际化资源文件路径 + basename: i18n/messages + servlet: + #上传文件 + multipart: + max-file-size: 50MB + max-request-size: 100MB + devtools: + restart: + # 热部署开关 + enabled: true + + + +server: + port: 7101 + max-http-header-size: 102400 + undertow: + max-http-post-size: -1 + +#mybatis +mybatis-plus: + # 配置mapper的扫描,找到所有的mapper.xml映射文件 + mapper-locations: classpath*:**Mapper.xml + global-config: + refresh: true + db-config: + #定义生成ID的类型 + id-type: Auto + db-type: mysql + configuration: + map-underscore-to-camel-case: false + cache-enabled: true + call-setters-on-nulls: true + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + + + + + diff --git a/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/logback-spring.xml b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..e58d77b7 --- /dev/null +++ b/yxt-supervise-guanfu/yxt-supervise-guanfu-biz/src/main/resources/logback-spring.xml @@ -0,0 +1,50 @@ + + + + + + + + + + %yellow(%date{yyyy-MM-dd HH:mm:ss}) |%highlight(%-5level) |%green(%logger:%line) |%blue(%msg%n) + + + + + + + + + + + + + + + ${log.base}.log + + ${log.base}.%d{yyyyMMdd}.%i.log.zip + + + + 1MB + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} + -%msg%n + + + + + + + + + + \ No newline at end of file diff --git a/yxt_supervise/supervise-customer/supervise-customer-biz/src/main/java/com/yxt/supervise/customer/biz/package-info.java b/yxt_supervise/supervise-customer/supervise-customer-biz/src/main/java/com/yxt/supervise/customer/biz/package-info.java new file mode 100644 index 00000000..fc9a3da5 --- /dev/null +++ b/yxt_supervise/supervise-customer/supervise-customer-biz/src/main/java/com/yxt/supervise/customer/biz/package-info.java @@ -0,0 +1,4 @@ +/** + * 宇信通监管项目-客户中心业务逻辑 + */ +package com.yxt.supervise.customer.biz; \ No newline at end of file