package com.ssm.manage.dao.impl;

import com.ssm.core.impl.BaseDaoImpl;
import com.ssm.manage.dao.SsmUploadFilesDao;
import com.ssm.manage.entity.UploadFiles;
import com.ssm.manage.mapper.UploadFilesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SsmUploadFilesDaoImpl extends BaseDaoImpl<UploadFiles> implements SsmUploadFilesDao {
    @Autowired
    private UploadFilesMapper mapper;

    @Override
    public UploadFilesMapper getMapper() {
        return mapper;
    }

    @Override
    public int deleteByDocId(Long id) {
        return mapper.deleteByDocId(id);
    }
}
