mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-21 04:57:41 +00:00
优化部分查询SQL
This commit is contained in:
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</insert>
|
||||
|
||||
<select id="selectLogininforList" parameterType="Logininfor" resultMap="LogininforResult">
|
||||
select * from sys_logininfor
|
||||
select info_id,login_name,ipaddr,login_location,browser,os,status,msg,login_time from sys_logininfor
|
||||
<where>
|
||||
<if test="ipaddr != null and ipaddr != ''">
|
||||
AND ipaddr like concat('%', #{ipaddr}, '%')
|
||||
|
Reference in New Issue
Block a user