Commit cd112ea9 authored by wujipeng's avatar wujipeng
Browse files

init

parents
Pipeline #346 canceled with stages
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.entity.TeacherWorkRecordEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface TeacherWorkRecordMapper extends BaseMapper<TeacherWorkRecordEntity> {
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.dto.TheoreticalLibraryDTO;
import com.platform.business.model.entity.TheoreticalLibraryEntity;
import com.platform.business.model.entity.TheoreticalPaperDetailEntity;
import com.platform.business.model.entity.TheoreticalPracticeStudentSimulationDetailEntity;
import com.platform.business.model.vo.TheoreticalLibraryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author : wujipeng
* @date : 2025/10/29 15:16
* @Version: 1.0
* @Desc : 描述信息
*/
@Mapper
public interface TheoreticalLibraryMapper extends BaseMapper<TheoreticalLibraryEntity> {
void removeDirtyData();
List<TheoreticalLibraryEntity> randomData(@Param("scope") String scope, @Param("type") String type, @Param("count") Integer count
, @Param("firstLevelName") String firstLevelName, @Param("secondLevelName") String secondLevelName);
List<TheoreticalPaperDetailEntity> randomQuestions(@Param("scope") String scope, @Param("type") String type, @Param("count") Integer count
, @Param("firstLevelName") String firstLevelName, @Param("secondLevelName") String secondLevelName);
List<TheoreticalLibraryVO> pageData(TheoreticalLibraryDTO theoreticalLibraryDTO);
List<TheoreticalPracticeStudentSimulationDetailEntity> randomQuestionsSimulation(@Param("scope") String scope, @Param("type") String type, @Param("count") Integer count
, @Param("firstLevelName") String firstLevelName, @Param("secondLevelName") String secondLevelName);
List<TheoreticalLibraryEntity> groupByChapter(@Param("level") String level);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.entity.TheoreticalPaperDetailEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author : wujipeng
* @date : 2025/11/3 16:52
* @Version: 1.0
* @Desc : 描述信息
*/
@Mapper
public interface TheoreticalPaperDetailMapper extends BaseMapper<TheoreticalPaperDetailEntity> {
List<TheoreticalPaperDetailEntity> selectDisorderly(@Param("paperId") String paperId);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.dto.TheoreticalPaperDTO;
import com.platform.business.model.entity.TheoreticalPaperEntity;
import com.platform.business.model.vo.TheoreticalPaperVO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* @author : wujipeng
* @date : 2025/11/3 14:11
* @Version: 1.0
* @Desc : 描述信息
*/
@Mapper
public interface TheoreticalPaperMapper extends BaseMapper<TheoreticalPaperEntity> {
List<TheoreticalPaperVO> pageData(TheoreticalPaperDTO theoreticalPaperDTO);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.dto.TheoreticalPaperStudentDetailDTO;
import com.platform.business.model.entity.TheoreticalPaperStudentDetailEntity;
import com.platform.business.model.vo.TheoreticalPaperStudentDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author : wujipeng
* @date : 2025/12/29 17:46
* @Version: 1.0
* @Desc : 描述信息
*/
@Mapper
public interface TheoreticalPaperStudentDetailMapper extends BaseMapper<TheoreticalPaperStudentDetailEntity> {
List<TheoreticalPaperStudentDetailVO> process(@Param("examId") int examId, @Param("studentId") String studentId);
TheoreticalPaperStudentDetailVO questionDetail(@Param("id") String id);
TheoreticalPaperStudentDetailVO gradesQuestionDetail(@Param("id") String id);
Boolean leaveBlank(TheoreticalPaperStudentDetailDTO theoreticalPaperStudentDetailDTO);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.dto.TheoreticalPracticeDTO;
import com.platform.business.model.entity.TheoreticalPracticeEntity;
import com.platform.business.model.vo.TheoreticalPracticeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author : wujipeng
* @date : 2026/4/21 10:12
* @Version: 1.0
* @Desc : 描述信息
*/
@Mapper
public interface TheoreticalPracticeMapper extends BaseMapper<TheoreticalPracticeEntity> {
List<TheoreticalPracticeVO> page(TheoreticalPracticeDTO theoreticalPracticeDTO);
TheoreticalPracticeVO detail(@Param("id") String id);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.entity.TheoreticalPracticeStudentEntity;
import com.platform.business.model.vo.TheoreticalPracticeStudentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface TheoreticalPracticeStudentMapper extends BaseMapper<TheoreticalPracticeStudentEntity> {
List<TheoreticalPracticeStudentVO> selectStudentListByPracticeId(@Param("id") String id);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.dto.TheoreticalPracticeStudentQuestionBankDTO;
import com.platform.business.model.entity.TheoreticalPracticeStudentQuestionBankEntity;
import com.platform.business.model.vo.TheoreticalPracticeStudentQuestionBankVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
@Mapper
public interface TheoreticalPracticeStudentQuestionBankMapper extends BaseMapper<TheoreticalPracticeStudentQuestionBankEntity> {
List<String> groupByStudentId();
List<TheoreticalPracticeStudentQuestionBankVO> onePage(TheoreticalPracticeStudentQuestionBankDTO theoreticalPracticeStudentQuestionBankDTO);
List<TheoreticalPracticeStudentQuestionBankVO> twoPage(TheoreticalPracticeStudentQuestionBankDTO theoreticalPracticeStudentQuestionBankDTO);
List<TheoreticalPracticeStudentQuestionBankVO> overview(TheoreticalPracticeStudentQuestionBankDTO theoreticalPracticeStudentQuestionBankDTO);
List<TheoreticalPracticeStudentQuestionBankVO> paperOverview(@Param("studentId") String studentId,
@Param("firstLevelName") String firstLevelName,
@Param("secondLevelName") String secondLevelName,
@Param("type") String type);
Boolean reAnswer(TheoreticalPracticeStudentQuestionBankDTO theoreticalPracticeStudentQuestionBankDTO);
Date countdown(@Param("id") String id,@Param("date") Date date);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.entity.TheoreticalPracticeStudentSimulationDetailEntity;
import com.platform.business.model.vo.TheoreticalPracticeStudentSimulationDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface TheoreticalPracticeStudentSimulationDetailMapper extends BaseMapper<TheoreticalPracticeStudentSimulationDetailEntity> {
List<TheoreticalPracticeStudentSimulationDetailVO> numberAndScore(@Param("id") String id);
List<TheoreticalPracticeStudentSimulationDetailVO> paperOverview(@Param("id") String id, @Param("type") String type);
void reAnswer(@Param("id") String id);
TheoreticalPracticeStudentSimulationDetailVO questionDetail(@Param("id") String id);
TheoreticalPracticeStudentSimulationDetailVO gradesQuestionDetail(@Param("id")String id);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.dto.TheoreticalPracticeStudentSimulationDTO;
import com.platform.business.model.entity.TheoreticalPracticeStudentSimulationEntity;
import com.platform.business.model.vo.TheoreticalPracticeStudentSimulationDetailVO;
import com.platform.business.model.vo.TheoreticalPracticeStudentSimulationVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface TheoreticalPracticeStudentSimulationMapper extends BaseMapper<TheoreticalPracticeStudentSimulationEntity> {
List<TheoreticalPracticeStudentSimulationVO> pageData(TheoreticalPracticeStudentSimulationDTO theoreticalPracticeStudentSimulationDTO);
TheoreticalPracticeStudentSimulationDetailVO same(@Param("simulationId") String simulationId, @Param("type") String type);
void reAnswer(@Param("id") String id);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.dto.UserDTO;
import com.platform.business.model.entity.UserEntity;
import com.platform.business.model.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {
List<UserVO> queryList(UserDTO userDTO);
UserVO queryByUserName(@Param("userName") String userName);
void closeExam(@Param("id") String id);
void closeSimulation(@Param("studentId") String studentId);
}
package com.platform.business.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.business.model.entity.UserTeacherEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UserTeacherMapper extends BaseMapper<UserTeacherEntity> {
}
package com.platform.business.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.business.model.entity.BsFileEntity;
import org.springframework.web.multipart.MultipartFile;
public interface BsFileService extends IService<BsFileEntity> {
BsFileEntity uploadFile(MultipartFile file) ;
void downloadFile(Integer id);
}
package com.platform.business.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.business.model.entity.CandidateEntity;
/**
* @author : wujipeng
* @date : 2025/7/7 17:43
* @Version: 1.0
* @Desc : 描述信息
*/
public interface CandidateService extends IService<CandidateEntity> {
}
package com.platform.business.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.business.model.dto.ClassDTO;
import com.platform.business.model.entity.ClassEntity;
import com.platform.business.model.vo.ClassVO;
import java.util.List;
public interface ClassService extends IService<ClassEntity> {
List<ClassVO> queryList(ClassDTO classDTO);
ClassVO detail(String id);
boolean saveClass(ClassDTO classDTO);
boolean deleteStu(String studentId);
Object schedule(ClassDTO classDTO);
Object scheduleTeacher(ClassDTO classDTO);
}
package com.platform.business.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.business.model.entity.ClassStudentEntity;
import com.platform.business.model.vo.ClassStudentVO;
import com.platform.business.model.vo.HomeVO;
import java.util.List;
public interface ClassStudentService extends IService<ClassStudentEntity> {
List<ClassStudentVO> queryList(String id);
void deleteByClassId(Integer id);
List<HomeVO> selectTraineesNumber();
List<HomeVO> todayCourse();
}
package com.platform.business.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.business.model.dto.ClassSubjectDTO;
import com.platform.business.model.entity.ClassSubjectEntity;
import com.platform.business.model.vo.ClassSubjectVO;
import com.platform.business.model.vo.ClassVO;
import com.platform.business.model.vo.SysTeacherCountVO;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
public interface ClassSubjectService extends IService<ClassSubjectEntity> {
boolean saveOrUpdateSubject(ClassSubjectDTO classSubjectDTO);
ClassVO detail(ClassSubjectDTO classSubjectDTO);
boolean updateSubject(ClassSubjectDTO classSubjectDTO);
List<ClassSubjectVO> countByTeacherId(String id);
void export(ClassSubjectDTO classSubjectDTO, HttpServletResponse response) throws IOException;
SysTeacherCountVO queryByTeacherUserName(String userName);
List<ClassSubjectVO> queryOneself(String userId);
}
package com.platform.business.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.business.model.dto.ExamDetailDTO;
import com.platform.business.model.entity.ExamDetailEntity;
import com.platform.business.model.req.ExamReq;
import com.platform.business.model.vo.ExamScoreDetailVO;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;
public interface ExamDetailService extends IService<ExamDetailEntity> {
ExamScoreDetailVO queryQuestionList(ExamDetailDTO examDetailDTO);
void objective(ExamReq examReq);
// void offline(ExamReq examReq);
void subjective(String content, List<MultipartFile> files);
}
package com.platform.business.service;
/**
* @author : wujipeng
* @date : 2025/10/23 15:25
* @Version: 1.0
* @Desc : 描述信息
*/
public interface ExamExportService {
}
package com.platform.business.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.business.model.dto.ExamDTO;
import com.platform.business.model.dto.TheoreticalPaperStudentDetailDTO;
import com.platform.business.model.entity.ExamEntity;
import com.platform.business.model.vo.ExamStudentVO;
import com.platform.business.model.vo.ExamVO;
import com.platform.business.model.vo.TheoreticalPaperStudentDetailVO;
import com.platform.model.resp.Result;
import java.util.List;
import java.util.Map;
public interface ExamService extends IService<ExamEntity> {
List<ExamVO> queryList(ExamDTO examDTO);
boolean saveOrUpdateExam(ExamDTO examDTO);
ExamVO detail(int id);
List<ExamVO> studentGrades(ExamDTO examDTO);
List<ExamVO> classExam(ExamDTO examDTO);
List<ExamStudentVO> classExamScore(ExamDTO examDTO);
List<ExamVO> queryByClassId(Integer classId);
List<ExamVO> unfinished(String id);
Result<Integer> startExam(ExamDTO examDTO);
List<TheoreticalPaperStudentDetailVO> paperOverview(Integer id);
ExamStudentVO paperDetail(Integer id);
TheoreticalPaperStudentDetailVO questionDetail(String id);
Boolean questionEdit(TheoreticalPaperStudentDetailDTO theoreticalPaperStudentDetailDTO);
Map<String,String> submitCheck(String id);
Result<Boolean> submit(String id);
TheoreticalPaperStudentDetailVO gradesQuestionDetail(String id);
ExamStudentVO gradesDetail(String id);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment