select <include ref /> from goods where id = #{id} for update
<!-- 可复用的sql模板 -->
<sql >
id,name,num
</sql>
这里的
上述例子表示为:
select id,name,num from goods where id = #{id} for update
select <include ref /> from goods where id = #{id} for update
<!-- 可复用的sql模板 -->
<sql >
id,name,num
</sql>
这里的
上述例子表示为:
select id,name,num from goods where id = #{id} for update
相关文章: