当前使用版本(必填,否则不予处理)
mybatisplus3.0.5
该问题是如何引起的?(确定最新版也有问题再提!!!)
应为公司代码原因无法升级到新版本。目前只使用这个版本
重现步骤(如果有就写完整)
正常调用savebatch,以及updateBatchById等操作、
报错信息
2021-06-07 17:22:06.296 [pool-1-thread-3] DEBUG mapper.CustomerMapper.updateById - ==> Preparing: UPDATE customer SET customer_name=?, phone=?, media_sources=?, creation_time=?, distribution_resources_status=?, color_status=?, resource_type=?, integral=? WHERE id=? 2021-06-07 17:22:06.296 [pool-1-thread-3] DEBUG mapper.CustomerMapper.updateById - ==> Parameters: 钱氏(String), 18902059345(String), ,电视(String), 2021-06-04 11:30:22.0(Timestamp), 0(Integer), 0(String), 2(String), 0(Integer), 106(Long) 2021-06-07 17:22:06.296 [pool-1-thread-3] DEBUG mapper.CustomerMapper.updateById - ==> Preparing: UPDATE customer SET phone=?, media_sources=?, creation_time=?, distribution_resources_status=?, color_status=?, resource_type=?, integral=? WHERE id=? 2021-06-07 17:22:06.296 [pool-1-thread-3] DEBUG mapper.CustomerMapper.updateById - ==> Parameters: 18348603328(String), ,电视(String), 2021-06-04 11:30:22.0(Timestamp), 0(Integer), 0(String), 2(String), 0(Integer), 107(Long) 2021-06-07 17:22:06.296 [pool-1-thread-3] DEBUG mapper.CustomerMapper.updateById - ==> Preparing: UPDATE customer SET sales_id=?, customer_name=?, phone=?, media_sources=?, creation_time=?, distribution_resources_status=?, color_status=?, resource_type=?, integral=? WHERE id=? 2021-06-07 17:22:06.296 [pool-1-thread-3] DEBUG mapper.CustomerMapper.updateById - ==> Parameters: 5(Long), 孙氏(String), 17196317162(String), ,电视(String), 2021-06-04 11:30:22.0(Timestamp), 0(Integer), 0(String), 2(String), 0(Integer), 108(Long) 2021-06-07 17:22:06.296 [pool-1-thread-3] DEBUG mapper.CustomerMapper.updateById - ==> Preparing: UPDATE customer SET manager_id=?, phone=?, media_sources=?, creation_time=?, distribution_resources_status=?, color_status=?, resource_type=?, integral=? WHERE id=? 2021-06-07 17:22:06.297 [pool-1-thread-3] DEBUG mapper.CustomerMapper.updateById - ==> Parameters: 58(Long), 17661749487(String), ,电视(String), 2021-06-04 11:30:22.0(Timestamp), 0(Integer), 0(String), 2(String), 0(Integer), 109(Long)
并无报错信息,但是执行语句以及字段也打印出来了,但是成功语句并没有。
Comment From: huayanYu
请检查事务配置,无法复现。 如无法排查原因,请提供一个demo程序给出链接,重提ISSUE。