Showing
1 changed file
with
1 additions
and
1 deletions
@@ -190,7 +190,7 @@ | @@ -190,7 +190,7 @@ | ||
190 | </update> | 190 | </update> |
191 | 191 | ||
192 | <update id="addMoney" parameterType="com.yohoufo.dal.order.model.OrdersPay" > | 192 | <update id="addMoney" parameterType="com.yohoufo.dal.order.model.OrdersPay" > |
193 | - update orders_pay set amount = amount + #{amount,jdbcType=DECIMAL},update_time = #{updateTime,jdbcType=INTEGER} where order_code = #{orderCode,jdbcType=BIGINT} | 193 | + update orders_pay set amount = amount + #{amount,jdbcType=DECIMAL} where order_code = #{orderCode,jdbcType=BIGINT} |
194 | and uid = #{uid,jdbcType=INTEGER} and amount + #{amount,jdbcType=DECIMAL} >= 0 | 194 | and uid = #{uid,jdbcType=INTEGER} and amount + #{amount,jdbcType=DECIMAL} >= 0 |
195 | </update> | 195 | </update> |
196 | </mapper> | 196 | </mapper> |
-
Please register or login to post a comment