@Test
public void testDivPageByFieldIsValueByPOJO() {
String[] fields = new String[] { "name", "age", "master" };
pet.setName("小白");
pet.setAge(19);
Master master = new Master();
master.setId(8L);
pet.setMaster(master);
String sql = select.selectWhere(fields, "age+0", 1, 2, 5);
Assert.assertEquals(
"SELECT id, num, name, age, cate, master_id FROM t_pet WHERE name = '小白' AND age = '19' AND master_id = '8' ORDER BY age"
+ fieldAdd + " ASC LIMIT 5, 5 ;", sql);