jyy
2022-04-15 f57554f7da5e4d05b4b4bab99bf49ac9ca8c2038
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
73
74
75
76
77
78
79
80
81
82
83
84
85
package com.matrix.system.hive.service.imp;
 
import com.matrix.core.pojo.PaginationVO;
 
 
import com.matrix.system.hive.bean.SysSerProj;
import com.matrix.system.hive.dao.SysSerProjDao;
import com.matrix.system.hive.service.SysSerProjService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
 
import java.util.List;
 
/**
 *
 * @date 2016-07-22 09:23
 */
@Service("sysSerProjService")
public class  SysSerProjServiceImpl implements SysSerProjService {
 
    
    @Autowired
    private SysSerProjDao sysSerProjDao;
    
    
    @Override
    public int add(SysSerProj sysSerProj){
        
        return sysSerProjDao.insert(sysSerProj);
        
    }
       
    @Override
    public int modify(SysSerProj sysSerProj){
    
        return sysSerProjDao.update(sysSerProj);
    
    }
    
    @Override
    public int remove(List<Long> list){
    
        return sysSerProjDao.deleteByIds(list);
    
    }
 
    @Override
    public int removeById(Long id){
    
        return sysSerProjDao.deleteById(id);
    
    }
    
    @Override
    public List<SysSerProj> findInPage(SysSerProj sysSerProj,  PaginationVO pageVo){
    
        return sysSerProjDao.selectInPage(sysSerProj , pageVo);
    
    }
    
    @Override
    public List<SysSerProj> findByModel(SysSerProj sysSerProj){
    
        return sysSerProjDao.selectByModel(sysSerProj);
    
    }
    
    @Override
    public int  findTotal(SysSerProj sysSerProj){
    
        return sysSerProjDao.selectTotalRecord(sysSerProj);
    
    }
    
    @Override
    public SysSerProj  findById(Long id){
    
        return sysSerProjDao.selectById(id);
    
    }
 
       
    
    
}