IHandleAffairsService.java
1.45 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package com.trash.office.service;
import java.io.IOException;
import java.util.List;
import com.trash.office.domain.HandleAffairs;
import com.trash.office.domain.vo.HandleAffairsVo;
import org.springframework.web.multipart.MultipartFile;
/**
* 办文办事Service接口
*
* @author 2c
* @date 2023-05-06
*/
public interface IHandleAffairsService {
/**
* 查询办文办事
*
* @param id 办文办事ID
* @return 办文办事
*/
HandleAffairsVo selectHandleAffairsById(Long id);
/**
* 查询办文办事列表
*
* @param handleAffairs 办文办事
* @return 办文办事集合
*/
List<HandleAffairs> selectHandleAffairsList(HandleAffairs handleAffairs);
/**
* 新增办文办事
*
* @param handleAffairs 办文办事
* @return 结果
*/
int insertHandleAffairs(MultipartFile[] files,HandleAffairs handleAffairs) throws IOException;
/**
* 修改办文办事
*
* @param handleAffairs 办文办事
* @return 结果
*/
int updateHandleAffairs(MultipartFile[] files,HandleAffairsVo handleAffairsVo) throws IOException;
/**
* 批量删除办文办事
*
* @param ids 需要删除的办文办事ID
* @return 结果
*/
int deleteHandleAffairsByIds(Long[] ids);
/**
* 删除办文办事信息
*
* @param id 办文办事ID
* @return 结果
*/
int deleteHandleAffairsById(Long id);
}