3.1K Star 33.8K Fork 24K

若依 / RuoYi-Vue

 / 详情

多源数据库切换至sqlserver,批处理插入sqlserver识别不到sql

待办的
创建于  
2024-03-27 11:46

单独插入数据库是没问题的,输入图片说明输入图片说明
但是使用到批处理操作的时候,就使用mysql的sql检查,说我的sqlserver的sql出错
Cause: org.apache.ibatis.executor.BatchExecutorException: com.ruoyi.smt.mapper.SpiRecordItemMapper.insertSpiRecordItem (batch index #1:后续的版本计划是怎样的?) failed. Cause: java.sql.BatchUpdateException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.spi_record_item
( parent_id,
pad_id,
result,
' at line 1
输入图片说明
代码:
输入图片说明
请问如何解决

评论 (0)

lionjie 创建了任务
lionjie 修改了描述
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
JavaScript
1
https://gitee.com/y_project/RuoYi-Vue.git
git@gitee.com:y_project/RuoYi-Vue.git
y_project
RuoYi-Vue
RuoYi-Vue

搜索帮助