4
hao
2025-04-16 c5fb1fbcbb2bf4d511773d348f9ef625855c61fc
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
package com.web.basic.service;
 
import org.springframework.data.domain.PageRequest;
 
import com.app.base.data.ApiResponseResult;
import com.web.basic.entity.TodoInfo;
 
import java.nio.charset.Charset;
 
/**
 * 待办事项
 * @author chen
 *
 */
public interface TodoInfoService {
    public static final String HASH_ALGORITHM = "SHA-1";
    public static final int HASH_INTERATIONS = 1024;
    public static final int SALT_SIZE = 8;
    public static final Charset CHARSET = Charset.forName("UTF-8");
 
    public ApiResponseResult add(TodoInfo todoInfo) throws Exception;
 
    public ApiResponseResult edit(TodoInfo todoInfo) throws Exception;
 
    public ApiResponseResult close(Long id, Long bsUserId, Long roleId, Long bsReferId) throws Exception;
 
    public ApiResponseResult delete(Long id) throws Exception;
 
    public ApiResponseResult getlist(int bsStatus, PageRequest pageRequest) throws Exception;
}