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/TaskExamService.java |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/ycl/jxkg/service/TaskExamService.java b/src/main/java/com/ycl/jxkg/service/TaskExamService.java
index 9265cfe..d6a867a 100644
--- a/src/main/java/com/ycl/jxkg/service/TaskExamService.java
+++ b/src/main/java/com/ycl/jxkg/service/TaskExamService.java
@@ -1,20 +1,21 @@
 package com.ycl.jxkg.service;
 
+import com.baomidou.mybatisplus.extension.service.IService;
 import com.ycl.jxkg.domain.TaskExam;
 import com.ycl.jxkg.domain.User;
-import com.ycl.jxkg.viewmodel.admin.task.TaskPageRequestVM;
-import com.ycl.jxkg.viewmodel.admin.task.TaskRequestVM;
+import com.ycl.jxkg.vo.admin.task.TaskPageRequestVO;
+import com.ycl.jxkg.vo.admin.task.TaskRequestVO;
 import com.github.pagehelper.PageInfo;
 
 import java.util.List;
 
-public interface TaskExamService extends BaseService<TaskExam> {
+public interface TaskExamService extends IService<TaskExam> {
 
-    PageInfo<TaskExam> page(TaskPageRequestVM requestVM);
+    PageInfo<TaskExam> page(TaskPageRequestVO requestVM);
 
-    void edit(TaskRequestVM model, User user);
+    void edit(TaskRequestVO model, User user);
 
-    TaskRequestVM taskExamToVM(Integer id);
+    TaskRequestVO taskExamToVM(Integer id);
 
     List<TaskExam> getByGradeLevel(Integer gradeLevel);
 }

--
Gitblit v1.8.0