src/main/resources/mapper/walletCoinOrder/OrderCoinsDao.xml
@@ -44,4 +44,17 @@ </foreach> </if> </select> <update id="updateDeal" parameterType="map"> update coins_order <set> <if test="dealCnt!=null"> deal_cnt = deal_cnt+#{dealCnt}, </if> <if test="dealAmount!=null"> deal_amount = deal_amount+#{dealAmount}, </if> </set> where id = #{id} </update> </mapper>