package com.gunshi.project.hsz.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gunshi.project.hsz.model.FileAssociations; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import java.util.List; /** * 描述: 文件关联业务表 * author: xusan * date: 2024-07-17 10:09:40 */ @Mapper public interface FileAssociationsMapper extends BaseMapper { @Select(""" """) List getFiles(@Param("tableName") String tableName,@Param("businessId") String businessId); @Select(""" """) List getFiles2(@Param("tableName") String tableName,@Param("businessId") String businessId); @Select(""" """) List getFiles1(@Param("tableName") String tableName,@Param("businessId") String businessId,@Param("type") String type); @Select(""" """) List queryFileList(@Param("businessId") String businessId,@Param("tableName") String tableName,@Param("type") String type); @Select(""" """) List getFilesByIds(@Param("ids") List ids); }