智慧保安后台管理项目备份
tangzy
2021-08-12 c0a78b608d90f13fc34018c8d88ddf5c44acdbd7
1.数据源修改
2.单位添加字段
3 files modified
14 ■■■■ changed files
src/main/java/org/springblade/modules/information/entity/Information.java 3 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml 3 ●●●●● patch | view | raw | blame | history
src/main/resources/application-dev.yml 8 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/information/entity/Information.java
@@ -141,6 +141,9 @@
    private String stats;
    private String jurisdiction;
    private String representativecell;
    private String contacts;
    private String contactscell;
}
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -23,6 +23,9 @@
        <result column="departmentid" property="departmentid"/>
        <result column="stats" property="stats"/>
        <result column="jurisdiction" property="jurisdiction"/>
        <result column="representativecell" property="representativecell"/>
        <result column="contacts" property="contacts"/>
        <result column="contactscell" property="contactscell"/>
    </resultMap>
src/main/resources/application-dev.yml
@@ -3,8 +3,8 @@
  redis:
    ##redis 单机环境配置
    host: 127.0.0.1
    port: 6378
    password: redispsw
    port: 6379
    password:
    database: 0
    ssl: false
    ##redis 集群环境配置
@@ -13,7 +13,7 @@
    #  commandTimeout: 5000
  datasource:
    # MySql
    url: jdbc:mysql://localhost:3306/zhba?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    url: jdbc:mysql://223.82.109.183:2083/zhba?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
    username: root
    password: zhba0728
    # PostgreSQL
@@ -41,7 +41,7 @@
    ##是否启用分布式锁
    enabled: false
    ##redis服务地址
    address: redis://127.0.0.1:6378
    address: redis://127.0.0.1:6379
  #本地文件上传
  file:
    remote-mode: true