package com.ruoyi.file.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.ruoyi.file.entity.AttachmentInfo;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
/**
|
* @email 1603559716@qq.com
|
* @author: zf
|
* @date: 2023/7/24
|
* @time: 13:49
|
*/
|
@Repository
|
public interface AttachmentInfoMapper extends BaseMapper<AttachmentInfo> {
|
void saveBatch(@Param("attachmentList") List<AttachmentInfo> attachmentList);
|
|
void updateBusinessIdBatch(@Param("attachmentList")List<AttachmentInfo> attachmentList);
|
|
void deleteByBusinessId(@Param("businessId")Long businessId);
|
}
|