修改数据库的单条数据时报错,见代码
Student a
= new Student();
a
.setEmail("1099965awwaeaw@qq.com");
a
.setName("yes");
a
.setPhone("18591566521");
a
.setStudentId(4);
int result
= sqlSession
.update("updateByPrimaryKey",a
);
sqlSession
.commit();
转载请注明原文地址:https://ipadbbs.8miu.com/read-42695.html