@Test public void testSelect() throws Exception { List<Approve> select = approve.select(1l); System.out.println(select.get(0).getRealName()); Assert.assertNotNull(select); }
@Override public List<Approve> select(Long userAccount) { Approve a = new Approve(); a.setUserAccountId(userAccount); return mapper.select(a); }
ApproveServiceImpl implements IApproveService { @Override public List<Approve> select(Long userAccount) { Approve a = new Approve(); a.setUserAccountId(userAccount); return mapper.select(a); } }
ApproveServiceImpl implements IApproveService { @Override public List<Approve> select(Long userAccount) { Approve a = new Approve(); a.setUserAccountId(userAccount); return mapper.select(a); }  }
ApproveServiceImpl implements IApproveService { @Override public List<Approve> select(Long userAccount) { Approve a = new Approve(); a.setUserAccountId(userAccount); return mapper.select(a); }  @Override boolean addApproveMassage(Approve approve); @Override List<Approve> select(Long userAccount); @Override boolean update(Approve approve); }
ApproveServiceImpl implements IApproveService { @Override public List<Approve> select(Long userAccount) { Approve a = new Approve(); a.setUserAccountId(userAccount); return mapper.select(a); }  @Override boolean addApproveMassage(Approve approve); @Override List<Approve> select(Long userAccount); @Override boolean update(Approve approve);  }