@Test public void updateUserPersimion() throws Exception { UserGroup userGroup = UserGroup.builder().user_id(1L).opt_user(4).role(1).group_id(1L).build(); int count = userGroupDao.updateUserPersimion(userGroup); System.out.println("updateUserPersimion :-------> " + count); Assert.assertTrue(count > 0); }
public int updateUserPersimion(UserGroup userGroup) throws SQLException { return this.updateUserPersimion(userGroup.getUser_id(), userGroup.getGroup_id(), userGroup.getRole(), userGroup.getOpt_user()); }
UserGroupDao extends BaseDao { public int updateUserPersimion(UserGroup userGroup) throws SQLException { return this.updateUserPersimion(userGroup.getUser_id(), userGroup.getGroup_id(), userGroup.getRole(), userGroup.getOpt_user()); } }
UserGroupDao extends BaseDao { public int updateUserPersimion(UserGroup userGroup) throws SQLException { return this.updateUserPersimion(userGroup.getUser_id(), userGroup.getGroup_id(), userGroup.getRole(), userGroup.getOpt_user()); }  }
UserGroupDao extends BaseDao { public int updateUserPersimion(UserGroup userGroup) throws SQLException { return this.updateUserPersimion(userGroup.getUser_id(), userGroup.getGroup_id(), userGroup.getRole(), userGroup.getOpt_user()); }  Long insertUserGroup(UserGroup userGroup); Long insertUserGroup(Long user_id, Long group_id, Integer role, Integer opt_user); int deleteUserFromGroup(Long user_id, Long group_id); int updateUserPersimion(UserGroup userGroup); int updateUserPersimion(Long userId, Long groupId, Integer role, Integer opt_user); List<MemberView> getUserListByLikeUserName(String userName); List<UserGroup> getUserGroupByUserId(Long userId); List<UserGroup> getUserGroupByGroupId(Long groupId); List<UserGroup> getUserGroupByGroupIdAndUserId(Long groupId, Long userId); Long getMemberTotalCount(Paging<UserGroup> paging); List<MemberView> findMemberPageList(Paging<UserGroup> paging); }
UserGroupDao extends BaseDao { public int updateUserPersimion(UserGroup userGroup) throws SQLException { return this.updateUserPersimion(userGroup.getUser_id(), userGroup.getGroup_id(), userGroup.getRole(), userGroup.getOpt_user()); }  Long insertUserGroup(UserGroup userGroup); Long insertUserGroup(Long user_id, Long group_id, Integer role, Integer opt_user); int deleteUserFromGroup(Long user_id, Long group_id); int updateUserPersimion(UserGroup userGroup); int updateUserPersimion(Long userId, Long groupId, Integer role, Integer opt_user); List<MemberView> getUserListByLikeUserName(String userName); List<UserGroup> getUserGroupByUserId(Long userId); List<UserGroup> getUserGroupByGroupId(Long groupId); List<UserGroup> getUserGroupByGroupIdAndUserId(Long groupId, Long userId); Long getMemberTotalCount(Paging<UserGroup> paging); List<MemberView> findMemberPageList(Paging<UserGroup> paging);  }