xiaoyong931011
2021-11-09 45675ff899a8e516e6253f6d8c9e6cda86aaf251
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>