package com.hw.dms.mapper;

import com.hw.dms.domain.BaseAttachInfo;
import com.hw.dms.domain.DmsInstanceFile;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName : BaseAttachInfo
 * @Description :
 * @Author :
 * @Date: 2024-04-08 09:30
 */
public interface BaseAttachInfoMapper {
    //知识库存储文件
    int batchDmsKnowLedgeLubeFile(List<BaseAttachInfo> baseAttachInfos);

    //根据知识库主键id查询文件路径
    List<String> selectListBaseAttachInfos(@Param("attachType") String attachType,@Param("processId") Long processId);

    //更新时删除原有的图片
    int deleteListBaseAttachInfos(@Param("attachType") String attachType,@Param("processId") Long processId);
}
