From cb0eefdc3573b633f18f242abe30f3a9b94e6153 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 14 Mar 2022 18:00:27 +0800 Subject: [PATCH] 20222223 --- src/main/resources/mapper/member/MemberCoinChargeDao.xml | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/member/MemberCoinChargeDao.xml b/src/main/resources/mapper/member/MemberCoinChargeDao.xml index 3f6faae..e1539f1 100644 --- a/src/main/resources/mapper/member/MemberCoinChargeDao.xml +++ b/src/main/resources/mapper/member/MemberCoinChargeDao.xml @@ -12,4 +12,21 @@ order by create_time desc limit 1 </select> + <select id="selectAllBySymbolAndTag" resultType="com.xcong.excoin.modules.member.entity.MemberCoinChargeEntity"> + select * from member_coin_charge + where symbol=#{symbol} + <if test="tag !=null and tag != ''"> + and tag = #{tag} + </if> + <if test="status !=null and status != ''"> + and status = #{status} + </if> + </select> + + <select id="findMemberCoinChargeInPage" resultType="com.xcong.excoin.modules.member.entity.MemberCoinChargeEntity"> + select * from member_coin_charge + where member_id=#{record.memberId} + order by create_time desc + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1