ITWhgenlegService.java 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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, Integer pageNum, Integer pageSize);
  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>> getCorpsByfMblno(String fMblno);
  99. /**
  100. * 一周库存总量
  101. *
  102. * @return
  103. */
  104. List<Map<String, Object>> selectDateFQtyblcListList();
  105. List<Map<String, Object>> selectWhgenlegList(TWhgenleg tWhgenleg);
  106. public List<Whgenleg> whgenlegExport(TWhgenleg tWhgenleg) throws Exception;
  107. List<Map<String, Object>> selectdetailedList(TWarehousebill tWarehousebill);
  108. /**
  109. * 查询单票分析信息
  110. *
  111. * @param singleAnalysisExcel
  112. * @return
  113. */
  114. public List<SingleAnalysisExcel> selectSingleAnalysis(SingleAnalysisExcel singleAnalysisExcel);
  115. /**
  116. * 查询单票分析费用信息
  117. *
  118. * @param singleAnalysisExcel
  119. * @return
  120. */
  121. public List<SingleAnalysisFeesExcel> selectSingleAnalysisFees(SingleAnalysisExcel singleAnalysisExcel);
  122. /**
  123. * 根据客户id或者提单号查询库存不为0的仓库
  124. *
  125. * @param tWhgenleg
  126. * @return
  127. */
  128. public List<Map<String, Object>> getWarehouse(TWhgenleg tWhgenleg);
  129. /**
  130. * app查询库存总账
  131. *
  132. * @param tWhgenleg
  133. * @return
  134. */
  135. public List<Map<String, Object>> appWhGenLegList(TWhgenleg tWhgenleg, Integer pageNum, Integer pageSize);
  136. /**
  137. * 查询库存总帐详细信息
  138. *
  139. * @param tWhgenleg
  140. * @return
  141. */
  142. AjaxResult selectWhgenlegDetailsList(TWhgenleg tWhgenleg);
  143. /**
  144. * 库龄超过60天的库存列表
  145. *
  146. * @return
  147. */
  148. public List<Map<String, Object>> stockAfterMonthList();
  149. /**
  150. * bi大屏客户概况
  151. *
  152. * @return
  153. */
  154. public List<Map<String, Object>> biCustomerInfo(Long warehouseId, Long customerId);
  155. /**
  156. * bi库存数量
  157. *
  158. * @return
  159. */
  160. public Map<String, Object> biStockCount(Long warehouseId, Long customerId, String mode);
  161. /**
  162. * bi大屏毛重概况
  163. *
  164. * @return
  165. */
  166. public Map<String, Object> biWeightInfo(Long warehouseId, Long customerId, String mode);
  167. /**
  168. * bi大屏最大库龄
  169. *
  170. * @return
  171. */
  172. public Map<String, Object> biMaxStockDays(Long warehouseId, Long customerId);
  173. /**
  174. * bi大屏库龄概况
  175. *
  176. * @return
  177. */
  178. public List<Map<String, Object>> biStockDaysInfo(Long warehouseId, Long customerId);
  179. }