1.修改日志报错问题

2.移动公用地址到common下
This commit is contained in:
sh
2026-04-09 19:19:47 +08:00
parent a1b880f817
commit fd4ab146e0
11 changed files with 140 additions and 22 deletions

View File

@@ -25,13 +25,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select info_id, user_name, ipaddr, login_location, browser, os, status, msg, login_time,login_time_cipher,user_name_cipher from sys_logininfor
<where>
<if test="ipaddr != null and ipaddr != ''">
AND ipaddr like concat('%', #{ipaddr}, '%')
AND ipaddr like concat('%', CAST(#{ipaddr} AS VARCHAR), '%')
</if>
<if test="status != null and status != ''">
AND status = #{status}
</if>
<if test="userName != null and userName != ''">
AND user_name like concat('%', #{userName}, '%')
AND user_name like concat('%', CAST(#{userName} AS VARCHAR), '%')
</if>
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
AND login_time &gt;= #{params.beginTime}

View File

@@ -40,10 +40,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectOperLogVo"/>
<where>
<if test="operIp != null and operIp != ''">
AND oper_ip like concat('%', #{operIp}, '%')
AND oper_ip like concat('%', CAST(#{operIp} AS VARCHAR), '%')
</if>
<if test="title != null and title != ''">
AND title like concat('%', #{title}, '%')
AND title like concat('%', CAST(#{title} AS VARCHAR), '%')
</if>
<if test="businessType != null">
AND business_type = #{businessType}
@@ -58,7 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND status = #{status}
</if>
<if test="operName != null and operName != ''">
AND oper_name like concat('%', #{operName}, '%')
AND oper_name like concat('%', CAST(#{operName} AS VARCHAR), '%')
</if>
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
AND oper_time &gt;= #{params.beginTime}