Parameter '0' not found.Available parameters are [arg1, arg0, param1, param2]
修改前:
<delete id="updateRoleByUid" parameterType="int"> update user set u_role =#{u_role} where u_id =#{u_id} </delete>
修改后:
<delete id="updateRoleByUid" parameterType="int"> update user set u_role =#{arg1} where u_id =#{arg0} </delete>
需要根据你传递的顺序修改arg后面的值。