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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
package com.matrix.system.hive.service.imp;
 
import java.util.List;
 
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.hive.bean.ServicesFlow;
import com.matrix.system.hive.dao.ServicesFlowDao;
import com.matrix.system.hive.service.ServicesFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
 
 
/**
 *
 * @date 2016-09-12 19:31
 */
@Service("servicesFlowService")
public class  ServicesFlowServiceImpl implements ServicesFlowService {
 
    
    @Autowired
    private ServicesFlowDao servicesFlowDao;
    
    
    @Override
    public int add(ServicesFlow servicesFlow){
        
        return servicesFlowDao.insert(servicesFlow);
        
    }
       
    @Override
    public int modify(ServicesFlow servicesFlow){
    
        return servicesFlowDao.update(servicesFlow);
    
    }
    
    @Override
    public int remove(List<Long> list){
    
        return servicesFlowDao.deleteByIds(list);
    
    }
 
    @Override
    public int removeById(Long id){
    
        return servicesFlowDao.deleteById(id);
    
    }
    
    @Override
    public List<ServicesFlow> findInPage(ServicesFlow servicesFlow,  PaginationVO pageVo){
    
        return servicesFlowDao.selectInPage(servicesFlow , pageVo);
    
    }
    
    @Override
    public List<ServicesFlow> findByModel(ServicesFlow servicesFlow){
    
        return servicesFlowDao.selectByModel(servicesFlow);
    
    }
    
    @Override
    public int  findTotal(ServicesFlow servicesFlow){
    
        return servicesFlowDao.selectTotalRecord(servicesFlow);
    
    }
    
    @Override
    public ServicesFlow  findById(Long id){
    
        return servicesFlowDao.selectById(id);
    
    }
    
    @Override
    public List<ServicesFlow> findInPage2(ServicesFlow servicesFlow,  PaginationVO pageVo){
    
        return servicesFlowDao.selectInPage2(servicesFlow , pageVo);
    
    }
    
    @Override
    public int  findTotal2(ServicesFlow servicesFlow){
    
        return servicesFlowDao.selectTotalRecord2(servicesFlow);
    
    }
 
       
    
    
}