From 2f4dd0b0ba57cc66f2e2d0df7bbbf6cbfe9ba8c7 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 23 Aug 2023 14:06:23 +0800
Subject: [PATCH] 后台修改
---
src/main/resources/mapper/dapp/DappSystemProfitDao.xml | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappSystemProfitDao.xml b/src/main/resources/mapper/dapp/DappSystemProfitDao.xml
index 877e8b6..b18a875 100644
--- a/src/main/resources/mapper/dapp/DappSystemProfitDao.xml
+++ b/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>
\ No newline at end of file
--
Gitblit v1.9.1