[已解决] MyBatis 中bind用法
时间:2016-06-17 12:37:11
收藏:0
阅读:326
JAVA:
TC_ENTR_FLOW selectFlowForUpdate(String ENTR_ID);
XML:
<select id="selectFlowForUpdate" resultMap="BaseResultMap" parameterType="java.lang.String"> <bind name="ENTR_ID" value="‘%‘ + _parameter" /> select * from TC_ENTR_FLOW where ENTR_ID like #{ENTR_ID} for update </select>
原文:http://www.cnblogs.com/gifisan/p/5593531.html
评论(0)