管道基础大数据平台系统开发-【后端】-Server
13693261870
2022-11-21 dfa4fd206b390a3afee9769fe1953b692a1eac9a
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
package com.lf.server.service.sys;
 
import com.lf.server.entity.sys.AttachEntity;
import com.lf.server.helper.StringHelper;
import com.lf.server.mapper.sys.AttachMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * 附件
 * @author WWW
 */
@Service
public class AttachService implements AttachMapper {
    @Autowired
    AttachMapper attachMapper;
 
    @Override
    public Integer selectCount(String name) {
        name = StringHelper.getLikeStr(name);
 
        return attachMapper.selectCount(name);
    }
 
    @Override
    public List<AttachEntity> selectByPage(String name, Integer limit, Integer offset) {
        name = StringHelper.getLikeStr(name);
 
        return attachMapper.selectByPage(name, limit, offset);
    }
 
    @Override
    public List<AttachEntity> selectAll() {
        return attachMapper.selectAll();
    }
 
    @Override
    public AttachEntity selectById(int id) {
        return attachMapper.selectById(id);
    }
 
    @Override
    public AttachEntity selectByGuid(String guid) {
        return attachMapper.selectByGuid(guid);
    }
 
    @Override
    public List<AttachEntity> selectByTab(String tab, String guid) {
        return attachMapper.selectByTab(tab, guid);
    }
 
    @Override
    public Integer insert(AttachEntity entity) {
        return attachMapper.insert(entity);
    }
 
    @Override
    public Integer inserts(List<AttachEntity> list) {
        return attachMapper.inserts(list);
    }
 
    @Override
    public Integer delete(int id) {
        return attachMapper.delete(id);
    }
 
    @Override
    public Integer deletes(List<Integer> ids) {
        return attachMapper.deletes(ids);
    }
 
    @Override
    public Integer update(AttachEntity entity) {
        return attachMapper.update(entity);
    }
 
    @Override
    public Integer updates(List<AttachEntity> list) {
        return attachMapper.updates(list);
    }
}