1.修改 [html] view plain copy <update id="updateStatusById" parameterType="java.lang.Integer"> update nic_techsupport set status_id = #{0} where techsupport_id =#{1} </update> 为 [html] view plain copy <update id="updateStatusById" parameterType="java.lang.Integer"> update nic_techsupport set status_id = #{arg0} where techsupport_id =#{arg1} </update> 在MyBatis3.4.4版不能直接使用#{0}要使用 #{arg0}