Helius
2020-10-13 e27a19c86366eeddb98f36d266bbdb220e0ce457
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>