@Test
public void insertSelective() throws Exception {

  TeamMember teamMember = new TeamMember();
  teamMember.setTeamId("teamId");
  teamMember.setTeamName("teamName");
  teamMember.setCreateBy("createBy");
  teamMember.setMember("member");
  teamMember.setInviter(1);
  Boolean ret = teamMemberService.insertSelective(teamMember);
  assertTrue(ret);
  List<TeamMember> teamMemberList = teamMemberService.queryList("teamId");
  assertEquals(teamMemberList.size(), 1);
  for (TeamMember member : teamMemberList) {
    assertEquals(member.getTeamName(), teamMember.getTeamName());
    assertEquals(member.getTeamId(), teamMember.getTeamId());
    assertEquals(member.getCreateBy(), teamMember.getCreateBy());
    assertEquals(member.getMember(), teamMember.getMember());
    assertEquals(member.getInviter(), teamMember.getInviter());
    LOG.info("member.createTime:{}, member.updateTime:{}", member.getCreateTime(), member.getUpdateTime());
  }
}