| | |
| | | <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} |
| | |
| | | <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} |
| | |
| | | and a.optime <= #{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"> |