From f30a977b18541d2f1b9a7863b1377e5f366df9dc Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <279049017@qq.com>
Date: Mon, 16 Nov 2020 18:01:41 +0800
Subject: [PATCH] 修改时间的bug

---
 kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml
index 185051f..1a52ffd 100644
--- a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml
+++ b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-server/src/main/resources/application.yml
@@ -10,7 +10,7 @@
   application:
     name: usercenter-server
   datasource:
-    url: jdbc:mysql://${kidgrow.datasource.ip}:3306/user_center?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+    url: jdbc:mysql://${kidgrow.datasource.ip}:3306/user_center_${spring.profiles.active}?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
     username: ${kidgrow.datasource.username}
     password: ${kidgrow.datasource.password}
 #    driver-class-name: com.mysql.jdbc.Driver
@@ -55,6 +55,7 @@
   tenant:
     enable: true
     #多租户隔离字段
+
     tenantid: tenant_id
     ignoreTables:
       - sys_user
@@ -70,7 +71,10 @@
       - sys_doctor
       - sys_department
       - sys_area
+      - sys_company
+      - sys_role_organization
     ignoreSqls:
       - com.kidgrow.usercenter.mapper.SysRoleMapper.findAll
+      - com.kidgrow.usercenter.mapper.SysUserMapper.findAppointUsers
 
 

--
Gitblit v1.8.0