public void testMapper_select_all() throws DataAccessException {
System.out.println("--------------------------------- select_client_all");
List<Book> list = mlinkmapper.select(Book.class, "select_client_all");
for (Book clz : list) {
System.out.println(">>"+clz);
}
}
public void testMapper_select_31() throws DataAccessException {
System.out.println("--------------------------------- select_user_by_id_3");
Book book = new Book();
book.setBookName("Java");
List<Book> list = mlinkmapper.select(Book.class, "select_user_by_id_3", book);
for (Book clz : list) {
System.out.println(">>"+clz);
}
}
public void testMapper_select_1() throws DataAccessException {
System.out.println("--------------------------------- select_user_by_id_1");
List<Book> list = mlinkmapper.select(Book.class, "select_user_by_id_1", 6);
for (Book clz : list) {
System.out.println(">>"+clz);
}
}
public void testMapper_select_2() throws DataAccessException {
System.out.println("--------------------------------- select_user_by_id (5688)?");
List<Book> list = mlinkmapper.select(Book.class, "select_user_by_id", "idx", 12);
for (Book clz : list) {
System.out.println(">>"+clz);
}
}
public void testMapper_select_33() throws DataAccessException {
System.out.println("--------------------------------- select_user_by_id_33");
String[] paramNames = {"idx", "bookName"};
Object[] values = {23, "8994"};
List<Book> list = mlinkmapper.select(Book.class, "select_user_by_id_33", paramNames, values);
for (Book clz : list) {
System.out.println(">>"+clz);
}
}