From 25fb65540710ad0c90cbb0333cacbddef11b3f2b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 28 Feb 2022 15:41:49 +0800 Subject: [PATCH] fix 40 to 50 --- gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml b/gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml index a8b55be..f7f71ef 100644 --- a/gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml +++ b/gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml @@ -17,4 +17,12 @@ </if> limit 1 </select> + + <select id="selectByRuleName" resultType="com.xzx.gc.entity.RedPaperRule"> + select * from xzx_user_redpaper_rule where rule_name = #{ruleStr} + </select> + + <select id="selectByRuleType" resultType="com.xzx.gc.entity.RedPaperRule"> + select * from xzx_user_redpaper_rule where rule_type=#{type} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1