ITWhgenlegService.java 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. * @param tWhgenleg 传递的库存总账数据对象
  21. * @return 状态以及数据
  22. */
  23. AjaxResult superviseExport(TWhgenleg tWhgenleg);
  24. /**
  25. * 查询库存总账
  26. *
  27. * @param fId 库存总账ID
  28. * @return 库存总账
  29. */
  30. public Map<String, Object> selectTWhgenlegById(Long fId);
  31. /**
  32. * 查询库存总账列表
  33. *
  34. * @param tWhgenleg 库存总账
  35. * @return 库存总账集合
  36. */
  37. public List<TWhgenleg> selectTWhgenlegList(TWhgenleg tWhgenleg);
  38. /**
  39. * 出库、调拨、货转查询库存总账列表
  40. *
  41. * @param tWhgenleg 库存总账
  42. * @return 库存总账集合
  43. */
  44. List<Map<String, Object>> selectInventoryList(TWhgenleg tWhgenleg);
  45. /**
  46. * 查询库存总账列表
  47. *
  48. * @param tWhgenleg 库存总账
  49. * @return 库存总账集合
  50. */
  51. List<Map<String, Object>> selectInventoryMapList(TWhgenleg tWhgenleg, Integer pageNum, Integer pageSize);
  52. /**
  53. * 新增库存总账
  54. *
  55. * @param tWhgenleg 库存总账
  56. * @return 结果
  57. */
  58. public int insertTWhgenleg(TWhgenleg tWhgenleg);
  59. /**
  60. * 修改库存总账
  61. *
  62. * @param tWhgenleg 库存总账
  63. * @return 结果
  64. */
  65. public int updateTWhgenleg(TWhgenleg tWhgenleg);
  66. /**
  67. * 批量删除库存总账
  68. *
  69. * @param fAccyears 需要删除的库存总账ID
  70. * @return 结果
  71. */
  72. public int deleteTWhgenlegByIds(Long[] fAccyears);
  73. /**
  74. * 删除库存总账信息
  75. *
  76. * @param fAccyear 库存总账ID
  77. * @return 结果
  78. */
  79. public int deleteTWhgenlegById(Long fAccyear);
  80. /**
  81. * 商品 库存总量
  82. *
  83. * @return
  84. */
  85. Map<String, Object> selectGoodsList(Long fId);
  86. /**
  87. * 仓库 库存总量
  88. *
  89. * @return
  90. */
  91. List<Map<String, Object>> selectWareHouseList();
  92. List<Map<String, Object>> selectWareHouseLists();
  93. /**
  94. * 客户 库存总量
  95. *
  96. * @return
  97. */
  98. Map<String, Object> selectCorpsList(Long fId);
  99. /**
  100. * 根据提单号获取客户
  101. *
  102. * @return
  103. */
  104. List<Map<String, Object>> getCorpsByfMblno(String fMblno);
  105. /**
  106. * 一周库存总量
  107. *
  108. * @return
  109. */
  110. List<Map<String, Object>> selectDateFQtyblcListList();
  111. List<Map<String, Object>> selectWhgenlegList(TWhgenleg tWhgenleg);
  112. public List<Whgenleg> whgenlegExport(TWhgenleg tWhgenleg) throws Exception;
  113. List<Map<String, Object>> selectdetailedList(TWarehousebill tWarehousebill);
  114. /**
  115. * 查询单票分析信息
  116. *
  117. * @param singleAnalysisExcel
  118. * @return
  119. */
  120. public List<SingleAnalysisExcel> selectSingleAnalysis(SingleAnalysisExcel singleAnalysisExcel);
  121. /**
  122. * 查询单票分析费用信息
  123. *
  124. * @param singleAnalysisExcel
  125. * @return
  126. */
  127. public List<SingleAnalysisFeesExcel> selectSingleAnalysisFees(SingleAnalysisExcel singleAnalysisExcel);
  128. /**
  129. * 根据客户id或者提单号查询库存不为0的仓库
  130. *
  131. * @param tWhgenleg
  132. * @return
  133. */
  134. public List<Map<String, Object>> getWarehouse(TWhgenleg tWhgenleg);
  135. /**
  136. * app查询库存总账
  137. *
  138. * @param tWhgenleg
  139. * @return
  140. */
  141. public List<Map<String, Object>> appWhGenLegList(TWhgenleg tWhgenleg, Integer pageNum, Integer pageSize);
  142. /**
  143. * 查询库存总帐详细信息
  144. *
  145. * @param tWhgenleg
  146. * @return
  147. */
  148. AjaxResult selectWhgenlegDetailsList(TWhgenleg tWhgenleg);
  149. /**
  150. * 库龄超过60天的库存列表
  151. *
  152. * @return
  153. */
  154. public List<Map<String, Object>> stockAfterMonthList();
  155. /**
  156. * bi大屏客户概况
  157. *
  158. * @return
  159. */
  160. public List<Map<String, Object>> biCustomerInfo(Long warehouseId, Long customerId, String mode);
  161. /**
  162. * bi库存数量
  163. *
  164. * @return
  165. */
  166. public Map<String, Object> biStockCount(Long warehouseId, Long customerId, String mode);
  167. /**
  168. * bi大屏毛重概况
  169. *
  170. * @return
  171. */
  172. public Map<String, Object> biWeightInfo(Long warehouseId, Long customerId, String mode);
  173. /**
  174. * bi大屏最大库龄
  175. *
  176. * @return
  177. */
  178. public Map<String, Object> biMaxStockDays(Long warehouseId, Long customerId);
  179. /**
  180. * bi大屏库龄概况
  181. *
  182. * @return
  183. */
  184. public List<Map<String, Object>> biStockDaysInfo(Long warehouseId, Long customerId);
  185. }