Parameter index out of range (1 > number of parameters, which is 0).

来源:互联网 发布:网络推广的面试问题 编辑:程序博客网 时间:2024/05/16 11:23
<update id="updateDelete" parameterType="map">        UPDATE            wx_shop_db.mst_customer wmc LEFT JOIN promotion_db.mst_coupon pmc         ON            wmc.customer_cd = pmc.customer_cd        SET            wmc.delete_flag = "1"        WHERE            wmc.customer_cd = #{customer_cd, jdbcType=VARCHAR};    </update>

在第10行原来是wmc.customer_cd = ”#{customer_cd, jdbcType=VARCHAR}”;
去掉“”号就好了,有‘’也不行

阅读全文
0 0
原创粉丝点击