This is an automated email from the ASF dual-hosted git repository. shenlin pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git
The following commit(s) were added to refs/heads/main by this push: new c9e5210 fix:fix event type list error. c9e5210 is described below commit c9e52107e18db2f0e6174d3986942e35a302d691 Author: 2011shenlin <2011shen...@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}