执行update操作时出错java.sql.SQLException: 无效的列索引
Stringsql="updatedwb_fr_frjbxxfSETf.tyxydm=?,f.qyzch=?,f.zzjgdm=?,f.swdjh=?,f.qymc=?,...
String sql = "update dwb_fr_frjbxx f SET f.tyxydm = ?, f.qyzch = ?, f.zzjgdm = ?, f.swdjh = ?, f.qymc = ?, f.frdb = ?, f.frzjlx = ?, f.frzjhm = ?, f.sssf = ?, f.sssj = ?, f.ssxq = ?, f.ssxzjd = ?, f.lrr = ?, f.ggsj = CURRENT_TIMESTAMP WHERE f.id = ? ";
Object[] param = new Object[]{
frinfo.getTyxydm(),frinfo.getQyzch(),frinfo.getZzjgdm(),frinfo.getSwdjh(),
frinfo.getQymc(),frinfo.getFrdb(),frinfo.getFrzjlx(),frinfo.getFrzjhm(),
frinfo.getSssf(),frinfo.getSssj(),frinfo.getSsxq(),frinfo.getSsxzjd(),
frinfo.getLrr(),frinfo.getId()
};
return jdbcTemplateOrcl.update(sql,param); 展开
Object[] param = new Object[]{
frinfo.getTyxydm(),frinfo.getQyzch(),frinfo.getZzjgdm(),frinfo.getSwdjh(),
frinfo.getQymc(),frinfo.getFrdb(),frinfo.getFrzjlx(),frinfo.getFrzjhm(),
frinfo.getSssf(),frinfo.getSssj(),frinfo.getSsxq(),frinfo.getSsxzjd(),
frinfo.getLrr(),frinfo.getId()
};
return jdbcTemplateOrcl.update(sql,param); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询