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 17bc428  fix: event rule mybatis resultMap property error (#29)
17bc428 is described below

commit 17bc4282b82703cb9369214ba0bf77c8f43afb51
Author: ruanjiefeng <[email protected]>
AuthorDate: Sun Sep 18 10:12:07 2022 +0800

    fix: event rule mybatis resultMap property error (#29)
---
 adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml 
b/adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml
index 2664379..937b7c8 100644
--- a/adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml
+++ b/adapter/persistence/src/main/resources/mybatis/EventRuleMapper.xml
@@ -11,7 +11,7 @@
     </sql>
     <resultMap id="resultMap" 
type="org.apache.rocketmq.eventbridge.domain.model.rule.EventRule">
         <result property="accountId" column="account_id"/>
-        <result property="bus" column="eventBusName"/>
+        <result property="eventBusName" column="bus"/>
         <result property="name" column="name"/>
         <result property="description" column="description"/>
         <result property="filterPattern" column="filter_pattern"/>

Reply via email to