xiaoyong931011
2023-08-18 6c75b0c0fd6862b0d10793821db7017341a6a771
src/main/resources/mapper/dapp/DappSystemProfitDao.xml
@@ -8,7 +8,6 @@
        where state = #{state}
        order by id ASC
        limit 1
        for update
    </select>
    <select id="selectByIdForUpdate" resultType="cc.mrbird.febs.dapp.entity.DappSystemProfit">
@@ -16,7 +15,6 @@
        from dapp_system_profit a
        where a.id = #{id}
        and a.state = #{state}
        for update
    </select>
    <update id="updateLevelProfitById">
@@ -103,4 +101,11 @@
        order by a.id asc
    </select>
    <select id="selectByMemberId" resultType="cc.mrbird.febs.dapp.entity.DappSystemProfit">
        select a.*
        from dapp_system_profit a
        where member_id = #{memberId}
            limit 1
    </select>
</mapper>