From 3f4f50d7d285257d21a7e371536cd467090180b1 Mon Sep 17 00:00:00 2001 From: Angel <1050374295@qq.com> Date: Mon, 26 Feb 2024 17:09:12 +0800 Subject: [PATCH] DDDDD---BINGTU,BOATUSER --- .../com/ruoyi/business/controller/BigScreenController.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gather-app/src/main/java/com/ruoyi/business/controller/BigScreenController.java b/gather-app/src/main/java/com/ruoyi/business/controller/BigScreenController.java index bfab1ea..d9cbd2a 100644 --- a/gather-app/src/main/java/com/ruoyi/business/controller/BigScreenController.java +++ b/gather-app/src/main/java/com/ruoyi/business/controller/BigScreenController.java @@ -53,6 +53,8 @@ public class BigScreenController extends BaseController { private final MetaFishingBoatInfoService fishingBoatInfoService; private final DevopsVideoInfoService videoInfoService; + private final BoatUserInfoService boatUserInfoService; + @PostMapping("/overviewResources") @ApiOperation("资源概况") public AjaxResult overviewResources() { @@ -263,13 +265,15 @@ public class BigScreenController extends BaseController { int portCount = portInfoService.count(); //渔船 int fishingBoatCount = fishingBoatInfoService.count(); + //船员 + int count = boatUserInfoService.count(); //港口 bean.setGkCount(StringKit.toString(portCount)); //码头 bean.setMtCount(StringKit.toString(wharfCount)); //船只 - bean.setCzCount(StringKit.toString(fishingBoatCount)); + bean.setCzCount(StringKit.toString(count)); //船员 bean.setCyCount(StringKit.toString("121"));