mybatis 操作动态表+动态字段+存储过程
存储过程 statementType="CALLABLE"
<!-- 计算金额存储过程-->
<update id="getCalcDistributorSettle" statementType="CALLABLE" parameterType="java.util.Map">
<![CDATA[
CALL procCalcDistributorSettle (#{ID},#{message})
]]>
</update>
动态表+动态字段配置 statementType="STATEMENT"
<update id="updateMemberFiled" parameterType="map" statementType="STATEMENT">
<![CDATA[
update Member m
set
${filed_companyAddress} = '${companyAddress}'
where memberID = '${memberID}'
]]>
</update>
尖锋网和七七八八网推荐转载请注明出处:http://blog.csdn.net/yjflinchong/article/details/7758581
mybatis 操作动态表 存储过程
本文转自yjflinchong 51CTO博客,原文链接:http://blog.51cto.com/yjflinchong/1164948,如需转载请自行联系原作者