public void testMapper_update_book() throws DataAccessException {
System.out.println("--------------------------------- update_book");
Map<String, Object> map = new HashMap<String, Object>();
map.put("bookName", "更新为Mapper用法");
map.put("autoIndex", 29);
int affect = mlinkmapper.update("update_book", map);
System.out.println("affect>>"+affect);
}
public void testMapper_update_book_2() throws DataAccessException {
System.out.println("--------------------------------- update_book_2");
//String[] paramNames = { "bookName","autoIndex"};
Object[] values = {",,??,更新为Mapper用法", 30};
int affect = mlinkmapper.update("update_book_2", values);
System.out.println("affect>>"+affect);
}