1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.ruoyi.service;
import com.ruoyi.domain.ReviewSceneChangeTask;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Date;
import java.util.List;
/**
* @author wangfei
* @description 针对表【t_review_scene_change_task(审查场景变更任务)】的数据库操作Service
* @createDate 2023-12-14 14:28:17
*/
public interface ReviewSceneChangeTaskService extends IService<ReviewSceneChangeTask> {
/**
* 新建一个任务
*/
void create(ReviewSceneChangeTask reviewSceneChangeTask);
/**
* 审核通过一个任务
* @param taskId
* @param comment
*/
void pass(Long taskId, String comment);
/**
* 审核驳回一个任务
* @param taskId
* @param comment
*/
void reject(Long taskId, String comment);
/**
* 关闭一个任务
* @param taskId
*/
void close(Long taskId);
/**
* 获取体系审查任务的每个场景的最后变更记录
* @param taskId
* @return
*/
List<ReviewSceneChangeTask> findLastChangeByTaskId(Long taskId);
}