From 510084d153326eba131c241a3350bdc1164e49ff Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 09 Aug 2021 16:30:15 +0800
Subject: [PATCH] 20210809

---
 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 a8b55be..6bcc8b1 100644
--- a/gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml
+++ b/gc-user/src/main/resources/mapper/user/RedPaperRuleMapper.xml
@@ -17,4 +17,8 @@
         </if>
         limit  1
     </select>
+
+  <select id="selectByRuleName" resultType="com.xzx.gc.entity.RedPaperRule">
+    select * from xzx_user_redpaper_rule where rule_name = #{ruleStr}
+  </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1