From 0b968fb17aedfb8a50d5d8900a7fcbc907da775e Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 24 十一月 2022 15:56:36 +0800 Subject: [PATCH] 1 --- src/main/resources/mapper/data/DownloadMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/mapper/data/DownloadMapper.xml b/src/main/resources/mapper/data/DownloadMapper.xml index e9c3b4f..8ad23ff 100644 --- a/src/main/resources/mapper/data/DownloadMapper.xml +++ b/src/main/resources/mapper/data/DownloadMapper.xml @@ -21,20 +21,20 @@ limit #{limit} offset #{offset} </select> - <select id="selectCountForExport" resultType="java.lang.Integer"> + <select id="selectCountForUser" resultType="java.lang.Integer"> select count(*) from lf.sys_download <where> - create_user = #{createUser} and type = 2 + create_user = #{createUser} and type = #{type} <if test="name != null"> and name like #{name} </if> </where> </select> - <select id="selectByPageForExport" resultType="com.lf.server.entity.data.DownloadEntity"> + <select id="selectByPageForUser" resultType="com.lf.server.entity.data.DownloadEntity"> select * from lf.sys_download <where> - create_user = #{createUser} and type = 2 + create_user = #{createUser} and type = #{type} <if test="name != null"> and name like #{name} </if> -- Gitblit v1.9.3