PkfieldsExample example = new PkfieldsExample();
example.createCriteria().andLastnameLike("J%");
int rows = mapper.updateByExampleSelective(record, example);
assertEquals(1, rows);
example.clear();
example.createCriteria().andFirstnameEqualTo("Fred")
.andLastnameEqualTo("Jones").andId1EqualTo(3)
.andId2EqualTo(4);
rows = mapper.countByExample(example);