From 3ff5638ae0ec0e52c2c314471a57ab4ef84fa3f9 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 15 Dec 2021 18:13:39 +0800 Subject: [PATCH] fix --- gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml | 4 ++++ 1 files changed, 4 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 6bcc8b1..f7f71ef 100644 --- a/gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml +++ b/gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml @@ -21,4 +21,8 @@ <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