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.
22 lines
912 B
22 lines
912 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.example.demo.mapper.GeneralMapper">
|
|
|
|
<select id="getMarket" resultType="java.lang.String">
|
|
select DISTINCT market from user
|
|
</select>
|
|
<select id="getPlatform" resultType="java.lang.String">
|
|
select DISTINCT pay_platform from user_gold_record
|
|
</select>
|
|
<select id="getGoods" resultType="java.lang.String">
|
|
select DISTINCT goods_name from user_gold_record
|
|
</select>
|
|
<select id="getActivity" resultType="java.lang.String">
|
|
select DISTINCT activity from user_gold_record
|
|
</select>
|
|
<!--获取角色的地区权限列表-->
|
|
<select id="getRoleMarket" resultType="java.lang.String">
|
|
select market from admin
|
|
where account = #{account}
|
|
</select>
|
|
</mapper>
|