TFeeDoMapper.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.ruoyi.finance.mapper;
  2. import com.ruoyi.finance.domain.TFeeDo;
  3. import com.ruoyi.finance.shipping.FinancialTFeeDoExcel;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * 财务数据明细Mapper接口
  9. *
  10. * @author ruoyi
  11. * @date 2021-01-18
  12. */
  13. @Mapper
  14. public interface TFeeDoMapper {
  15. /**
  16. * 查询财务数据明细
  17. *
  18. * @param fId 财务数据明细ID
  19. * @return 财务数据明细
  20. */
  21. public TFeeDo selectTFeeDoById(Long fId);
  22. /**
  23. * 查询财务数据明细列表
  24. *
  25. * @param tFeeDo 财务数据明细
  26. * @return 财务数据明细集合
  27. */
  28. public List<TFeeDo> selectTFeeDoList(TFeeDo tFeeDo);
  29. /**
  30. * 查询财务数据明细列表
  31. * 根据主表id
  32. * @param fPid 财务数据明细
  33. * @return 财务数据明细集合
  34. */
  35. public List<TFeeDo> selectTFeeDoByfPid(@Param("fPid") Long fPid);
  36. /**
  37. * 新增财务数据明细
  38. *
  39. * @param tFeeDo 财务数据明细
  40. * @return 结果
  41. */
  42. public int insertTFeeDo(TFeeDo tFeeDo);
  43. /**
  44. * 修改财务数据明细
  45. *
  46. * @param tFeeDo 财务数据明细
  47. * @return 结果
  48. */
  49. public int updateTFeeDo(TFeeDo tFeeDo);
  50. /**
  51. * 删除财务数据明细
  52. *
  53. * @param fId 财务数据明细ID
  54. * @return 结果
  55. */
  56. public int deleteTFeeDoById(Long fId);
  57. /**
  58. * 批量删除财务数据明细
  59. *
  60. * @param fIds 需要删除的数据ID
  61. * @return 结果
  62. */
  63. public int deleteTFeeDoByIds(Long[] fIds);
  64. int deleteByFPid(Long fId);
  65. /**
  66. * 根据主表id 更新主表对应状态
  67. *
  68. * @param fettle 对应状态
  69. * @param fPid 主表id
  70. * @return 结果
  71. */
  72. int tfeeDoFollowUpdate(@Param("fPid") Long fPid, @Param("fettle") Long fettle);
  73. /**
  74. * 凯和查询财务明细数据
  75. * @param fPid
  76. * @return
  77. */
  78. List<FinancialTFeeDoExcel> selectFinancialTFeeDo(Long fPid);
  79. }