TWhgenlegMapper.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. package com.ruoyi.reportManagement.mapper;
  2. import com.ruoyi.reportManagement.domain.TWhgenleg;
  3. import com.ruoyi.warehouseBusiness.domain.TWarehouseBills;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. import java.util.Map;
  7. /**
  8. * 库存总账Mapper接口
  9. *
  10. * @author ruoyi
  11. * @date 2020-12-11
  12. */
  13. public interface TWhgenlegMapper {
  14. /**
  15. * 查询库存总账
  16. *
  17. * @param fId 库存总账ID
  18. * @return 库存总账
  19. */
  20. public TWhgenleg selectTWhgenlegById(Long fId);
  21. /**
  22. * 查询库存总账列表
  23. *
  24. * @param tWhgenleg 库存总账
  25. * @return 库存总账集合
  26. */
  27. public List<TWhgenleg> selectTWhgenlegList(TWhgenleg tWhgenleg);
  28. /**
  29. * 新增库存总账
  30. *
  31. * @param tWhgenleg 库存总账
  32. * @return 结果
  33. */
  34. public int insertTWhgenleg(TWhgenleg tWhgenleg);
  35. /**
  36. * 修改库存总账
  37. *
  38. * @param tWhgenleg 库存总账
  39. * @return 结果
  40. */
  41. public int updateTWhgenleg(TWhgenleg tWhgenleg);
  42. /**
  43. * 删除库存总账
  44. *
  45. * @param fAccyear 库存总账ID
  46. * @return 结果
  47. */
  48. public int deleteTWhgenlegById(Long fAccyear);
  49. /**
  50. * 批量删除库存总账
  51. *
  52. * @param fAccyears 需要删除的数据ID
  53. * @return 结果
  54. */
  55. public int deleteTWhgenlegByIds(Long[] fAccyears);
  56. /**
  57. * 查询条件库存总账是否存在
  58. *
  59. * @param tWhgenleg 库存总账
  60. * @return 结果
  61. */
  62. public TWhgenleg selectTWhgenleg(TWhgenleg tWhgenleg);
  63. /**
  64. * 修改库存总账表
  65. *
  66. * @param map
  67. * @return 结果
  68. */
  69. public int updateTWhgenlegData(@Param("map") Map<String, Object> map);
  70. List<Map<String, Object>> selectInventoryList(TWhgenleg tWhgenleg);
  71. List<Map<String, Object>> selectWhgenlegList(TWhgenleg tWhgenleg);
  72. List<Map<String, Object>> selectGoodsList();
  73. List<Map<String, Object>> selectGoodsListWhouse(Long fId);
  74. List<Map<String, Object>> selectWareHouseList();
  75. List<Map<String, Object>> selectWareHouseListWhouse(Long fId);
  76. List<Map<String, Object>> selectCorpsList();
  77. List<Map<String, Object>> selectCorpsListWhouse(Long fId);
  78. List<Map<String, Object>> selectDateFQtyblcListList(@Param("map") Map<String, Object> map);
  79. /**
  80. * 查询库存总账计算仓储费
  81. * @param tWarehouseBills
  82. * @return
  83. */
  84. public List<Map<String, Object>> selectStorageFeeItemList(@Param("warehouse") TWarehouseBills tWarehouseBills);
  85. /**
  86. * 查询库存总账列表
  87. * @param tWhgenleg 库存总账
  88. * @return 库存总账集合
  89. */
  90. public List<Map<String, Object>> selectInventoryMapList(TWhgenleg tWhgenleg);
  91. }