ITWarehouseAgreementService.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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, String attachments, LoginUser loginUser,int fFeetypeid);
  38. public AjaxResult tWarehouseAgreementSubmit(String agreement, String agreementitems, String attachments, LoginUser loginUser,int fFeetypeid);
  39. public AjaxResult revoke(String agreement, String agreementitems, LoginUser loginUser,int fFeetypeid);
  40. /**
  41. * 修改仓储费
  42. *
  43. * @param tWarehouseAgreement 仓储费
  44. * @return 结果
  45. */
  46. public int updateTWarehouseAgreement(TWarehouseAgreement tWarehouseAgreement);
  47. /**
  48. * 批量删除仓储费
  49. *
  50. * @param fIds 需要删除的仓储费ID
  51. * @return 结果
  52. */
  53. public int deleteTWarehouseAgreementByIds(Long[] fIds);
  54. /**
  55. * 删除仓储费信息
  56. *
  57. * @param fId 仓储费ID
  58. * @return 结果
  59. */
  60. public int deleteTWarehouseAgreementById(Long fId);
  61. public AjaxResult queryRemove(Long fId);
  62. }