@Test public void insertUserProject() throws Exception { Long id = userProjectDao.insertUserProject(userProject); System.out.println("insertUserProject :-------> " + id); Assert.assertTrue(id > 0); }
public Long insertUserProject(UserProject userProject) throws SQLException { if (userProject == null) { return 0L; } this.getDasClient().insert(userProject, Hints.hints().setIdBack()); return userProject.getId(); }
UserProjectDao extends BaseDao { public Long insertUserProject(UserProject userProject) throws SQLException { if (userProject == null) { return 0L; } this.getDasClient().insert(userProject, Hints.hints().setIdBack()); return userProject.getId(); } }
UserProjectDao extends BaseDao { public Long insertUserProject(UserProject userProject) throws SQLException { if (userProject == null) { return 0L; } this.getDasClient().insert(userProject, Hints.hints().setIdBack()); return userProject.getId(); }  }
UserProjectDao extends BaseDao { public Long insertUserProject(UserProject userProject) throws SQLException { if (userProject == null) { return 0L; } this.getDasClient().insert(userProject, Hints.hints().setIdBack()); return userProject.getId(); }  Long insertUserProject(UserProject userProject); int[] insertUserProjectList(List<UserProject> userProjects); int updateUserProject(UserProject userProject); int deleteUserProjectByProjectId(Long project_id); int deleteByProjectAndUserIdS(Long projectId, Set<Long> userIds); List<UserProject> getUsersByProjectId(Long projectId); UserProject getMinUserProjectByProjectId(Long project_id); }
UserProjectDao extends BaseDao { public Long insertUserProject(UserProject userProject) throws SQLException { if (userProject == null) { return 0L; } this.getDasClient().insert(userProject, Hints.hints().setIdBack()); return userProject.getId(); }  Long insertUserProject(UserProject userProject); int[] insertUserProjectList(List<UserProject> userProjects); int updateUserProject(UserProject userProject); int deleteUserProjectByProjectId(Long project_id); int deleteByProjectAndUserIdS(Long projectId, Set<Long> userIds); List<UserProject> getUsersByProjectId(Long projectId); UserProject getMinUserProjectByProjectId(Long project_id);  }