Authored by Lixiaodi

bug修改

... ... @@ -190,7 +190,7 @@
</update>
<update id="addMoney" parameterType="com.yohoufo.dal.order.model.OrdersPay" >
update orders_pay set amount = amount + #{amount,jdbcType=DECIMAL},update_time = #{updateTime,jdbcType=INTEGER} where order_code = #{orderCode,jdbcType=BIGINT}
update orders_pay set amount = amount + #{amount,jdbcType=DECIMAL} where order_code = #{orderCode,jdbcType=BIGINT}
and uid = #{uid,jdbcType=INTEGER} and amount + #{amount,jdbcType=DECIMAL} &gt;= 0
</update>
</mapper>
\ No newline at end of file
... ...