xiaoyong931011
2021-11-10 7d35a3676ac6d4abcc7a02f33ba020bc29e1b825
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>