Skip to content

Commit 1a536d7

Browse files
authored
Merge branch 'master' into SpringCloudSupportEdition
2 parents e8ef19c + 8d4972e commit 1a536d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Starter里包含了若干默认的组件实现:基于mysql的分布式事务日
129129
* 这个方法也可以不调用,框架用默认的业务代码及自动生成的ID号,但这样做的缺点是全局事务ID无法直接关联到具体业务
130130
* 不过这个可以通过自定义BusinessCodeGenerator及TrxIdGenerator来产生关联
131131
*/
132-
transaction.startEasyTrans(BUSINESS_CODE, String.valueOf(id));
132+
transaction.startEasyTrans(BUSINESS_CODE, id);
133133
134134
/**
135135
* 调用远程服务扣除所需的钱,这个远程服务实现了TCC接口,

0 commit comments

Comments
 (0)