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 queryList(Map map) { return sysAttachmentDao.queryList(map); } @Override public int queryTotal(Map 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); } }