| | |
| | | <result property="product" column="product" jdbcType="VARCHAR"/> |
| | | <result property="channel" column="channel" jdbcType="VARCHAR"/> |
| | | <result property="name" column="name" jdbcType="VARCHAR"/> |
| | | <result property="show" column="show" jdbcType="INTEGER"/> |
| | | <result property="showNum" column="show_num" jdbcType="INTEGER"/> |
| | | <result property="click" column="click" jdbcType="INTEGER"/> |
| | | <result property="accountConsumption" column="account_consumption" jdbcType="DECIMAL"/> |
| | | <result property="rebateConsumption" column="rebate_consumption" jdbcType="DECIMAL"/> |
| | |
| | | group by product |
| | | order by actualCost desc limit 7 |
| | | </select> |
| | | <select id="selectUser" resultType="java.util.Map"> |
| | | select user.department, user.name, user.account from user |
| | | where id = #{userId} |
| | | </select> |
| | | </mapper> |