zainali5120
2020-10-12 43385a77303aa2295d902b5a2be9e28723d08cef
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>