@Test public void deleteUser() throws Exception { int count = loginUserDao.deleteUser(118L); System.out.println("deleteUser :-------> " + count); Assert.assertTrue(count > 0); }
public int deleteUser(Long userId) throws SQLException { LoginUser user = new LoginUser(); user.setId(userId); return this.getDasClient().deleteByPk(user); }
LoginUserDao extends BaseDao { public int deleteUser(Long userId) throws SQLException { LoginUser user = new LoginUser(); user.setId(userId); return this.getDasClient().deleteByPk(user); } }
LoginUserDao extends BaseDao { public int deleteUser(Long userId) throws SQLException { LoginUser user = new LoginUser(); user.setId(userId); return this.getDasClient().deleteByPk(user); }  }
LoginUserDao extends BaseDao { public int deleteUser(Long userId) throws SQLException { LoginUser user = new LoginUser(); user.setId(userId); return this.getDasClient().deleteByPk(user); }  Long insertUser(LoginUser user); int initAdmin(LoginUser user); int updateUserPassword(LoginUser user); List<LoginUser> getAllUsers(); LoginUser getUserById(Long userId); LoginUser getUserByNo(String userNo); LoginUser getUserByUserName(String userName); List<LoginUsersView> getUserByGroupId(Long groupId); int updateUser(LoginUser user); int deleteUser(Long userId); Long getTotalCount(Paging<LoginUser> paging); List<LoginUserView> findUserPageList(Paging<LoginUser> paging); }
LoginUserDao extends BaseDao { public int deleteUser(Long userId) throws SQLException { LoginUser user = new LoginUser(); user.setId(userId); return this.getDasClient().deleteByPk(user); }  Long insertUser(LoginUser user); int initAdmin(LoginUser user); int updateUserPassword(LoginUser user); List<LoginUser> getAllUsers(); LoginUser getUserById(Long userId); LoginUser getUserByNo(String userNo); LoginUser getUserByUserName(String userName); List<LoginUsersView> getUserByGroupId(Long groupId); int updateUser(LoginUser user); int deleteUser(Long userId); Long getTotalCount(Paging<LoginUser> paging); List<LoginUserView> findUserPageList(Paging<LoginUser> paging);  }