ITWhgenlegService.java 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. package com.ruoyi.reportManagement.service;
  2. import com.ruoyi.common.core.domain.AjaxResult;
  3. import com.ruoyi.reportManagement.domain.SingleAnalysisExcel;
  4. import com.ruoyi.reportManagement.domain.SingleAnalysisFeesExcel;
  5. import com.ruoyi.reportManagement.domain.TWhgenleg;
  6. import com.ruoyi.reportManagement.dto.TWarehousebill;
  7. import com.ruoyi.reportManagement.excel.Whgenleg;
  8. import org.springframework.web.bind.annotation.GetMapping;
  9. import java.util.List;
  10. import java.util.Map;
  11. /**
  12. * 库存总账Service接口
  13. *
  14. * @author ruoyi
  15. * @date 2020-12-11
  16. */
  17. public interface ITWhgenlegService {
  18. /**
  19. * 查询库存总账
  20. *
  21. * @param fId 库存总账ID
  22. * @return 库存总账
  23. */
  24. public Map<String, Object> selectTWhgenlegById(Long fId);
  25. /**
  26. * 查询库存总账列表
  27. *
  28. * @param tWhgenleg 库存总账
  29. * @return 库存总账集合
  30. */
  31. public List<TWhgenleg> selectTWhgenlegList(TWhgenleg tWhgenleg);
  32. /**
  33. * 出库、调拨、货转查询库存总账列表
  34. *
  35. * @param tWhgenleg 库存总账
  36. * @return 库存总账集合
  37. */
  38. List<Map<String, Object>> selectInventoryList(TWhgenleg tWhgenleg);
  39. /**
  40. * 查询库存总账列表
  41. *
  42. * @param tWhgenleg 库存总账
  43. * @return 库存总账集合
  44. */
  45. List<Map<String, Object>> selectInventoryMapList(TWhgenleg tWhgenleg);
  46. /**
  47. * 新增库存总账
  48. *
  49. * @param tWhgenleg 库存总账
  50. * @return 结果
  51. */
  52. public int insertTWhgenleg(TWhgenleg tWhgenleg);
  53. /**
  54. * 修改库存总账
  55. *
  56. * @param tWhgenleg 库存总账
  57. * @return 结果
  58. */
  59. public int updateTWhgenleg(TWhgenleg tWhgenleg);
  60. /**
  61. * 批量删除库存总账
  62. *
  63. * @param fAccyears 需要删除的库存总账ID
  64. * @return 结果
  65. */
  66. public int deleteTWhgenlegByIds(Long[] fAccyears);
  67. /**
  68. * 删除库存总账信息
  69. *
  70. * @param fAccyear 库存总账ID
  71. * @return 结果
  72. */
  73. public int deleteTWhgenlegById(Long fAccyear);
  74. /**
  75. * 商品 库存总量
  76. *
  77. * @return
  78. */
  79. Map<String, Object> selectGoodsList(Long fId);
  80. /**
  81. * 仓库 库存总量
  82. *
  83. * @return
  84. */
  85. List<Map<String, Object>> selectWareHouseList();
  86. List<Map<String, Object>> selectWareHouseLists();
  87. /**
  88. * 客户 库存总量
  89. *
  90. * @return
  91. */
  92. Map<String, Object> selectCorpsList(Long fId);
  93. /**
  94. * 一周库存总量
  95. *
  96. * @return
  97. */
  98. List<Map<String, Object>> selectDateFQtyblcListList();
  99. List<Map<String, Object>> selectWhgenlegList(TWhgenleg tWhgenleg);
  100. public List<Whgenleg> whgenlegExport(TWhgenleg tWhgenleg) throws Exception;
  101. List<Map<String, Object>> selectdetailedList(TWarehousebill tWarehousebill);
  102. /**
  103. * 查询单票分析信息
  104. *
  105. * @param singleAnalysisExcel
  106. * @return
  107. */
  108. public List<SingleAnalysisExcel> selectSingleAnalysis(SingleAnalysisExcel singleAnalysisExcel);
  109. /**
  110. * 查询单票分析费用信息
  111. *
  112. * @param singleAnalysisExcel
  113. * @return
  114. */
  115. public List<SingleAnalysisFeesExcel> selectSingleAnalysisFees(SingleAnalysisExcel singleAnalysisExcel);
  116. /**
  117. * 根据客户id或者提单号查询库存不为0的仓库
  118. *
  119. * @param tWhgenleg
  120. * @return
  121. */
  122. public List<Map<String, Object>> getWarehouse(TWhgenleg tWhgenleg);
  123. /**
  124. * app查询库存总账
  125. *
  126. * @param tWhgenleg
  127. * @return
  128. */
  129. public List<Map<String, Object>> appWhGenLegList(TWhgenleg tWhgenleg, Integer pageNum, Integer pageSize);
  130. /**
  131. * 查询库存总帐详细信息
  132. *
  133. * @param tWhgenleg
  134. * @return
  135. */
  136. AjaxResult selectWhgenlegDetailsList(TWhgenleg tWhgenleg);
  137. /**
  138. * 库龄超过60天的库存列表
  139. *
  140. * @return
  141. */
  142. public List<Map<String, Object>> stockAfterMonthList();
  143. /**
  144. * bi大屏客户概况
  145. *
  146. * @return
  147. */
  148. public List<Map<String, Object>> biCustomerInfo();
  149. /**
  150. * bi库存数量
  151. *
  152. * @return
  153. */
  154. public Map<String, Object> biStockCount();
  155. /**
  156. * bi大屏商品概况
  157. *
  158. * @return
  159. */
  160. public List<Map<String, Object>> biGoodsInfo();
  161. /**
  162. * bi大屏最大库龄
  163. *
  164. * @return
  165. */
  166. public Map<String, Object> biMaxStockDays();
  167. /**
  168. * bi大屏库龄概况
  169. *
  170. * @return
  171. */
  172. public List<Map<String, Object>> biStockDaysInfo();
  173. }