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