SsdbCompanyAttachService.java 768 Bytes
Newer Older
xucl committed
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
package com.fadu.ssdb.service;

import com.fadu.app.bean.BaseResponse;
import com.fadu.model.ssdb.SsdbCompany;

/**
 * @Author: Wxy
 * @Description:公司上传的文件业务逻辑层
 * @Date created in 10:58 2020/4/15
 */
public interface SsdbCompanyAttachService {
    /**
     * 添加公司资源
     * @param attachType 类型
     * @param path 路径
     * @param fileName 文件名
     * @param fileType 后缀
     * @param company 公司
     * @return
     */
    BaseResponse saveAttach(Integer attachType, String path, String fileName, String fileType, SsdbCompany company);

    /**
     * 删除公司资源
     * @param companyId 公司Id
     * @param attachTyp 公司类型
     */
    void deleteAttach(String companyId, Integer attachTyp);
}