|
|
|
@ -0,0 +1,37 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
* https://www.mall4j.com/
|
|
|
|
|
*
|
|
|
|
|
* 未经允许,不可做商业用途!
|
|
|
|
|
*
|
|
|
|
|
* 版权所有,侵权必究!
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package com.yami.shop.dao;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
|
import com.yami.shop.bean.model.IndexImg;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* IndexImgMapper 是一个数据访问层接口,用于定义对IndexImg实体进行数据库操作的方法。
|
|
|
|
|
* 它继承自MyBatis-Plus提供的BaseMapper,从而获得了一系列默认的CRUD方法。
|
|
|
|
|
* @author lanhai
|
|
|
|
|
*/
|
|
|
|
|
public interface IndexImgMapper extends BaseMapper<IndexImg> {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* deleteIndexImgByIds 方法用于根据给定的ID列表批量删除图片记录。
|
|
|
|
|
* @param ids 一个或多个要删除的图片记录的ID数组。
|
|
|
|
|
*/
|
|
|
|
|
void deleteIndexImgByIds(@Param("ids") Long[] ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* listIndexImg 方法用于获取所有的图片记录列表。
|
|
|
|
|
* @return 返回一个包含所有IndexImg对象的列表。
|
|
|
|
|
*/
|
|
|
|
|
List<IndexImg> listIndexImg();
|
|
|
|
|
}
|