src/main/resources/mapper/sys/ArgsMapper.xml
@@ -5,7 +5,7 @@ select count(*) from lf.sys_args <where> <if test="name != null"> name like #{name} upper(name) like #{name} </if> </where> </select> @@ -14,7 +14,7 @@ select * from lf.sys_args <where> <if test="name != null"> name like #{name} upper(name) like #{name} </if> </where> order by id src/main/resources/mapper/sys/AttachMapper.xml
@@ -5,7 +5,7 @@ select count(*) from lf.sys_attach <where> <if test="name != null"> name like #{name} upper(name) like #{name} </if> </where> </select> @@ -14,7 +14,7 @@ select * from lf.sys_attach <where> <if test="name != null"> name like #{name} upper(name) like #{name} </if> </where> order by id src/main/resources/mapper/sys/BlacklistMapper.xml
@@ -6,7 +6,7 @@ <where> 1 = 1 <if test="ip != null"> and ip like #{ip} and upper(ip) like #{ip} </if> <if test="type != null"> and type = #{type} @@ -19,7 +19,7 @@ <where> 1 = 1 <if test="ip != null"> and a.ip like #{ip} and upper(a.ip) like #{ip} </if> <if test="type != null"> and a.type = #{type} src/main/resources/mapper/sys/DownlogMapper.xml
@@ -7,7 +7,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 c.type = #{type} @@ -27,7 +27,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 c.type = #{type} src/main/resources/mapper/sys/LayerMapper.xml
@@ -5,7 +5,7 @@ select count(*) from lf.sys_layer <where> <if test="cnName != null"> cn_name like #{cnName} upper(cn_name) like #{cnName} </if> </where> </select> @@ -14,7 +14,7 @@ select * from lf.sys_layer <where> <if test="cnName != null"> cn_name like #{cnName} upper(cn_name) like #{cnName} </if> </where> order by id 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} src/main/resources/mapper/sys/MsgMapper.xml
@@ -5,7 +5,7 @@ select count(*) from lf.sys_msg <where> <if test="title != null"> title like #{title} upper(title) like #{title} </if> </where> </select> @@ -14,7 +14,7 @@ select * from lf.sys_msg <where> <if test="title != null"> title like #{title} upper(title) like #{title} </if> </where> order by id src/main/resources/mapper/sys/OperateMapper.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} src/main/resources/mapper/sys/ReportMapper.xml
@@ -5,7 +5,7 @@ select count(*) from lf.sys_report <where> <if test="name != null"> name like #{name} upper(name) like #{name} </if> <if test="code != null"> code = #{code} @@ -17,7 +17,7 @@ select a.*,fn_uname(a.create_user) createName,fn_uname(a.update_user) updateName from lf.sys_report a <where> <if test="name != null"> name like #{name} upper(name) like #{name} </if> <if test="code != null"> code = #{code} src/main/resources/mapper/sys/ResMapper.xml
@@ -5,7 +5,7 @@ select count(*) from lf.sys_res <where> <if test="name != null"> name like #{name} upper(name) like #{name} </if> </where> </select> @@ -14,7 +14,7 @@ select a.*,fn_rec_query(a.depid, 'dep') depName,fn_rec_query(a.dirid, 'dir') dirName,fn_uname(a.create_user) createName,fn_uname(a.update_user) updateName from lf.sys_res a <where> <if test="name != null"> a.name like #{name} upper(a.name) like #{name} </if> </where> order by a.id desc src/main/resources/mapper/sys/ResOpMapper.xml
@@ -6,7 +6,7 @@ <where> 1 = 1 <if test="name != null"> and c.name like #{name} and upper(c.name) like #{name} </if> <if test="type != null"> and a.type = #{type} @@ -25,7 +25,7 @@ <where> 1 = 1 <if test="name != null"> and c.name like #{name} and upper(c.name) like #{name} </if> <if test="type != null"> and a.type = #{type} src/main/resources/mapper/sys/RoleMapper.xml
@@ -6,7 +6,7 @@ <where> 1=1 <if test="name != null"> and a.name like #{name} and upper(a.name) like #{name} </if> <if test="depid != null"> and a.depid = #{depid} @@ -20,7 +20,7 @@ <where> 1=1 <if test="name != null"> and a.name like #{name} and upper(a.name) like #{name} </if> <if test="depid != null"> and a.depid = #{depid} src/main/resources/mapper/sys/UserMapper.xml
@@ -15,7 +15,7 @@ <where> 1 = 1 <if test="uname != null"> and uname like #{uname} and upper(uname) like #{uname} </if> <if test="depcode != null"> and depcode like #{depcode} @@ -28,7 +28,7 @@ <where> 1 = 1 <if test="uname != null"> and uname like #{uname} and upper(uname) like #{uname} </if> <if test="depcode != null"> and depcode like #{depcode} @@ -47,7 +47,7 @@ </if> ) <if test="uname != null"> and a.uname like #{uname} and upper(a.uname) like #{uname} </if> <if test="depcode != null"> and depcode like #{depcode} @@ -64,7 +64,7 @@ </if> ) <if test="uname != null"> and a.uname like #{uname} and upper(a.uname) like #{uname} </if> <if test="depcode != null"> and depcode like #{depcode}