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 操作动态表 存储过程