@Test public void insertDalGroup() throws Exception { Long id = groupDao.insertDasGroup(group); System.out.println("insertDasGroup :-------> " + id); Assert.assertTrue(id > 0); }
public Long insertDasGroup(DasGroup group) throws SQLException { if (null == group) { return 0L; } this.getDasClient().insert(group, Hints.hints().setIdBack()); return group.getId(); }
GroupDao extends BaseDao { public Long insertDasGroup(DasGroup group) throws SQLException { if (null == group) { return 0L; } this.getDasClient().insert(group, Hints.hints().setIdBack()); return group.getId(); } }
GroupDao extends BaseDao { public Long insertDasGroup(DasGroup group) throws SQLException { if (null == group) { return 0L; } this.getDasClient().insert(group, Hints.hints().setIdBack()); return group.getId(); }  }
GroupDao extends BaseDao { public Long insertDasGroup(DasGroup group) throws SQLException { if (null == group) { return 0L; } this.getDasClient().insert(group, Hints.hints().setIdBack()); return group.getId(); }  Long insertDasGroup(DasGroup group); int initAdminGroup(DasGroup group); int updateDalGroup(DasGroup group); int deleteDalGroup(Long groupId); Long getCountByName(String name); Long getCountByIdAndName(Long id, String name); List<DasGroup> getGroupsByUserId(Long user_id); DasGroup getGroupsByDbSetId(Long dbsetId); DasGroup getDalGroupById(Long id); DasGroup getGroupByName(String name); List<DasGroup> getAllGroups(); List<DasGroup> getAllGroupsByAppoid(String appid); List<DasGroup> getAllGroupsWithNotAdmin(); Long getTotalCount(Paging<DasGroup> paging); List<DalGroupView> findGroupPageList(Paging<DasGroup> paging); }
GroupDao extends BaseDao { public Long insertDasGroup(DasGroup group) throws SQLException { if (null == group) { return 0L; } this.getDasClient().insert(group, Hints.hints().setIdBack()); return group.getId(); }  Long insertDasGroup(DasGroup group); int initAdminGroup(DasGroup group); int updateDalGroup(DasGroup group); int deleteDalGroup(Long groupId); Long getCountByName(String name); Long getCountByIdAndName(Long id, String name); List<DasGroup> getGroupsByUserId(Long user_id); DasGroup getGroupsByDbSetId(Long dbsetId); DasGroup getDalGroupById(Long id); DasGroup getGroupByName(String name); List<DasGroup> getAllGroups(); List<DasGroup> getAllGroupsByAppoid(String appid); List<DasGroup> getAllGroupsWithNotAdmin(); Long getTotalCount(Paging<DasGroup> paging); List<DalGroupView> findGroupPageList(Paging<DasGroup> paging);  }