[已解决] MyBatis 中bind用法
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.mybatis.org/mybatis-3/zh/dynamic-sql.html
文章来源:http://www.cnblogs.com/gifisan/p/5593531.html
轻量级 Java NIO 工具包:https://github.com/nimbleio/nimbleio
轻量级 Java NIO 工具包:https://github.com/generallycloud/baseio