TAnnexMapper.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.ruoyi.warehouseBusiness.mapper;
  2. import com.ruoyi.warehouseBusiness.domain.TAnnex;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. /**
  7. * 业务附件Mapper接口
  8. *
  9. * @author ruoyi
  10. * @date 2021-11-19
  11. */
  12. @Mapper
  13. public interface TAnnexMapper {
  14. /**
  15. * 查询业务附件
  16. *
  17. * @param fId 业务附件ID
  18. * @return 业务附件
  19. */
  20. public TAnnex selectTAnnexById(Long fId);
  21. /**
  22. * 查询业务附件列表
  23. *
  24. * @param tAnnex 业务附件
  25. * @return 业务附件集合
  26. */
  27. public List<TAnnex> selectTAnnexList(TAnnex tAnnex);
  28. /**
  29. * 新增业务附件
  30. *
  31. * @param tAnnex 业务附件
  32. * @return 结果
  33. */
  34. public int insertTAnnex(TAnnex tAnnex);
  35. /**
  36. * 修改业务附件
  37. *
  38. * @param tAnnex 业务附件
  39. * @return 结果
  40. */
  41. public int updateTAnnex(TAnnex tAnnex);
  42. /**
  43. * 删除业务附件
  44. *
  45. * @param fId 业务附件ID
  46. * @return 结果
  47. */
  48. public int deleteTAnnexById(Long fId);
  49. /**
  50. * 批量删除业务附件
  51. *
  52. * @param fIds 需要删除的数据ID
  53. * @return 结果
  54. */
  55. public int deleteTAnnexByIds(Long[] fIds);
  56. /**
  57. * 删除来源id
  58. * @param fPid
  59. * @return
  60. */
  61. int deleteByPid(@Param("pid") Long fPid, @Param("actId") Long actId);
  62. }