zainali5120
2020-10-10 f28d8076108296c387ed7e8f1bf819c060a6c8a2
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>