管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-03-25 1c285b38777e9f37ee8d112e994443d3640b78c1
src/main/resources/mapper/sys/LoginMapper.xml
@@ -6,7 +6,7 @@
        <where>
            1 = 1
            <if test="uname != null">
                and b.uname like #{uname}
                and upper(b.uname) like #{uname}
            </if>
            <if test="type != null">
                and a.type = #{type}
@@ -25,7 +25,7 @@
        <where>
            1 = 1
            <if test="uname != null">
                and b.uname like #{uname}
                and upper(b.uname) like #{uname}
            </if>
            <if test="type != null">
                and a.type = #{type}
@@ -37,12 +37,12 @@
                and a.optime &lt;= #{end}
            </if>
        </where>
        order by a.id
        order by a.id desc
        limit #{limit} offset #{offset}
    </select>
    <select id="selectLoginAll" resultType="com.lf.server.entity.sys.LoginEntity">
        select * from lf.sys_login order by id;
        select * from lf.sys_login order by id desc
    </select>
    <select id="selectLogin" resultType="com.lf.server.entity.sys.LoginEntity">