PropertyRepairMapper.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package com.ruoyi.system.mapper;
  2. import com.ruoyi.system.domain.propertyRepair.PropertyRepair;
  3. import org.apache.ibatis.annotations.Param;
  4. import java.util.List;
  5. /**
  6. * 物业报修Mapper接口
  7. *
  8. * @author boman
  9. * @date 2025-02-14
  10. */
  11. public interface PropertyRepairMapper
  12. {
  13. /**
  14. * 查询物业报修
  15. *
  16. * @param repairId 物业报修主键
  17. * @return 物业报修
  18. */
  19. public PropertyRepair selectPropertyRepairByRepairId(Long repairId);
  20. /**
  21. * 查询物业报修列表
  22. *
  23. * @param propertyRepair 物业报修
  24. * @return 物业报修集合
  25. */
  26. public List<PropertyRepair> selectPropertyRepairList(PropertyRepair propertyRepair);
  27. /**
  28. * 新增物业报修
  29. *
  30. * @param propertyRepair 物业报修
  31. * @return 结果
  32. */
  33. public int insertPropertyRepair(PropertyRepair propertyRepair);
  34. /**
  35. * 修改物业报修
  36. *
  37. * @param propertyRepair 物业报修
  38. * @return 结果
  39. */
  40. public int updatePropertyRepair(PropertyRepair propertyRepair);
  41. /**
  42. * 删除物业报修
  43. *
  44. * @param repairId 物业报修主键
  45. * @return 结果
  46. */
  47. public int deletePropertyRepairByRepairId(Long repairId);
  48. /**
  49. * 批量删除物业报修
  50. *
  51. * @param repairIds 需要删除的数据主键集合
  52. * @return 结果
  53. */
  54. public int deletePropertyRepairByRepairIds(Long[] repairIds);
  55. public List<PropertyRepair> selectPropertyRepairListByTime(@Param("starTime") String starTime, @Param("endTime")String endTime);
  56. }