package com.blueland.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blueland.bo.AttachmentEntity;
import com.blueland.model.TPfAttachment;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @auther xcy
 * @create 2022-05-09 17:38
 */
public interface IAttachmentService extends IService<TPfAttachment> {
    Map<String, Object> uploadFile(HttpServletRequest request, String childDir, String[] params,
                                   Map<String, Object[]> values) throws Exception;

    void asynFileForSyy(String attId, String uploadDirUrl, boolean b);

    Page<AttachmentEntity> findPageList(AttachmentEntity attachmentEntity, Integer curPage, Integer curPageSize);

    TPfAttachment get(AttachmentEntity bo);
}
