陈昶聿
5 天以前 ec23ec3d3dc4ec1ba7d79ba4f46ae2c31d5a16a9
ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml
@@ -25,7 +25,8 @@
   <select id="selectLogininforList" parameterType="SysLogininfor" resultMap="SysLogininforResult">
      select info_id, user_name, ipaddr, login_location, browser, os, status, msg, login_time from sys_logininfor
      <where>
      WHERE 1=1
         <if test="ipaddr != null and ipaddr != ''">
            AND ipaddr like concat('%', #{ipaddr}, '%')
         </if>
@@ -41,7 +42,7 @@
         <if test="params.endTime != null and params.endTime != ''"><!-- 结束时间检索 -->
            and date_format(login_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
         </if>
      </where>
      order by info_id desc
   </select>