From bbe65d14b3e647074eb7ff1093f4cb94c06f71cd Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 09 Aug 2021 11:23:32 +0800
Subject: [PATCH] fix
---
gc-order/src/main/resources/mapper/order/RedPaperRuleMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gc-order/src/main/resources/mapper/order/RedPaperRuleMapper.xml b/gc-order/src/main/resources/mapper/order/RedPaperRuleMapper.xml
index 1ff327e..4d92842 100644
--- a/gc-order/src/main/resources/mapper/order/RedPaperRuleMapper.xml
+++ b/gc-order/src/main/resources/mapper/order/RedPaperRuleMapper.xml
@@ -321,4 +321,8 @@
<select id="selectDistribRule" resultType="com.xzx.gc.entity.RedPaperRule">
select * from xzx_user_redpaper_rule where rule_type=9
</select>
+
+ <select id="selectRuleByType" resultType="com.xzx.gc.entity.RedPaperRule">
+ select * xzx_user_redpaper_rule where rule_type=#{type}
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1