package com.ruoyi.tms.mapper;
|
|
import java.util.List;
|
import com.ruoyi.tms.domain.TmsProductInfo;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
/**
|
* 货品信息Mapper接口
|
*
|
* @author ruoyi
|
* @date 2025-11-04
|
*/
|
public interface TmsProductInfoMapper extends BaseMapper<TmsProductInfo>
|
{
|
/**
|
* 查询货品信息
|
*
|
* @param id 货品信息ID
|
* @return 货品信息
|
*/
|
public TmsProductInfo selectTmsProductInfoById(Integer id);
|
|
/**
|
* 查询货品信息 记录数
|
*
|
* @param tmsProductInfo 货品信息
|
* @return 货品信息集合
|
*/
|
public int selectTmsProductInfoCount(TmsProductInfo tmsProductInfo);
|
|
/**
|
* 查询货品信息列表
|
*
|
* @param tmsProductInfo 货品信息
|
* @return 货品信息集合
|
*/
|
public List<TmsProductInfo> selectTmsProductInfoList(TmsProductInfo tmsProductInfo);
|
|
/**
|
* 新增货品信息
|
*
|
* @param tmsProductInfo 货品信息
|
* @return 结果
|
*/
|
public int insertTmsProductInfo(TmsProductInfo tmsProductInfo);
|
|
/**
|
* 新增货品信息[批量]
|
*
|
* @param tmsProductInfos 货品信息
|
* @return 结果
|
*/
|
public int insertTmsProductInfoBatch(List<TmsProductInfo> tmsProductInfos);
|
|
/**
|
* 修改货品信息
|
*
|
* @param tmsProductInfo 货品信息
|
* @return 结果
|
*/
|
public int updateTmsProductInfo(TmsProductInfo tmsProductInfo);
|
|
/**
|
* 修改货品信息[批量]
|
*
|
* @param tmsProductInfos 货品信息
|
* @return 结果
|
*/
|
public int updateTmsProductInfoBatch(List<TmsProductInfo> tmsProductInfos);
|
|
/**
|
* 删除货品信息
|
*
|
* @param id 货品信息ID
|
* @return 结果
|
*/
|
public int deleteTmsProductInfoById(Integer id);
|
|
/**
|
* 批量删除货品信息
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteTmsProductInfoByIds(Integer[] ids);
|
}
|