package com.ruoyi.system.service.impl;
|
|
import java.util.List;
|
import com.ruoyi.system.domain.UpdatePiece;
|
|
/**
|
* 块Mapper接口
|
*
|
* @author ruoyi
|
* @date 2023-03-23
|
*/
|
public interface UpdatePieceMapper
|
{
|
/**
|
* 查询块
|
*
|
* @param id 块主键
|
* @return 块
|
*/
|
public UpdatePiece selectUpdatePieceById(Long id);
|
|
/**
|
* 查询块列表
|
*
|
* @param updatePiece 块
|
* @return 块集合
|
*/
|
public List<UpdatePiece> selectUpdatePieceList(UpdatePiece updatePiece);
|
|
/**
|
* 新增块
|
*
|
* @param updatePiece 块
|
* @return 结果
|
*/
|
public int insertUpdatePiece(UpdatePiece updatePiece);
|
|
/**
|
* 修改块
|
*
|
* @param updatePiece 块
|
* @return 结果
|
*/
|
public int updateUpdatePiece(UpdatePiece updatePiece);
|
|
/**
|
* 删除块
|
*
|
* @param id 块主键
|
* @return 结果
|
*/
|
public int deleteUpdatePieceById(Long id);
|
|
/**
|
* 批量删除块
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteUpdatePieceByIds(Long[] ids);
|
}
|