diff --git a/eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppJwtConfigRepositoryCustomizedImpl.java b/eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppJwtConfigRepositoryCustomizedImpl.java index 0e8b0cea..d78065ee 100644 --- a/eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppJwtConfigRepositoryCustomizedImpl.java +++ b/eiam-common/src/main/java/cn/topiam/employee/common/repository/app/impl/AppJwtConfigRepositoryCustomizedImpl.java @@ -39,23 +39,7 @@ import static cn.topiam.employee.common.constant.ProtocolConstants.JWT_CONFIG_CA @AllArgsConstructor @CacheConfig(cacheNames = { JWT_CONFIG_CACHE_NAME }) public class AppJwtConfigRepositoryCustomizedImpl implements AppJwtConfigRepositoryCustomized { - private static final String SELECT_SQL = """ - SELECT - ajc.*, - app.init_login_url, - app.init_login_type, - app.authorization_type, - app.template_, - app.code_, - app.is_enabled, - app.client_id, - app.client_secret - FROM - app - INNER JOIN app_jwt_config ajc ON app.id_ = ajc.app_id AND ajc.is_deleted = '0' - WHERE - app.is_deleted = '0' - """; + private static final String SELECT_SQL = "SELECT ajc.*, app.init_login_url, app.init_login_type, app.authorization_type, app.template_ , app.code_, app.is_enabled, app.client_id, app.client_secret FROM app INNER JOIN app_jwt_config ajc ON app.id_ = ajc.app_id AND ajc.is_deleted = '0' WHERE app.is_deleted = '0'"; /** * 根据应用ID获取