|
@@ -92,4 +92,40 @@ public class TWhgenlegController extends BaseController {
|
|
|
public AjaxResult remove(@PathVariable Long[] fAccyears) {
|
|
|
return toAjax(tWhgenlegService.deleteTWhgenlegByIds(fAccyears));
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 统计图 商品 库存结余数 前五名
|
|
|
+ */
|
|
|
+ @PreAuthorize("@ss.hasPermi('warehouseBusiness:whgenleg:list')")
|
|
|
+ @GetMapping("/goodsList")
|
|
|
+ public TableDataInfo goodsList() {
|
|
|
+ startPage();
|
|
|
+ List<Map<String, Object>> list = tWhgenlegService.selectGoodsList();
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 统计图 仓库 物品结余数量
|
|
|
+ */
|
|
|
+ @PreAuthorize("@ss.hasPermi('warehouseBusiness:whgenleg:list')")
|
|
|
+ @GetMapping("/wareHouseList")
|
|
|
+ public TableDataInfo wareHouseList() {
|
|
|
+ startPage();
|
|
|
+ List<Map<String, Object>> list = tWhgenlegService.selectWareHouseList();
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 统计图 客户 库存结余数 前七名客户
|
|
|
+ */
|
|
|
+ @PreAuthorize("@ss.hasPermi('warehouseBusiness:whgenleg:list')")
|
|
|
+ @GetMapping("/corpsList")
|
|
|
+ public TableDataInfo corpsList() {
|
|
|
+ startPage();
|
|
|
+ List<Map<String, Object>> list = tWhgenlegService.selectCorpsList();
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|