package com.ruoyi.asset.mapper; import java.util.List; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.asset.domain.TbAsset; import org.apache.ibatis.annotations.Mapper; /** * 资产信息Mapper接口 * * @author 原动力 * @date 2023-03-27 */ @Mapper public interface TbAssetMapper extends BaseMapper { /** * 查询资产信息 * * @param id 资产信息主键 * @return 资产信息 */ public TbAsset selectTbAssetById(Long id); /** * 查询资产信息列表 * * @param tbAsset 资产信息 * @return 资产信息集合 */ public List selectTbAssetList(TbAsset tbAsset); /** * 新增资产信息 * * @param tbAsset 资产信息 * @return 结果 */ public int insertTbAsset(TbAsset tbAsset); /** * 修改资产信息 * * @param tbAsset 资产信息 * @return 结果 */ public int updateTbAsset(TbAsset tbAsset); /** * 删除资产信息 * * @param id 资产信息主键 * @return 结果 */ public int deleteTbAssetById(Long id); /** * 批量删除资产信息 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deleteTbAssetByIds(Long[] ids); }