From c9d04bc519b73f7fc4841c34e2f15fca9db7aad2 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 31 五月 2024 14:08:30 +0800 Subject: [PATCH] 重构:service、mapper plus化,xml删除多余sql --- src/main/java/com/ycl/jxkg/service/ExamPaperQuestionCustomerAnswerService.java | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/ExamPaperQuestionCustomerAnswerService.java b/src/main/java/com/ycl/jxkg/service/ExamPaperQuestionCustomerAnswerService.java index fabed4f..5738932 100644 --- a/src/main/java/com/ycl/jxkg/service/ExamPaperQuestionCustomerAnswerService.java +++ b/src/main/java/com/ycl/jxkg/service/ExamPaperQuestionCustomerAnswerService.java @@ -1,16 +1,17 @@ package com.ycl.jxkg.service; +import com.baomidou.mybatisplus.extension.service.IService; import com.ycl.jxkg.domain.ExamPaperQuestionCustomerAnswer; import com.ycl.jxkg.domain.other.ExamPaperAnswerUpdate; -import com.ycl.jxkg.viewmodel.student.exam.ExamPaperSubmitItemVM; -import com.ycl.jxkg.viewmodel.student.question.answer.QuestionPageStudentRequestVM; +import com.ycl.jxkg.vo.student.exam.ExamPaperSubmitItemVO; +import com.ycl.jxkg.vo.student.question.answer.QuestionPageStudentRequestVO; import com.github.pagehelper.PageInfo; import java.util.List; -public interface ExamPaperQuestionCustomerAnswerService extends BaseService<ExamPaperQuestionCustomerAnswer> { +public interface ExamPaperQuestionCustomerAnswerService extends IService<ExamPaperQuestionCustomerAnswer> { - PageInfo<ExamPaperQuestionCustomerAnswer> studentPage(QuestionPageStudentRequestVM requestVM); + PageInfo<ExamPaperQuestionCustomerAnswer> studentPage(QuestionPageStudentRequestVO requestVM); List<ExamPaperQuestionCustomerAnswer> selectListByPaperAnswerId(Integer id); @@ -27,7 +28,7 @@ * @param qa ExamPaperQuestionCustomerAnswer * @return ExamPaperSubmitItemVM */ - ExamPaperSubmitItemVM examPaperQuestionCustomerAnswerToVM(ExamPaperQuestionCustomerAnswer qa); + ExamPaperSubmitItemVO examPaperQuestionCustomerAnswerToVM(ExamPaperQuestionCustomerAnswer qa); Integer selectAllCount(); -- Gitblit v1.8.0