|
|
@ -53,6 +53,8 @@ public class BigScreenController extends BaseController {
|
|
|
|
private final MetaFishingBoatInfoService fishingBoatInfoService;
|
|
|
|
private final MetaFishingBoatInfoService fishingBoatInfoService;
|
|
|
|
private final DevopsVideoInfoService videoInfoService;
|
|
|
|
private final DevopsVideoInfoService videoInfoService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final BoatUserInfoService boatUserInfoService;
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/overviewResources")
|
|
|
|
@PostMapping("/overviewResources")
|
|
|
|
@ApiOperation("资源概况")
|
|
|
|
@ApiOperation("资源概况")
|
|
|
|
public AjaxResult overviewResources() {
|
|
|
|
public AjaxResult overviewResources() {
|
|
|
@ -263,13 +265,15 @@ public class BigScreenController extends BaseController {
|
|
|
|
int portCount = portInfoService.count();
|
|
|
|
int portCount = portInfoService.count();
|
|
|
|
//渔船
|
|
|
|
//渔船
|
|
|
|
int fishingBoatCount = fishingBoatInfoService.count();
|
|
|
|
int fishingBoatCount = fishingBoatInfoService.count();
|
|
|
|
|
|
|
|
//船员
|
|
|
|
|
|
|
|
int count = boatUserInfoService.count();
|
|
|
|
|
|
|
|
|
|
|
|
//港口
|
|
|
|
//港口
|
|
|
|
bean.setGkCount(StringKit.toString(portCount));
|
|
|
|
bean.setGkCount(StringKit.toString(portCount));
|
|
|
|
//码头
|
|
|
|
//码头
|
|
|
|
bean.setMtCount(StringKit.toString(wharfCount));
|
|
|
|
bean.setMtCount(StringKit.toString(wharfCount));
|
|
|
|
//船只
|
|
|
|
//船只
|
|
|
|
bean.setCzCount(StringKit.toString(fishingBoatCount));
|
|
|
|
bean.setCzCount(StringKit.toString(count));
|
|
|
|
//船员
|
|
|
|
//船员
|
|
|
|
bean.setCyCount(StringKit.toString("121"));
|
|
|
|
bean.setCyCount(StringKit.toString("121"));
|
|
|
|
|
|
|
|
|
|
|
|