李林
2024-01-02 ce97969fce786a9a1dc0bc18acad6261bee73a21
data-server/src/main/resources/mapper/DataReportingMapper.xml
@@ -11,7 +11,7 @@
            <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"/>
@@ -92,4 +92,8 @@
        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>