You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by sh...@apache.org on 2024/09/23 12:58:15 UTC
(rocketmq-eventbridge) branch fix/listEventType created (now 4a60e80)
This is an automated email from the ASF dual-hosted git repository.
shenlin pushed a change to branch fix/listEventType
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git
at 4a60e80 fix:fix event type list error.
This branch includes the following new commits:
new 4a60e80 fix:fix event type list error.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(rocketmq-eventbridge) 01/01: fix:fix event type list error.
Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
shenlin pushed a commit to branch fix/listEventType
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git
commit 4a60e808e3df84c8c000c28e0c272afb86009132
Author: 2011shenlin <20...@gmail.com>
AuthorDate: Mon Sep 23 20:58:02 2024 +0800
fix:fix event type list error.
---
adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml b/adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml
index 737f329..33a2653 100644
--- a/adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml
+++ b/adapter/persistence/src/main/resources/mybatis/EventTypeMapper.xml
@@ -49,12 +49,12 @@
WHERE account_id = #{accountId}
AND bus = #{eventBusName}
AND source = #{eventSourceName}
- LIMIT #{nextToken} #{maxResults}
+ LIMIT #{nextToken} , #{maxResults}
</select>
<select id="getEventTypeCount" parameterType="java.util.Map" resultType="java.lang.Integer">
SELECT
- <include refid="COLUMN_LIST"/>
+ count(1)
FROM
<include refid="TABLE_NAME"/>
WHERE account_id = #{accountId}