guyue
2025-07-02 0a99c3a898976f64b53ca05751514bac8500ad60
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
package com.linghu.service;
 
import com.linghu.model.entity.Type;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
 
/**
 * @author xy
 * @description 针对表【type】的数据库操作Service
 * @createDate 2025-07-02 16:32:19
 */
public interface TypeService extends IService<Type> {
    /**
     * 批量添加类型
     * 
     * @param types 类型列表
     * @return 是否成功
     */
    boolean saveBatch(List<Type> types);
 
    /**
     * 批量更新类型
     * 
     * @param types 类型列表
     * @return 是否成功
     */
    boolean updateBatchById(List<Type> types);
 
    /**
     * 批量删除类型
     * 
     * @param typeIds 类型ID列表
     * @return 是否成功
     */
    boolean removeBatchByIds(List<Integer> typeIds);
 
    /**
     * 获取所有未删除的类型
     * 
     * @return 类型列表
     */
    List<Type> listAllAvailable();
}