xiangpei
2024-11-22 c8bc73954b11b40cc62945099a4f7ca1a73154a1
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
package com.ycl.mapper;
 
import java.util.List;
import com.ycl.system.domain.Purchase;
 
/**
 * 采购Mapper接口
 *
 * @author shenzhanwang
 * @date 2022-05-28
 */
public interface PurchaseMapper
{
    /**
     * 查询采购
     *
     * @param id 采购主键
     * @return 采购
     */
    public Purchase selectPurchaseById(Long id);
 
    /**
     * 查询采购列表
     *
     * @param purchase 采购
     * @return 采购集合
     */
    public List<Purchase> selectPurchaseList(Purchase purchase);
 
    /**
     * 新增采购
     *
     * @param purchase 采购
     * @return 结果
     */
    public int insertPurchase(Purchase purchase);
 
    /**
     * 修改采购
     *
     * @param purchase 采购
     * @return 结果
     */
    public int updatePurchase(Purchase purchase);
 
    /**
     * 删除采购
     *
     * @param id 采购主键
     * @return 结果
     */
    public int deletePurchaseById(Long id);
 
    /**
     * 批量删除采购
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePurchaseByIds(String[] ids);
}