ITWarehouseAgreementService.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package com.ruoyi.warehouseBusiness.service;
  2. import com.ruoyi.common.core.domain.AjaxResult;
  3. import com.ruoyi.common.core.domain.model.LoginUser;
  4. import com.ruoyi.warehouseBusiness.domain.TWarehouseAgreement;
  5. import java.util.List;
  6. import java.util.Map;
  7. /**
  8. * 仓储费Service接口
  9. *
  10. * @author ruoyi
  11. * @date 2020-12-11
  12. */
  13. public interface ITWarehouseAgreementService {
  14. /**
  15. * 查询仓储费
  16. *
  17. * @param fId 仓储费ID
  18. * @return 仓储费
  19. */
  20. public TWarehouseAgreement selectTWarehouseAgreementById(Long fId);
  21. public Map<String, Object> selectTWarehouseAgreementById1(Long fId);
  22. /**
  23. * 查询仓储费列表
  24. *
  25. * @param tWarehouseAgreement 仓储费
  26. * @return 仓储费集合
  27. */
  28. public List<Map<String, Object>> selectTWarehouseAgreementList1(TWarehouseAgreement tWarehouseAgreement);
  29. public List<TWarehouseAgreement> selectTWarehouseAgreementList(TWarehouseAgreement tWarehouseAgreement);
  30. /**
  31. *
  32. * @param agreement
  33. * @param agreementitems
  34. * @param loginUser
  35. * @return
  36. */
  37. public AjaxResult insertTWarehouseAgreement(String agreement, String agreementitems, LoginUser loginUser);
  38. /**
  39. * 修改仓储费
  40. *
  41. * @param tWarehouseAgreement 仓储费
  42. * @return 结果
  43. */
  44. public int updateTWarehouseAgreement(TWarehouseAgreement tWarehouseAgreement);
  45. /**
  46. * 批量删除仓储费
  47. *
  48. * @param fIds 需要删除的仓储费ID
  49. * @return 结果
  50. */
  51. public int deleteTWarehouseAgreementByIds(Long[] fIds);
  52. /**
  53. * 删除仓储费信息
  54. *
  55. * @param fId 仓储费ID
  56. * @return 结果
  57. */
  58. public int deleteTWarehouseAgreementById(Long fId);
  59. }