wzy
2021-01-26 a918381d1910d16f991d09188341ff63ed13d4f1
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
65
66
67
68
69
70
71
72
package com.matrix.system.hive.service;
 
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.hive.bean.SysGoods;
import com.matrix.system.hive.plugin.util.BaseServices;
 
import java.util.List;
 
/**
 *
 * @date 2016-07-03 20:53
 */
public interface SysGoodsService  extends BaseServices<SysGoods> {
    
    /**
     * 新增SysGoods
     * 
     */
    public int add(SysGoods sysGoods);
       
       /**
     * 更新SysGoods
     * 
     */
    public int modify(SysGoods sysGoods);
    
    /**
     * 批量删除SysGoods
     * 
     */
    public int remove(List<Long> list);
 
    /**
     * 根据id删除SysGoods
     * 
     */
    public int removeById(Long id);
    
    /**
     * 分页查询SysGoods
     * 
     */
    public List<SysGoods> findInPage(SysGoods sysGoods, PaginationVO pageVo);
 
    /**
     * 根据对象查询SysGoods
     * 
     */
    public List<SysGoods> findByModel(SysGoods sysGoods);
    
    /**
     * 统计记录数SysGoods
     * 
     */
    public int  findTotal(SysGoods sysGoods);
    
    /**
     * 根据id查询SysGoods
     * 
     */
    public SysGoods  findById(Long id);
   
    
    
    /**商品对象集合,含编号和id两个字段
     * @return 
     */
    public List<SysGoods> findAllNo();
       
 
  
}