From ce97969fce786a9a1dc0bc18acad6261bee73a21 Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期二, 02 一月 2024 00:39:12 +0800 Subject: [PATCH] 导出功能 --- data-server/src/main/resources/mapper/DataReportingMapper.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/data-server/src/main/resources/mapper/DataReportingMapper.xml b/data-server/src/main/resources/mapper/DataReportingMapper.xml index 5e626cc..3b5fc96 100644 --- a/data-server/src/main/resources/mapper/DataReportingMapper.xml +++ b/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> -- Gitblit v1.9.3