xiaoyong931011
2021-01-28 71b1b3615d6ba865f23e4175e0a697e40a23f8c1
src/main/resources/mapper/contract/ContractOrderDao.xml
@@ -90,4 +90,11 @@
        where order_no=#{orderNo}
        and order_type in (1,2) and order_status=1
    </select>
    <update id="updateOrderProfitOrLessById">
        update contract_order
        set reward_amount=#{rewardAmount},
        reward_ratio=#{rewardRatio}
        where id=#{id}
    </update>
</mapper>