无关风月
2025-05-08 9486766c806fe1d9e082b2fd02ea1cc558f1b443
cloud-server-competition/src/main/java/com/dsh/competition/service/IParticipantService.java
@@ -22,6 +22,7 @@
    /**
     * 添加参赛人员信息
     *
     * @param uid
     * @param addParticipant
     * @return
@@ -31,6 +32,7 @@
    /**
     * 获取参赛人员列表
     *
     * @param uid
     * @return
     * @throws Exception
@@ -40,6 +42,7 @@
    /**
     * 修改参赛人员信息
     *
     * @param editParticipant
     * @return
     * @throws Exception
@@ -49,21 +52,24 @@
    /**
     * 删除参赛人员信息
     *
     * @param id
     * @return
     * @throws Exception
     */
    ResultUtil delParticipant(Integer id) throws Exception;
    ResultUtil delParticipant(Integer id, Integer isStudent) throws Exception;
    /**
     * 保存学员后同步参赛人员信息
     *
     * @param saveParticipant
     * @throws Exception
     */
    void saveParticipant(SaveParticipant saveParticipant) throws Exception;
    Page<CompetitionUser> getPeopleFromId(Page<UserCompetition> participantPage, Integer id, Integer state);
    Page<CompetitionUser> getPeopleFromId1(long offset, long limit, Integer id, Integer state);
    List<CompetitionUser> getPeoples(Integer id, Integer state);
}