管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-05-26 0ebc3b238ba7ce52e92ea575f10c12c76d125b26
src/main/resources/mapper/data/DownloadMapper.xml
@@ -24,7 +24,7 @@
    <select id="selectCountForUser" resultType="java.lang.Integer">
        select count(*) from lf.sys_download
        <where>
            create_user = #{createUser} and type = #{type}
            create_user = #{createUser} and type in (${types})
            <if test="name != null">
                and (upper(name) like #{name} or upper(descr) like #{name})
            </if>
@@ -34,7 +34,7 @@
    <select id="selectByPageForUser" resultType="com.lf.server.entity.data.DownloadEntity">
        select *, fn_uname(create_user) createName from lf.sys_download
        <where>
            create_user = #{createUser} and type = #{type}
            create_user = #{createUser} and type in (${types})
            <if test="name != null">
                and (upper(name) like #{name} or upper(descr) like #{name})
            </if>