3
13693261870
2022-09-16 63ba114e70e380442fcbed4a5157ee52c9491216
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
package com.landtool.lanbase.modules.sys.service.impl;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
 
import com.landtool.lanbase.modules.sys.dao.SysAttachmentDao;
import com.landtool.lanbase.modules.sys.entity.SysAttachment;
import com.landtool.lanbase.modules.sys.service.SysAttachmentService;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author lanbase
 * @Description: TODO()
 * @date 2017-7-10 17:02
 */
@Service("sysAttachmentService")
public class SysAttachmentServiceImpl implements SysAttachmentService {
 
    @Autowired
    private SysAttachmentDao sysAttachmentDao;
 
    @Override
    public List<SysAttachment> queryList(Map<String, Object> map) {
        return sysAttachmentDao.queryList(map);
    }
 
    @Override
    public int queryTotal(Map<String, Object> map) {
        return sysAttachmentDao.queryTotal(map);
    }
 
    @Override
    public SysAttachment queryObject(Long id) {
        return sysAttachmentDao.queryObject(id);
    }
 
    @Override
    @Transactional
    public void deleteBatch(Long[] ids) {
        sysAttachmentDao.deleteBatch(ids);
    }
 
    @Override
    @Transactional
    public void save(SysAttachment sysAttachment) {
        sysAttachmentDao.save(sysAttachment);
    }
    
    @Override
    @Transactional
    public void deleteByPath(String path) {
        sysAttachmentDao.deleteByPath(path);
    }
 
}