| | |
| | | <where> |
| | | 1 = 1 |
| | | <if test="uname != null"> |
| | | and b.uname like #{uname} |
| | | and upper(b.uname) like #{uname} |
| | | </if> |
| | | <if test="type != null"> |
| | | and c.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 c.type = #{type} |
| | |
| | | and a.create_time <= #{end} |
| | | </if> |
| | | </where> |
| | | order by id |
| | | order by id desc |
| | | limit #{limit} offset #{offset} |
| | | </select> |
| | | |
| | | <select id="selectAll" resultType="com.lf.server.entity.sys.DownlogEntity"> |
| | | select * from lf.sys_downlog order by id; |
| | | select * from lf.sys_downlog order by id desc |
| | | </select> |
| | | |
| | | <select id="selectById" resultType="com.lf.server.entity.sys.DownlogEntity"> |