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
package com.everyday.word.service.inter;
 
import com.everyday.word.dao.EnglishWordsMapper;
import com.everyday.word.entity.EnglishWords;
import com.everyday.word.exception.EnglishWordsException;
 
import java.util.List;
 
/**
 * @author hxh
 * @title: EnglishWordsService
 * @description: TODO
 * @date 2024/9/14 13:40
 */
public interface EnglishWordsService {
 
    /**
     * @author hxh 
     * @description 添加单词
     * @date 13:43 2024/9/14
     * @param: word
     * @return void
     **/
    public void addEnglishWords(EnglishWords word) throws EnglishWordsException;
 
    /**
     * @author hxh 
     * @description 根据拼写查询
     * @date 13:43 2024/9/14
     * @param: spelling
     * @return com.everyday.word.entity.EnglishWords
     **/
    public EnglishWords selectBySpelling(String spelling);
 
 
    public List<EnglishWords> list(EnglishWordsMapper.DaoQuery query, int page,int pageSize);
 
 
    public long count(EnglishWordsMapper.DaoQuery query);
 
}