cy
2023-11-28 39d3384ea41fef9421a3a55114a9fa0b9c744abf
consum-base/src/main/java/com/consum/base/controller/LWhHomeStatisticsController.java
@@ -42,4 +42,13 @@
        List<Map<String, Object>> goodsNumPrice = lWhGoodsService.getGoodsNumPrice(Convert.toLong(tenantId, 0l));
        return ResponseValue.success(goodsNumPrice.get(0));
    }
    @GetMapping("getGoodsNumByMonth")
    public ResponseValue getGoodsNumByMonth() {
        /*当前登录人只能看到自己机构下的列表*/
        FinSysTenantUser sysInfo = this.getSysInfo();
        String tenantId = sysInfo.getTenantId();
        List<Map<String, Object>> goodsNumPrice = lWhGoodsService.getGoodsNumByMonth(Convert.toLong(tenantId, 0l));
        return ResponseValue.success(goodsNumPrice);
    }
}