1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- 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<TbAsset>
- {
- /**
- * 查询资产信息
- *
- * @param id 资产信息主键
- * @return 资产信息
- */
- public TbAsset selectTbAssetById(Long id);
- /**
- * 查询资产信息列表
- *
- * @param tbAsset 资产信息
- * @return 资产信息集合
- */
- public List<TbAsset> 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);
- }
|