TbPlaceMapper.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.ruoyi.asset.mapper;
  2. import java.util.List;
  3. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  4. import com.ruoyi.asset.domain.TbPlace;
  5. import org.apache.ibatis.annotations.Mapper;
  6. /**
  7. * 地点Mapper接口
  8. *
  9. * @author 原动力
  10. * @date 2023-03-27
  11. */
  12. @Mapper
  13. public interface TbPlaceMapper extends BaseMapper<TbPlace>
  14. {
  15. /**
  16. * 查询地点
  17. *
  18. * @param id 地点主键
  19. * @return 地点
  20. */
  21. public TbPlace selectTbPlaceById(Long id);
  22. /**
  23. * 查询地点列表
  24. *
  25. * @param tbPlace 地点
  26. * @return 地点集合
  27. */
  28. public List<TbPlace> selectTbPlaceList(TbPlace tbPlace);
  29. /**
  30. * 新增地点
  31. *
  32. * @param tbPlace 地点
  33. * @return 结果
  34. */
  35. public int insertTbPlace(TbPlace tbPlace);
  36. /**
  37. * 修改地点
  38. *
  39. * @param tbPlace 地点
  40. * @return 结果
  41. */
  42. public int updateTbPlace(TbPlace tbPlace);
  43. /**
  44. * 删除地点
  45. *
  46. * @param id 地点主键
  47. * @return 结果
  48. */
  49. public int deleteTbPlaceById(Long id);
  50. /**
  51. * 批量删除地点
  52. *
  53. * @param ids 需要删除的数据主键集合
  54. * @return 结果
  55. */
  56. public int deleteTbPlaceByIds(Long[] ids);
  57. }