You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
594 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.example.demo.mapper.GeneralMapper">
  4. <select id="getMarket" resultType="java.lang.String">
  5. select DISTINCT market from user
  6. </select>
  7. <select id="getPlatform" resultType="java.lang.String">
  8. select DISTINCT pay_platform from user_gold_record
  9. </select>
  10. <select id="getGoods" resultType="java.lang.String">
  11. select DISTINCT goods_name from user_gold_record
  12. </select>
  13. </mapper>