完善框架结构,解决了validation和saToken的问题
This commit is contained in:
@@ -2,6 +2,7 @@ package com.guo.learningprogresstracker.service;
|
||||
|
||||
import com.guo.learningprogresstracker.dto.request.TaskRequest;
|
||||
import com.guo.learningprogresstracker.dto.response.TaskInfoResponse;
|
||||
import com.guo.learningprogresstracker.dto.response.TasksListInfoResponse;
|
||||
import com.guo.learningprogresstracker.entity.TaskEntity;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
@@ -12,8 +13,11 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||
*/
|
||||
public interface TasksService extends IService<TaskEntity> {
|
||||
|
||||
TaskInfoResponse showTask(String taskId);
|
||||
TasksListInfoResponse taskList();
|
||||
|
||||
String addTask(TaskRequest taskRequest);
|
||||
|
||||
TaskInfoResponse getTask(String taskId);
|
||||
|
||||
void updateTask(String taskId, TaskRequest updatedTask);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user