You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2024/07/27 02:26:09 UTC
(incubator-streampark) branch dev-2.1.5 updated: [Improve] token mybatis mapper improvement
This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev-2.1.5
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev-2.1.5 by this push:
new 854af3ce4 [Improve] token mybatis mapper improvement
854af3ce4 is described below
commit 854af3ce47786fe476dff076a3c6cb5028134b89
Author: benjobs <be...@apache.org>
AuthorDate: Sat Jul 27 10:25:55 2024 +0800
[Improve] token mybatis mapper improvement
---
.../src/main/resources/mapper/system/AccessTokenMapper.xml | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/streampark-console/streampark-console-service/src/main/resources/mapper/system/AccessTokenMapper.xml b/streampark-console/streampark-console-service/src/main/resources/mapper/system/AccessTokenMapper.xml
index 5a440a13e..b180943d5 100644
--- a/streampark-console/streampark-console-service/src/main/resources/mapper/system/AccessTokenMapper.xml
+++ b/streampark-console/streampark-console-service/src/main/resources/mapper/system/AccessTokenMapper.xml
@@ -27,13 +27,7 @@
t1.modify_time,
t1.description,
t1.status as status,
- t2.status as userStatus,
- case
- when t1.status = 1 and t2.status = 1
- then 1
- else 0
- end
- as finalStatus
+ t2.status as userStatus
</sql>
<select id="page" resultType="org.apache.streampark.console.system.entity.AccessToken"