未知异常

九月 10, 2019 10:18:06 上午 org.apache.catalina.core.ApplicationContext log
信息: Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: 
### Error updating database.  Cause: com.microsoft.sqlserver.jdbc.SQLServerException: Conversion failed when converting the varchar value '通用版' to data type int.
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: insert into [AIS20170720092224].[dbo].qc_report(poInterId,poEntryId,operatorId,report_audit_status,report_verifier,report_verifierDate,reprotId,FVersion)   select a.FInterID,FEntryID,NULL,?,?, getdate(), ? , ?    from [AIS20170720092224].[dbo].POInStock a      inner join [AIS20170720092224].[dbo].t_Supplier b on a.FSupplyID=b.FItemID   inner join [AIS20170720092224].[dbo].POInStockEntry c on a.FInterID=c.FInterID   inner join [AIS20170720092224].[dbo].t_ICItem d on c.FItemID=d.FItemID         where b.FName=?         and d.FNumber=?         and  FDate=?         and FEntrySelfP0385=?           and ((a.FBillNo like '%DD000017%' and c.FEntryID = 1))
### Cause: com.microsoft.sqlserver.jdbc.SQLServerException: Conversion failed when converting the varchar value '通用版' to data type int.
; bad SQL grammar []; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Conversion failed when converting the varchar value '通用版' to data type int.

已解决


最后发现是数据库的表名对不上。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值