xiaoyong931011
2022-10-21 3f114403185072d9745940d7ff855eedd51c9812
src/main/resources/mapper/dapp/IgtOnHookPlanOrderDao.xml
@@ -32,10 +32,11 @@
    <update id="addAvaAmountAddProfitById">
        update igt_on_hook_plan_order
        set
            ava_amount = ava_amount + #{amount},
            ava_amount = ava_amount - #{amount},
            profit = profit + #{profit}
        where
            id = #{id}
          and ava_amount - #{amount} <![CDATA[ >= ]]> 0
    </update>
    <select id="selectSumProfitByMemberId" resultType="java.math.BigDecimal">