@Test public void getAppGroupById() throws Exception { AppGroup appGroup = appGroupDao.getAppGroupById(1L); System.out.println("getAppGroupById :-------> " + appGroup); Assert.assertTrue(appGroup != null); }
public AppGroup getAppGroupById(Long id) throws SQLException { AppGroup appGroup = new AppGroup(); appGroup.setId(id); return this.getDasClient().queryByPk(appGroup); }
AppGroupDao extends BaseDao { public AppGroup getAppGroupById(Long id) throws SQLException { AppGroup appGroup = new AppGroup(); appGroup.setId(id); return this.getDasClient().queryByPk(appGroup); } }
AppGroupDao extends BaseDao { public AppGroup getAppGroupById(Long id) throws SQLException { AppGroup appGroup = new AppGroup(); appGroup.setId(id); return this.getDasClient().queryByPk(appGroup); }  }
AppGroupDao extends BaseDao { public AppGroup getAppGroupById(Long id) throws SQLException { AppGroup appGroup = new AppGroup(); appGroup.setId(id); return this.getDasClient().queryByPk(appGroup); }  Long insertAppGroup(AppGroup appGroup); AppGroup getAppGroupById(Long id); int updateAppGroup(AppGroup appGroup); int deleteAppGroup(AppGroup appGroup); Long getCountByName(String name); Long getCountByIdAndName(Long id, String name); int changeServerGroup(Long newServerGroupId, Set<Long> appGroupIds); List<AppGroup> getAppGroupsByServerGroupId(Long serverGroupId); Long getAppGroupTotalCount(Paging<AppGroup> paging); List<AppGroupView> findAppGroupPageList(Paging<AppGroup> paging); }
AppGroupDao extends BaseDao { public AppGroup getAppGroupById(Long id) throws SQLException { AppGroup appGroup = new AppGroup(); appGroup.setId(id); return this.getDasClient().queryByPk(appGroup); }  Long insertAppGroup(AppGroup appGroup); AppGroup getAppGroupById(Long id); int updateAppGroup(AppGroup appGroup); int deleteAppGroup(AppGroup appGroup); Long getCountByName(String name); Long getCountByIdAndName(Long id, String name); int changeServerGroup(Long newServerGroupId, Set<Long> appGroupIds); List<AppGroup> getAppGroupsByServerGroupId(Long serverGroupId); Long getAppGroupTotalCount(Paging<AppGroup> paging); List<AppGroupView> findAppGroupPageList(Paging<AppGroup> paging);  }