@@ -18,7 +18,7 @@ import java.util.Date;
*/
@Data
@Accessors(chain = true)
-@TableName("auth_access_token")
+@TableName(value = "auth_access_token",schema="core")
@ApiModel(value = "auth_access_token对象", description = "${tableInfo.comment}")
public class AuthAccessToken {
private static final long serialVersionUID = 609728602009854139L;
@@ -19,7 +19,7 @@ import java.util.Date;
-@TableName("auth_client")
+@TableName(value = "auth_client",schema="core")
@ApiModel(value = "auth_client对象", description = "${tableInfo.comment}")
public class AuthClient implements Serializable {
private static final long serialVersionUID = 797527324359363898L;
-@TableName("auth_code")
+@TableName(value = "auth_code",schema="core")
@ApiModel(value = "auth_code对象", description = "${tableInfo.comment}")
public class AuthCode {
private static final long serialVersionUID = 530532860710429881L;
-@TableName("auth_user_login_log")
+@TableName(value = "auth_user_login_log",schema="core")
@ApiModel(value = "auth_user_login_log对象", description = "${tableInfo.comment}")
public class AuthUserLoginLog {
private static final long serialVersionUID = -92351792239110203L;
@@ -12,7 +12,7 @@ spring:
namespace: mes-dev
datasource:
driver-class-name: org.postgresql.Driver
- url: jdbc:postgresql://s.dev01.dkiboss.com:15000/dkmes3?currentSchema=core
+ url: jdbc:postgresql://s.dev01.dkiboss.com:15000/dkmes3
username: mes_dev
password: dk
type: com.alibaba.druid.pool.DruidDataSource
@@ -23,7 +23,7 @@
<select id="pageQuery" resultMap="AuthAccessTokenMap">
SELECT
id, client_id, token_id, token_expired_seconds, authentication_id, user_id, fty_id, token_type, refresh_token, refresh_token_expired_seconds, create_date, creater, last_update_by, last_update_date
- FROM auth_access_token
+ FROM core.auth_access_token
<where>
<if test="authAccessTokenDto.id != null and authAccessTokenDto.id != ''">
AND id = #{authAccessTokenDto.id}
@@ -26,7 +26,7 @@
<select id="pageQuery" resultMap="AuthClientMap">
id, client_name, client_id, client_secret, client_uri, client_icon_uri, resource_ids, scope, grant_types, redirect_uri, state, description, creater, create_date, create_org, last_update_by, last_update_date
- FROM auth_client
+ FROM core.auth_client
<if test="authClientDto.id != null and authClientDto.id != ''">
AND id = #{authClientDto.id}
@@ -17,7 +17,7 @@
<select id="pageQuery" resultMap="AuthCodeMap">
code, user_id, client_id, create_date, state, creater, last_update_by, last_update_date
- FROM auth_code
+ FROM core.auth_code
<if test="authCodeDto.code != null and authCodeDto.code != ''">
AND code = #{authCodeDto.code}
@@ -24,7 +24,7 @@
<select id="pageQuery" resultMap="AuthUserLoginLogMap">
id, user_id, login_type, command, version, client, device_id, last_ip, login_os, osver, creater, create_date, create_org, last_update_by, last_update_date
- FROM auth_user_login_log
+ FROM core.auth_user_login_log
<if test="authUserLoginLogDto.id != null and authUserLoginLogDto.id != ''">
AND id = #{authUserLoginLogDto.id}
@@ -13,7 +13,7 @@ spring: