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