登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
12月28日,「开源中国源创会年终盛典」珠海站再次回归!点击免费报名参会
代码拉取完成,页面将自动刷新
开源项目
>
数据库相关
>
数据库开发包
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
2.3K
Star
11.4K
Fork
3.4K
GVP
baomidou
/
mybatis-plus
代码
Issues
17
统计
流水线
服务
Gitee Pages
JavaDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
更新失败,请稍后重试!
Issues
/
详情
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
DataChangeRecorderInnerInterceptor不支持自定义批量插入语句
待办的
#I9DOZE
泽阳君
创建于
2024-04-02 17:16
### 当前使用版本(必填,否则不予处理) 3.5.5 MyDataChangeRecorderInnerInterceptor使用的是仓库中3.0分支的最新代码 ### 该问题是如何引起的?(确定最新版也有问题再提!!!) mapper如下 ``` public interface OperationLogMapper extends BaseMapper<OperationLog> { int insertBatch(List<OperationLog> operationLogs); } ``` xml如下 ``` <insert id="insertBatch"> insert into tds_operation_log (id,system_name,function_item, operator,operation_level,operation_type, ip_address,start_time,end_time, result,failure_reason,detail) values <foreach collection="list" item="item" separator=","> (#{item.id},#{item.systemName},#{item.functionItem}, #{item.operator},#{item.operationLevel},#{item.operationType}, #{item.ipAddress},#{item.startTime},#{item.endTime}, #{item.result},#{item.failureReason},#{item.detail}) </foreach> </insert> ``` ### 重现步骤(如果有就写完整) 调用OperationLogMapper的insertBatch方法 ### 报错信息 2024-04-02 17:15:03.270 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.id,parameterMapping:ParameterMapping{property='__frch_item_2.id', mode=IN, javaType=class java.lang.Integer, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.271 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.systemName,parameterMapping:ParameterMapping{property='__frch_item_2.systemName', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.272 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.functionItem,parameterMapping:ParameterMapping{property='__frch_item_2.functionItem', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.272 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.operator,parameterMapping:ParameterMapping{property='__frch_item_2.operator', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.273 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.operationLevel,parameterMapping:ParameterMapping{property='__frch_item_2.operationLevel', mode=IN, javaType=class java.lang.Integer, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.274 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.operationType,parameterMapping:ParameterMapping{property='__frch_item_2.operationType', mode=IN, javaType=class java.lang.Integer, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.274 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.ipAddress,parameterMapping:ParameterMapping{property='__frch_item_2.ipAddress', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.275 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.startTime,parameterMapping:ParameterMapping{property='__frch_item_2.startTime', mode=IN, javaType=class java.time.LocalDateTime, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.275 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.endTime,parameterMapping:ParameterMapping{property='__frch_item_2.endTime', mode=IN, javaType=class java.time.LocalDateTime, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.276 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.result,parameterMapping:ParameterMapping{property='__frch_item_2.result', mode=IN, javaType=class java.lang.Integer, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.277 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.failureReason,parameterMapping:ParameterMapping{property='__frch_item_2.failureReason', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.277 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.detail,parameterMapping:ParameterMapping{property='__frch_item_2.detail', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.279 [http-nio-20680-exec-1] INFO c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -{"tableName":"tds_operation_log","operation":"insert","recordStatus":"true","changedData":[}],"cost(ms)":81}
### 当前使用版本(必填,否则不予处理) 3.5.5 MyDataChangeRecorderInnerInterceptor使用的是仓库中3.0分支的最新代码 ### 该问题是如何引起的?(确定最新版也有问题再提!!!) mapper如下 ``` public interface OperationLogMapper extends BaseMapper<OperationLog> { int insertBatch(List<OperationLog> operationLogs); } ``` xml如下 ``` <insert id="insertBatch"> insert into tds_operation_log (id,system_name,function_item, operator,operation_level,operation_type, ip_address,start_time,end_time, result,failure_reason,detail) values <foreach collection="list" item="item" separator=","> (#{item.id},#{item.systemName},#{item.functionItem}, #{item.operator},#{item.operationLevel},#{item.operationType}, #{item.ipAddress},#{item.startTime},#{item.endTime}, #{item.result},#{item.failureReason},#{item.detail}) </foreach> </insert> ``` ### 重现步骤(如果有就写完整) 调用OperationLogMapper的insertBatch方法 ### 报错信息 2024-04-02 17:15:03.270 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.id,parameterMapping:ParameterMapping{property='__frch_item_2.id', mode=IN, javaType=class java.lang.Integer, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.271 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.systemName,parameterMapping:ParameterMapping{property='__frch_item_2.systemName', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.272 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.functionItem,parameterMapping:ParameterMapping{property='__frch_item_2.functionItem', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.272 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.operator,parameterMapping:ParameterMapping{property='__frch_item_2.operator', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.273 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.operationLevel,parameterMapping:ParameterMapping{property='__frch_item_2.operationLevel', mode=IN, javaType=class java.lang.Integer, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.274 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.operationType,parameterMapping:ParameterMapping{property='__frch_item_2.operationType', mode=IN, javaType=class java.lang.Integer, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.274 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.ipAddress,parameterMapping:ParameterMapping{property='__frch_item_2.ipAddress', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.275 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.startTime,parameterMapping:ParameterMapping{property='__frch_item_2.startTime', mode=IN, javaType=class java.time.LocalDateTime, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.275 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.endTime,parameterMapping:ParameterMapping{property='__frch_item_2.endTime', mode=IN, javaType=class java.time.LocalDateTime, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.276 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.result,parameterMapping:ParameterMapping{property='__frch_item_2.result', mode=IN, javaType=class java.lang.Integer, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.277 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.failureReason,parameterMapping:ParameterMapping{property='__frch_item_2.failureReason', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.277 [http-nio-20680-exec-1] WARN c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -get value error,propertyName:__frch_item_2.detail,parameterMapping:ParameterMapping{property='__frch_item_2.detail', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'} 2024-04-02 17:15:03.279 [http-nio-20680-exec-1] INFO c.c.j.d.c.MyDataChangeRecorderInnerInterceptor -{"tableName":"tds_operation_log","operation":"insert","recordStatus":"true","changedData":[}],"cost(ms)":81}
评论 (
0
)
泽阳君
创建了
任务
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (4)
标签 (63)
3.0
master
2.x
1.x
v3.5.5
v3.5.3.2
v3.5.3.1
v3.5.3
3.5.2
v3.5.1
v3.4.3.2
v3.4.2
v3.4.3.1
v3.4.3
v3.4.1
v3.4.0
v3.3.2
v3.3.1.tmp
v3.3.1
v3.3.0
v3.2.1.1-SNAPSHOT
v3.2.0
v3.1.2
v3.1.1
v3.1.0
v3.0.4
v2.3.2
v3.0.2
v.2.3.1
v3.0.1
v3.0-RELEASE
v3.0-RC2
v3.0-RC1
v3.0-RC
v3.0-gamma
v3.0-beta
v3.0-alpha
v2.3
v2.2.0
v2.1.9
v2.1.8
v2.1.7
v2.1.5
v.2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.9
v2.0.8
v2.0.6
v2.0.5
v2.0.3
v2.0.2
v2.0.1
v2.0
v2.0-beta
v1.4.9
v1.4.8
v1.4.7
v1.4.6
v1.4.5
v1.4.3
v1.4.0
v1.3.0
v1.2.1
v1.1
v1.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
Java
1
https://gitee.com/baomidou/mybatis-plus.git
git@gitee.com:baomidou/mybatis-plus.git
baomidou
mybatis-plus
mybatis-plus
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册