ITWarehouseAreaService.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package com.ruoyi.basicData.service;
  2. import com.ruoyi.basicData.domain.TWarehouseArea;
  3. import com.ruoyi.common.core.domain.AjaxResult;
  4. import com.ruoyi.common.core.domain.entity.TWarehouse;
  5. import java.util.List;
  6. /**
  7. * 库区Service接口
  8. *
  9. * @author ruoyi
  10. * @date 2020-12-11
  11. */
  12. public interface ITWarehouseAreaService {
  13. /**
  14. * 查询库区
  15. *
  16. * @param fId 库区ID
  17. * @return 库区
  18. */
  19. public TWarehouseArea selectTWarehouseAreaById(Long fId);
  20. /**
  21. * 查询库区列表
  22. *
  23. * @param tWarehouseArea 库区
  24. * @return 库区集合
  25. */
  26. public List<TWarehouseArea> selectTWarehouseAreaList(TWarehouseArea tWarehouseArea);
  27. /**
  28. * 新增库区
  29. *
  30. * @param tWarehouseArea 库区
  31. * @return 结果
  32. */
  33. public int insertTWarehouseArea(TWarehouseArea tWarehouseArea);
  34. /**
  35. * 修改库区
  36. *
  37. * @param tWarehouseArea 库区
  38. * @return 结果
  39. */
  40. public int updateTWarehouseArea(TWarehouseArea tWarehouseArea);
  41. /**
  42. * 批量删除库区
  43. *
  44. * @param fIds 需要删除的库区ID
  45. * @return 结果
  46. */
  47. public AjaxResult deleteTWarehouseAreaByIds(Long[] fIds);
  48. /**
  49. * 删除库区信息
  50. *
  51. * @param fId 库区ID
  52. * @return 结果
  53. */
  54. public int deleteTWarehouseAreaById(Long fId);
  55. /**
  56. * 检验是否可添加库区
  57. * @return
  58. */
  59. public String checkUFTWarehouseUnique(TWarehouseArea tWarehouseArea);
  60. }