xiaoyong931011
2021-08-09 e847891c4f6f12cee5e764f8c1fad001496b9740
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>