💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
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); }