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"));