From 742a02926ee277528a99de068b3b0349cb1e104a Mon Sep 17 00:00:00 2001 From: mashuai Date: Sat, 2 Dec 2023 11:11:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-modules/zlpt-bigScreen/pom.xml | 33 +++++++ .../bigscreen/ZlptBigScreenApplication.java | 25 +++++ .../controller/BmCompanyInfoController.java | 64 ++++++++++++ .../controller/BmMachinistInfoController.java | 55 +++++++++++ .../controller/MaDevInfoController.java | 98 +++++++++++++++++++ .../controller/MaLeaseInfoController.java | 42 ++++++++ .../controller/MaOrderInfoController.java | 53 ++++++++++ .../zlpt/bigscreen/domain/BmCompanyInfo.java | 24 +++++ .../bigscreen/domain/BmMachinistInfo.java | 39 ++++++++ .../zlpt/bigscreen/domain/GpsRealInfo.java | 26 +++++ .../zlpt/bigscreen/domain/MaDevInfo.java | 36 +++++++ .../zlpt/bigscreen/domain/MaHotSearch.java | 18 ++++ .../zlpt/bigscreen/domain/MaLeaseInfo.java | 27 +++++ .../zlpt/bigscreen/domain/MaOrderInfo.java | 31 ++++++ .../zlpt/bigscreen/domain/MaTypeInfo.java | 26 +++++ .../zlpt/bigscreen/domain/vo/CoTypeVo.java | 11 +++ .../zlpt/bigscreen/domain/vo/ColtdTypeVo.java | 25 +++++ .../bigscreen/domain/vo/CompanyInfoVo.java | 31 ++++++ .../zlpt/bigscreen/domain/vo/MaDevVo.java | 10 ++ .../bigscreen/domain/vo/MaLeaseInfoVo.java | 10 ++ .../bigscreen/domain/vo/MaOrderInfoVo.java | 14 +++ .../zlpt/bigscreen/domain/vo/MaOrderVo.java | 10 ++ .../zlpt/bigscreen/domain/vo/TypeVo.java | 10 ++ .../bigscreen/mapper/BmCompanyInfoMapper.java | 39 ++++++++ .../mapper/BmMachinistInfoMapper.java | 24 +++++ .../bigscreen/mapper/MaDevInfoMapper.java | 61 ++++++++++++ .../bigscreen/mapper/MaLeaseInfoMapper.java | 25 +++++ .../bigscreen/mapper/MaOrderInfoMapper.java | 33 +++++++ .../service/BmCompanyInfoService.java | 37 +++++++ .../service/BmMachinistInfoService.java | 22 +++++ .../bigscreen/service/MaDevInfoService.java | 59 +++++++++++ .../bigscreen/service/MaLeaseInfoService.java | 23 +++++ .../bigscreen/service/MaOrderInfoService.java | 31 ++++++ .../impl/BmCompanyInfoServiceImpl.java | 52 ++++++++++ .../impl/BmMachinistInfoServiceImpl.java | 32 ++++++ .../service/impl/MaDevInfoServiceImpl.java | 83 ++++++++++++++++ .../service/impl/MaLeaseInfoServiceImpl.java | 33 +++++++ .../service/impl/MaOrderInfoServiceImpl.java | 44 +++++++++ .../src/main/resources/banner.txt | 10 ++ .../src/main/resources/bootstrap.yml | 27 +++++ .../src/main/resources/logback.xml | 74 ++++++++++++++ .../mapper.bigscreen/BmCompanyInfoMapper.xml | 36 +++++++ .../BmMachinistInfoMapper.xml | 14 +++ .../mapper.bigscreen/MaDevInfoMapper.xml | 53 ++++++++++ .../mapper.bigscreen/MaLeaseInfoMapper.xml | 13 +++ .../mapper.bigscreen/MaOrderInfoMapper.xml | 35 +++++++ 46 files changed, 1578 insertions(+) create mode 100644 sgzb-modules/zlpt-bigScreen/pom.xml create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/ZlptBigScreenApplication.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/BmCompanyInfoController.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/BmMachinistInfoController.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaDevInfoController.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaLeaseInfoController.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaOrderInfoController.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/BmCompanyInfo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/BmMachinistInfo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/GpsRealInfo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaDevInfo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaHotSearch.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaLeaseInfo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaOrderInfo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaTypeInfo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/CoTypeVo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/ColtdTypeVo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/CompanyInfoVo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaDevVo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaLeaseInfoVo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaOrderInfoVo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaOrderVo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/TypeVo.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/BmCompanyInfoMapper.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/BmMachinistInfoMapper.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaDevInfoMapper.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaLeaseInfoMapper.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaOrderInfoMapper.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/BmCompanyInfoService.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/BmMachinistInfoService.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaDevInfoService.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaLeaseInfoService.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaOrderInfoService.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmCompanyInfoServiceImpl.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmMachinistInfoServiceImpl.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaDevInfoServiceImpl.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaLeaseInfoServiceImpl.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaOrderInfoServiceImpl.java create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/resources/banner.txt create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/resources/bootstrap.yml create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/resources/logback.xml create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/BmCompanyInfoMapper.xml create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/BmMachinistInfoMapper.xml create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaDevInfoMapper.xml create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaLeaseInfoMapper.xml create mode 100644 sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaOrderInfoMapper.xml diff --git a/sgzb-modules/zlpt-bigScreen/pom.xml b/sgzb-modules/zlpt-bigScreen/pom.xml new file mode 100644 index 0000000..978a589 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/pom.xml @@ -0,0 +1,33 @@ + + + + sgzb-modules + com.bonus.sgzb + 3.6.3 + + 4.0.0 + + zlpt-bigScreen + + + com.bonus.sgzb + sgzb-common-security + + + com.bonus.sgzb + sgzb-common-swagger + + + org.projectlombok + lombok + + + + + 8 + 8 + + + \ No newline at end of file diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/ZlptBigScreenApplication.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/ZlptBigScreenApplication.java new file mode 100644 index 0000000..6bed5c9 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/ZlptBigScreenApplication.java @@ -0,0 +1,25 @@ +package com.bonus.zlpt.bigscreen; + +import com.bonus.sgzb.common.security.annotation.EnableCustomConfig; +import com.bonus.sgzb.common.security.annotation.EnableRyFeignClients; +import com.bonus.sgzb.common.swagger.annotation.EnableCustomSwagger2; +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * 大屏模块 + */ +@EnableCustomConfig +@EnableCustomSwagger2 +@EnableRyFeignClients +@SpringBootApplication +@MapperScan("com.bonus.zlpt.bigscreen.mapper") +public class ZlptBigScreenApplication +{ + public static void main(String[] args) + { + SpringApplication.run(ZlptBigScreenApplication.class, args); + System.out.println("(♥◠‿◠)ノ゙ 大屏模块启动成功 ლ(´ڡ`ლ)゙ \n" ); + } +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/BmCompanyInfoController.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/BmCompanyInfoController.java new file mode 100644 index 0000000..1ed9bdb --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/BmCompanyInfoController.java @@ -0,0 +1,64 @@ +package com.bonus.zlpt.bigscreen.controller; + +import com.bonus.sgzb.common.core.web.controller.BaseController; +import com.bonus.sgzb.common.core.web.domain.AjaxResult; +import com.bonus.zlpt.bigscreen.domain.BmCompanyInfo; +import com.bonus.zlpt.bigscreen.domain.MaDevInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.ColtdTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.TypeVo; +import com.bonus.zlpt.bigscreen.service.BmCompanyInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 企业信息表(BmCompanyInfo)表控制层 + * + * @author makejava + * @since 2023-11-30 15:01:48 + */ +@RestController +@RequestMapping("bmCompanyInfo") +public class BmCompanyInfoController extends BaseController { + /** + * 服务对象 + */ + @Autowired + private BmCompanyInfoService bmCompanyInfoService; + + /** + * 查询平台入驻单位 + * @return + */ + @GetMapping("/list") + public AjaxResult List() + { + return toAjax(bmCompanyInfoService.selectList()); + } + + /** + * 根据企业类型查询对应数量 + * @param bmCompanyInfo + * @return + */ + @GetMapping("/type-list") + public AjaxResult typeList(BmCompanyInfo bmCompanyInfo) + { + List list = bmCompanyInfoService.selectTypeList(bmCompanyInfo); + return success(list); + } + + /** + * 根据企业类型所属查询设备类型数量及经纬度 + * @return + */ + @GetMapping("/coltd-list") + public AjaxResult coltdList() + { + List list = bmCompanyInfoService.selectColtdList(); + return success(list); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/BmMachinistInfoController.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/BmMachinistInfoController.java new file mode 100644 index 0000000..6ed5047 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/BmMachinistInfoController.java @@ -0,0 +1,55 @@ +package com.bonus.zlpt.bigscreen.controller; + +import com.bonus.sgzb.common.core.web.controller.BaseController; +import com.bonus.sgzb.common.core.web.domain.AjaxResult; +import com.bonus.sgzb.system.api.domain.SysDept; +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; +import com.bonus.zlpt.bigscreen.service.BmMachinistInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.util.List; + +/** + * 机手信息表(BmMachinistInfo)表控制层 + * + * @author makejava + * @since 2023-11-30 12:06:56 + */ +@RestController +@RequestMapping("bmMachinistInfo") +public class BmMachinistInfoController extends BaseController { + /** + * 服务对象 + */ + @Autowired + private BmMachinistInfoService bmMachinistInfoService; + + /** + * 获取企业所属对应的机手数量 + * @return + */ + @GetMapping("/list") + public AjaxResult list() + { + List machinistInfos = bmMachinistInfoService.selectMachinistInfoList(); + return success(machinistInfos); + } + + /** + * 获取企业所属对应的机手总人数 + * @return + */ + @GetMapping("/total-list") + public AjaxResult totalList() + { + List machinistInfos = bmMachinistInfoService.selectMachinistInfoList(); + int totalCount = 0; + for (CompanyInfoVo companyInfo : machinistInfos) { + totalCount += companyInfo.getCount(); + } + return toAjax(totalCount); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaDevInfoController.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaDevInfoController.java new file mode 100644 index 0000000..491207f --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaDevInfoController.java @@ -0,0 +1,98 @@ +package com.bonus.zlpt.bigscreen.controller; + +import com.bonus.sgzb.common.core.web.controller.BaseController; +import com.bonus.sgzb.common.core.web.domain.AjaxResult; +import com.bonus.zlpt.bigscreen.domain.MaDevInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.TypeVo; +import com.bonus.zlpt.bigscreen.service.MaDevInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.util.List; + +/** + * 设备信息表(MaDevInfo)表控制层 + * + * @author makejava + * @since 2023-11-30 12:57:58 + */ +@RestController +@RequestMapping("maDevInfo") +public class MaDevInfoController extends BaseController { + /** + * 服务对象 + */ + @Autowired + private MaDevInfoService maDevInfoService; + + /** + * 查询平台入驻设备总数 + * @return + */ + @GetMapping("/list") + public AjaxResult List() + { + return toAjax(maDevInfoService.selectList()); + } + + /** + * 根据类型查询设备总数 + * @param maDevInfo + * @return + */ + @GetMapping("/type-list") + public AjaxResult typeList(MaDevInfo maDevInfo) + { + List list = maDevInfoService.selectTypeList(maDevInfo); + return success(list); + } + + /** + * 根据设备类型查询数量 + * @param maDevInfo + * @return + */ + @GetMapping("/matype-list") + public AjaxResult maTypeList(MaDevInfo maDevInfo) + { + List list = maDevInfoService.selectMaTypeList(maDevInfo); + return success(list); + } + + /** + * 获取企业所属设备状态为自有的设备数量 + * @return + */ + @GetMapping("/company-list") + public AjaxResult companyList() + { + List maDevInfos = maDevInfoService.selectMaDevInfoList(); + return success(maDevInfos); + } + + /** + * 查询设备状态为在租的设备名称及数量 + * @return + */ + @GetMapping("/ma-list") + public AjaxResult maList(MaDevInfo maDevInfo) + { + List maDevInfos = maDevInfoService.selectmaList(maDevInfo); + return success(maDevInfos); + } + + /** + * 查询公司对应的热门设备数量 + * @return + */ + @GetMapping("/hot-list") + public AjaxResult maList() + { + List maHotInfos = maDevInfoService.selecthotList(); + return success(maHotInfos); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaLeaseInfoController.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaLeaseInfoController.java new file mode 100644 index 0000000..66b241d --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaLeaseInfoController.java @@ -0,0 +1,42 @@ +package com.bonus.zlpt.bigscreen.controller; + +import com.bonus.sgzb.common.core.web.controller.BaseController; +import com.bonus.sgzb.common.core.web.domain.AjaxResult; +import com.bonus.zlpt.bigscreen.domain.MaDevInfo; +import com.bonus.zlpt.bigscreen.domain.MaLeaseInfo; +import com.bonus.zlpt.bigscreen.domain.vo.MaLeaseInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.TypeVo; +import com.bonus.zlpt.bigscreen.service.MaLeaseInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 租赁信息表(MaLeaseInfo)表控制层 + * + * @author makejava + * @since 2023-11-30 15:55:23 + */ +@RestController +@RequestMapping("maLeaseInfo") +public class MaLeaseInfoController extends BaseController { + /** + * 服务对象 + */ + @Autowired + private MaLeaseInfoService maLeaseInfoService; + + /** + * 根据求出租信息查询对应的数量 + * @param maLeaseInfo + * @return + */ + @GetMapping("/type-list") + public AjaxResult typeList(MaLeaseInfo maLeaseInfo) + { + List list = maLeaseInfoService.selectTypeList(maLeaseInfo); + return success(list); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaOrderInfoController.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaOrderInfoController.java new file mode 100644 index 0000000..659315f --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/controller/MaOrderInfoController.java @@ -0,0 +1,53 @@ +package com.bonus.zlpt.bigscreen.controller; + +import com.bonus.sgzb.common.core.web.controller.BaseController; +import com.bonus.sgzb.common.core.web.domain.AjaxResult; +import com.bonus.zlpt.bigscreen.domain.MaOrderInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.MaOrderInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.MaOrderVo; +import com.bonus.zlpt.bigscreen.service.MaOrderInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * 订单信息表(MaOrderInfo)表控制层 + * + * @author makejava + * @since 2023-11-30 13:14:19 + */ +@RestController +@RequestMapping("maOrderInfo") +public class MaOrderInfoController extends BaseController { + /** + * 服务对象 + */ + @Autowired + private MaOrderInfoService maOrderInfoService; + + /** + * 获取每个月对应的订单数量 + * @return + */ + @GetMapping("/list") + public AjaxResult list(MaOrderInfo maOrderInfo) + { + List machinistInfos = maOrderInfoService.selectMaOrderInfoList(maOrderInfo); + return success(machinistInfos); + } + + /** + * 查询今日订单额以及订单数量 + * @param maOrderInfo + * @return + */ + @GetMapping("/today-list") + public AjaxResult todayList(MaOrderInfo maOrderInfo) + { + List maOrderInfos = maOrderInfoService.selectTodayList(maOrderInfo); + return success(maOrderInfos); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/BmCompanyInfo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/BmCompanyInfo.java new file mode 100644 index 0000000..45812bc --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/BmCompanyInfo.java @@ -0,0 +1,24 @@ +package com.bonus.zlpt.bigscreen.domain; + + +/** + * 企业信息表(BmCompanyInfo)表实体类 + * + * @author makejava + * @since 2023-11-30 15:01:48 + */ +public class BmCompanyInfo { + //企业id + private Integer coId; + + //企业名称 + private String coName; + + //企业类型(社会企业,南网集团企业,南网控股企业) + private String coType; + + //企业所属(广东电网、广西电网、贵州电网、云南电网、海南电网、储能公司、深圳供电局、超高压公司) + private String coLtd; + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/BmMachinistInfo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/BmMachinistInfo.java new file mode 100644 index 0000000..894438e --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/BmMachinistInfo.java @@ -0,0 +1,39 @@ +package com.bonus.zlpt.bigscreen.domain; + +import com.bonus.sgzb.common.core.annotation.Excel; + +/** + * 机手信息表(BmMachinistInfo)表实体类 + * + * @author makejava + * @since 2023-11-30 12:06:56 + */ + +@SuppressWarnings("serial") +public class BmMachinistInfo { + //机手ID + @Excel(name = "机手ID") + private Integer stId; + + //机手名称 + @Excel(name = "机手名称") + private String stName; + + //性别 + @Excel(name = "性别") + private String sex; + + //身份证 + @Excel(name = "身份证") + private String idNumber; + + //联系方式 + @Excel(name = "联系方式") + private String telphone; + + //所属企业 + @Excel(name = "所属企业") + private String ownCo; + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/GpsRealInfo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/GpsRealInfo.java new file mode 100644 index 0000000..9a62bc8 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/GpsRealInfo.java @@ -0,0 +1,26 @@ +package com.bonus.zlpt.bigscreen.domain; + +import com.bonus.sgzb.common.core.annotation.Excel; + +public class GpsRealInfo { + + //gps_id + @Excel(name = "gps_id") + private Integer gpsId; + + //gps编号 + @Excel(name = "gps编号") + private String gpsCode; + + //经度 + @Excel(name = "经度") + private String lon; + + //维度 + @Excel(name = "维度") + private String lat; + + //电量 + @Excel(name = "电量") + private String elec; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaDevInfo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaDevInfo.java new file mode 100644 index 0000000..82d73e7 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaDevInfo.java @@ -0,0 +1,36 @@ +package com.bonus.zlpt.bigscreen.domain; + +import com.bonus.sgzb.common.core.annotation.Excel; + +/** + * 设备信息表(MaDevInfo)表实体类 + * + * @author makejava + * @since 2023-11-30 12:57:58 + */ + +@SuppressWarnings("serial") +public class MaDevInfo { + + //设备id + @Excel(name = "设备id") + private Integer maId; + + //类型id + @Excel(name = "类型id") + private Integer typeId; + + //gps编号 + @Excel(name = "gps编号") + private String gpsCode; + + //设备所属公司 + @Excel(name = "设备所属公司") + private String ownCo; + + //设备状态 + @Excel(name = "设备状态") + private String maStatus; + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaHotSearch.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaHotSearch.java new file mode 100644 index 0000000..84654a5 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaHotSearch.java @@ -0,0 +1,18 @@ +package com.bonus.zlpt.bigscreen.domain; + +import com.bonus.sgzb.common.core.annotation.Excel; + +public class MaHotSearch { + + //热搜id + @Excel(name = "热搜id") + private int id; + + //设备id + @Excel(name = "设备id") + private String maId; + + //浏览次数 + @Excel(name = "浏览次数") + private String searchNum; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaLeaseInfo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaLeaseInfo.java new file mode 100644 index 0000000..f85968b --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaLeaseInfo.java @@ -0,0 +1,27 @@ +package com.bonus.zlpt.bigscreen.domain; + +import com.bonus.sgzb.common.core.annotation.Excel; + +/** + * 租赁信息表(MaLeaseInfo)表实体类 + * + * @author makejava + * @since 2023-11-30 15:55:24 + */ +@SuppressWarnings("serial") +public class MaLeaseInfo { + + //租赁id + @Excel(name = "租赁id") + private Integer id; + + //出租信息 + @Excel(name = "出租信息") + private Integer czNum; + + //求租信息 + @Excel(name = "求租信息") + private Integer qzNum; + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaOrderInfo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaOrderInfo.java new file mode 100644 index 0000000..86277b9 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaOrderInfo.java @@ -0,0 +1,31 @@ +package com.bonus.zlpt.bigscreen.domain; + +import com.bonus.sgzb.common.core.annotation.Excel; + +/** + * 订单信息表(MaOrderInfo)表实体类 + * + * @author makejava + * @since 2023-11-30 13:14:19 + */ + +@SuppressWarnings("serial") +public class MaOrderInfo { + //订单id + @Excel(name = "订单id") + private Integer id; + + //订单编号 + @Excel(name = "订单编号") + private String code; + + //订单日期 + @Excel(name = "订单日期") + private String time; + + //订单金额 + @Excel(name = "订单金额") + private String money; + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaTypeInfo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaTypeInfo.java new file mode 100644 index 0000000..7052e88 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/MaTypeInfo.java @@ -0,0 +1,26 @@ +package com.bonus.zlpt.bigscreen.domain; + +import com.bonus.sgzb.common.core.annotation.Excel; + +public class MaTypeInfo { + + //类型id + @Excel(name = "类型id") + private String typeId; + + //父级id + @Excel(name = "父级id") + private String parentId; + + //设备名称 + @Excel(name = "设备名称") + private String typeName; + + //层级 + @Excel(name = "层级") + private String level; + + //设备名称 + @Excel(name = "排序") + private String sort; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/CoTypeVo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/CoTypeVo.java new file mode 100644 index 0000000..256d7f3 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/CoTypeVo.java @@ -0,0 +1,11 @@ +package com.bonus.zlpt.bigscreen.domain.vo; + + +public class CoTypeVo +{ + //企业类型 + private String coType; + + //类型数量 + private int count; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/ColtdTypeVo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/ColtdTypeVo.java new file mode 100644 index 0000000..73a2df0 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/ColtdTypeVo.java @@ -0,0 +1,25 @@ +package com.bonus.zlpt.bigscreen.domain.vo; + +/** + * 企业所属返回类 + */ + +public class ColtdTypeVo { + //设备id + private String maId; + + //企业类型所属 + private String companyType; + + //设备状态 + private String maStatus; + + //数量 + private String count; + + //经度 + private String lon; + + //维度 + private String lat; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/CompanyInfoVo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/CompanyInfoVo.java new file mode 100644 index 0000000..3791ec1 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/CompanyInfoVo.java @@ -0,0 +1,31 @@ +package com.bonus.zlpt.bigscreen.domain.vo; + + +/** + * 企业机手返回类 + */ + +public class CompanyInfoVo { + + //所属企业名称 + private String ownCo; + + //机手数量 + private int count; + + public String getOwnCo() { + return ownCo; + } + + public void setOwnCo(String ownCo) { + this.ownCo = ownCo; + } + + public int getCount() { + return count; + } + + public void setCount(int count) { + this.count = count; + } +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaDevVo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaDevVo.java new file mode 100644 index 0000000..cea7dfc --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaDevVo.java @@ -0,0 +1,10 @@ +package com.bonus.zlpt.bigscreen.domain.vo; + +public class MaDevVo { + + //设备名称 + private String maName; + + //设备数量 + private int count; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaLeaseInfoVo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaLeaseInfoVo.java new file mode 100644 index 0000000..206933f --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaLeaseInfoVo.java @@ -0,0 +1,10 @@ +package com.bonus.zlpt.bigscreen.domain.vo; + +public class MaLeaseInfoVo { + + //租赁类型 + private String type; + + //类型数量 + private int count; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaOrderInfoVo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaOrderInfoVo.java new file mode 100644 index 0000000..c0a8609 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaOrderInfoVo.java @@ -0,0 +1,14 @@ +package com.bonus.zlpt.bigscreen.domain.vo; + +/** + * 月份订单返回类 + */ + +public class MaOrderInfoVo { + + //所属月份 + private String month; + + //订单数量 + private int count; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaOrderVo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaOrderVo.java new file mode 100644 index 0000000..19d83c7 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/MaOrderVo.java @@ -0,0 +1,10 @@ +package com.bonus.zlpt.bigscreen.domain.vo; + +public class MaOrderVo +{ + //今日订单数量 + private int count; + + //累计订单金额 + private String money; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/TypeVo.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/TypeVo.java new file mode 100644 index 0000000..8b0e33e --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/domain/vo/TypeVo.java @@ -0,0 +1,10 @@ +package com.bonus.zlpt.bigscreen.domain.vo; + +public class TypeVo { + + //设备状态 + private String maStatus; + + //设备数量 + private int count; +} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/BmCompanyInfoMapper.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/BmCompanyInfoMapper.java new file mode 100644 index 0000000..9a3857b --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/BmCompanyInfoMapper.java @@ -0,0 +1,39 @@ +package com.bonus.zlpt.bigscreen.mapper; + +import com.bonus.zlpt.bigscreen.domain.BmCompanyInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.ColtdTypeVo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 企业信息表(BmCompanyInfo)表数据库访问层 + * + * @author makejava + * @since 2023-11-30 15:01:48 + */ +@Mapper +public interface BmCompanyInfoMapper { + + /** + * 查询平台入驻单位 + * @return + */ + int selectList(); + + /** + * 根据企业类型查询对应数量 + * @param bmCompanyInfo + * @return + */ + List selectTypeList(BmCompanyInfo bmCompanyInfo); + + /** + * 根据企业类型所属查询设备类型数量及经纬度 + * @return + */ + List selectColtdList(); + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/BmMachinistInfoMapper.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/BmMachinistInfoMapper.java new file mode 100644 index 0000000..dcd6ce3 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/BmMachinistInfoMapper.java @@ -0,0 +1,24 @@ +package com.bonus.zlpt.bigscreen.mapper; + +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 机手信息表(BmMachinistInfo)表数据库访问层 + * + * @author makejava + * @since 2023-11-30 12:06:56 + */ +@Mapper +public interface BmMachinistInfoMapper { + + /** + * 获取企业对应的机手数量 + * @return + */ + List selectMachinistInfoList(); + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaDevInfoMapper.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaDevInfoMapper.java new file mode 100644 index 0000000..eec4275 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaDevInfoMapper.java @@ -0,0 +1,61 @@ +package com.bonus.zlpt.bigscreen.mapper; + +import com.bonus.zlpt.bigscreen.domain.MaDevInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.ColtdTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.TypeVo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 设备信息表(MaDevInfo)表数据库访问层 + * + * @author makejava + * @since 2023-11-30 12:57:58 + */ +@Mapper +public interface MaDevInfoMapper { + + /** + * 获取企业所属设备状态为自有的设备数量 + * @return + */ + List selectMaDevInfoList(); + + /** + * 查询设备状态为在租的设备名称及数量 + * @param maDevInfo + * @return + */ + List selectmaList(MaDevInfo maDevInfo); + + /** + * 查询平台入驻设备总数 + * @return + */ + int selectList(); + + /** + * 根据类型查询设备总数 + * @param maDevInfo + * @return + */ + List selectTypeList(MaDevInfo maDevInfo); + + /** + * 根据设备类型查询数量 + * @param maDevInfo + * @return + */ + List selectMaTypeList(MaDevInfo maDevInfo); + + /** + * 查询公司对应的热门设备数量 + * @return + */ + List selecthotList(); + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaLeaseInfoMapper.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaLeaseInfoMapper.java new file mode 100644 index 0000000..ca9a1c6 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaLeaseInfoMapper.java @@ -0,0 +1,25 @@ +package com.bonus.zlpt.bigscreen.mapper; + +import com.bonus.zlpt.bigscreen.domain.MaLeaseInfo; +import com.bonus.zlpt.bigscreen.domain.vo.MaLeaseInfoVo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 租赁信息表(MaLeaseInfo)表数据库访问层 + * + * @author makejava + * @since 2023-11-30 15:55:23 + */ +@Mapper +public interface MaLeaseInfoMapper { + + /** + * 根据求出租信息查询对应的数量 + * @param maLeaseInfo + * @return + */ + List selectTypeList(MaLeaseInfo maLeaseInfo); +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaOrderInfoMapper.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaOrderInfoMapper.java new file mode 100644 index 0000000..0785b25 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/mapper/MaOrderInfoMapper.java @@ -0,0 +1,33 @@ +package com.bonus.zlpt.bigscreen.mapper; + +import com.bonus.zlpt.bigscreen.domain.MaOrderInfo; +import com.bonus.zlpt.bigscreen.domain.vo.MaOrderInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.MaOrderVo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** + * 订单信息表(MaOrderInfo)表数据库访问层 + * + * @author makejava + * @since 2023-11-30 13:14:19 + */ +@Mapper +public interface MaOrderInfoMapper { + + /** + * 获取每个月对应的订单数量 + * @param maOrderInfo + * @return + */ + List selectMaOrderInfoList(MaOrderInfo maOrderInfo); + + /** + * 查询今日订单额以及订单数量 + * @param maOrderInfo + * @return + */ + List selecttodayList(MaOrderInfo maOrderInfo); +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/BmCompanyInfoService.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/BmCompanyInfoService.java new file mode 100644 index 0000000..bff1766 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/BmCompanyInfoService.java @@ -0,0 +1,37 @@ +package com.bonus.zlpt.bigscreen.service; + + +import com.bonus.zlpt.bigscreen.domain.BmCompanyInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.ColtdTypeVo; + +import java.util.List; + +/** + * 企业信息表(BmCompanyInfo)表服务接口 + * + * @author makejava + * @since 2023-11-30 15:01:48 + */ +public interface BmCompanyInfoService { + + /** + * 查询平台入驻单位 + * @return + */ + int selectList(); + + /** + * 根据企业类型查询对应数量 + * @param bmCompanyInfo + * @return + */ + List selectTypeList(BmCompanyInfo bmCompanyInfo); + + /** + * 根据企业类型所属查询设备类型数量及经纬度 + * @return + */ + List selectColtdList(); +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/BmMachinistInfoService.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/BmMachinistInfoService.java new file mode 100644 index 0000000..73b9332 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/BmMachinistInfoService.java @@ -0,0 +1,22 @@ +package com.bonus.zlpt.bigscreen.service; + +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; + +import java.util.List; + +/** + * 机手信息表(BmMachinistInfo)表服务接口 + * + * @author makejava + * @since 2023-11-30 12:06:58 + */ +public interface BmMachinistInfoService { + + /** + * 获取企业对应的机手数量 + * @return + */ + List selectMachinistInfoList(); + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaDevInfoService.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaDevInfoService.java new file mode 100644 index 0000000..da73d42 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaDevInfoService.java @@ -0,0 +1,59 @@ +package com.bonus.zlpt.bigscreen.service; + +import com.bonus.sgzb.common.core.web.domain.AjaxResult; +import com.bonus.zlpt.bigscreen.domain.MaDevInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.TypeVo; + +import java.util.List; + +/** + * 设备信息表(MaDevInfo)表服务接口 + * + * @author makejava + * @since 2023-11-30 12:57:59 + */ +public interface MaDevInfoService { + + /** + * 获取企业所属设备状态为自有的设备数量 + * @return + */ + List selectMaDevInfoList(); + + /** + * 查询设备状态为在租的设备名称及数量 + * @param maDevInfo + * @return + */ + List selectmaList(MaDevInfo maDevInfo); + + /** + * 查询平台入驻设备总数 + * @return + */ + int selectList(); + + /** + * 根据类型查询设备总数 + * @param maDevInfo + * @return + */ + List selectTypeList(MaDevInfo maDevInfo); + + /** + * 根据设备类型查询数量 + * @param maDevInfo + * @return + */ + List selectMaTypeList(MaDevInfo maDevInfo); + + /** + * 查询公司对应的热门设备数量 + * @return + */ + List selecthotList(); + +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaLeaseInfoService.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaLeaseInfoService.java new file mode 100644 index 0000000..b1d946b --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaLeaseInfoService.java @@ -0,0 +1,23 @@ +package com.bonus.zlpt.bigscreen.service; + +import com.bonus.zlpt.bigscreen.domain.MaLeaseInfo; +import com.bonus.zlpt.bigscreen.domain.vo.MaLeaseInfoVo; + +import java.util.List; + +/** + * 租赁信息表(MaLeaseInfo)表服务接口 + * + * @author makejava + * @since 2023-11-30 15:55:24 + */ +public interface MaLeaseInfoService { + + /** + * 根据求出租信息查询对应的数量 + * @param maLeaseInfo + * @return + */ + List selectTypeList(MaLeaseInfo maLeaseInfo); +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaOrderInfoService.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaOrderInfoService.java new file mode 100644 index 0000000..43677e8 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/MaOrderInfoService.java @@ -0,0 +1,31 @@ +package com.bonus.zlpt.bigscreen.service; + +import com.bonus.zlpt.bigscreen.domain.MaOrderInfo; +import com.bonus.zlpt.bigscreen.domain.vo.MaOrderInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.MaOrderVo; + +import java.util.List; + +/** + * 订单信息表(MaOrderInfo)表服务接口 + * + * @author makejava + * @since 2023-11-30 13:14:19 + */ +public interface MaOrderInfoService { + + /** + * 获取每个月对应的订单数量 + * @param maOrderInfo + * @return + */ + List selectMaOrderInfoList(MaOrderInfo maOrderInfo); + + /** + * 查询今日订单额以及订单数量 + * @param maOrderInfo + * @return + */ + List selectTodayList(MaOrderInfo maOrderInfo); +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmCompanyInfoServiceImpl.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmCompanyInfoServiceImpl.java new file mode 100644 index 0000000..a5430a1 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmCompanyInfoServiceImpl.java @@ -0,0 +1,52 @@ +package com.bonus.zlpt.bigscreen.service.impl; + +import com.bonus.zlpt.bigscreen.domain.BmCompanyInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.ColtdTypeVo; +import com.bonus.zlpt.bigscreen.mapper.BmCompanyInfoMapper; +import com.bonus.zlpt.bigscreen.service.BmCompanyInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 企业信息表(BmCompanyInfo)表服务实现类 + * + * @author makejava + * @since 2023-11-30 15:01:48 + */ +@Service("bmCompanyInfoService") +public class BmCompanyInfoServiceImpl implements BmCompanyInfoService { + + @Autowired + private BmCompanyInfoMapper bmCompanyInfoMapper; + /** + * 查询平台入驻单位 + * @return + */ + @Override + public int selectList() { + return bmCompanyInfoMapper.selectList(); + } + + /** + * 根据企业类型查询对应数量 + * @param bmCompanyInfo + * @return + */ + @Override + public List selectTypeList(BmCompanyInfo bmCompanyInfo) { + return bmCompanyInfoMapper.selectTypeList(bmCompanyInfo); + } + + /** + * 根据企业类型所属查询设备类型数量及经纬度 + * @return + */ + @Override + public List selectColtdList() { + return bmCompanyInfoMapper.selectColtdList(); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmMachinistInfoServiceImpl.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmMachinistInfoServiceImpl.java new file mode 100644 index 0000000..79232f9 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/BmMachinistInfoServiceImpl.java @@ -0,0 +1,32 @@ +package com.bonus.zlpt.bigscreen.service.impl; + +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; +import com.bonus.zlpt.bigscreen.mapper.BmMachinistInfoMapper; +import com.bonus.zlpt.bigscreen.service.BmMachinistInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 机手信息表(BmMachinistInfo)表服务实现类 + * + * @author makejava + * @since 2023-11-30 12:06:58 + */ +@Service("bmMachinistInfoService") +public class BmMachinistInfoServiceImpl implements BmMachinistInfoService { + + @Autowired + private BmMachinistInfoMapper infoMapper; + + /** + * 获取企业对应的机手数量 + * @return + */ + @Override + public List selectMachinistInfoList() { + return infoMapper.selectMachinistInfoList(); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaDevInfoServiceImpl.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaDevInfoServiceImpl.java new file mode 100644 index 0000000..da03213 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaDevInfoServiceImpl.java @@ -0,0 +1,83 @@ +package com.bonus.zlpt.bigscreen.service.impl; + +import com.bonus.zlpt.bigscreen.domain.MaDevInfo; +import com.bonus.zlpt.bigscreen.domain.vo.CoTypeVo; +import com.bonus.zlpt.bigscreen.domain.vo.CompanyInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.TypeVo; +import com.bonus.zlpt.bigscreen.mapper.MaDevInfoMapper; +import com.bonus.zlpt.bigscreen.service.MaDevInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 设备信息表(MaDevInfo)表服务实现类 + * + * @author makejava + * @since 2023-11-30 12:57:59 + */ +@Service("maDevInfoService") +public class MaDevInfoServiceImpl implements MaDevInfoService { + + @Autowired + private MaDevInfoMapper maDevInfoMapper; + + /** + * 获取企业所属设备状态为自有的设备数量 + * @return + */ + @Override + public List selectMaDevInfoList() { + return maDevInfoMapper.selectMaDevInfoList(); + } + + /** + * 查询设备状态为在租的设备名称及数量 + * @param maDevInfo + * @return + */ + @Override + public List selectmaList(MaDevInfo maDevInfo) { + return maDevInfoMapper.selectmaList(maDevInfo); + } + + /** + * 查询平台入驻设备总数 + * @return + */ + @Override + public int selectList() { + return maDevInfoMapper.selectList(); + } + + /** + * 根据类型查询设备总数 + * @param maDevInfo + * @return + */ + @Override + public List selectTypeList(MaDevInfo maDevInfo) { + return maDevInfoMapper.selectTypeList(maDevInfo); + } + + /** + * 根据设备类型查询数量 + * @param maDevInfo + * @return + */ + @Override + public List selectMaTypeList(MaDevInfo maDevInfo) { + return maDevInfoMapper.selectMaTypeList(maDevInfo); + } + + /** + * 查询公司对应的热门设备数量 + * @return + */ + @Override + public List selecthotList() { + return maDevInfoMapper.selecthotList(); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaLeaseInfoServiceImpl.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaLeaseInfoServiceImpl.java new file mode 100644 index 0000000..14b7473 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaLeaseInfoServiceImpl.java @@ -0,0 +1,33 @@ +package com.bonus.zlpt.bigscreen.service.impl; + +import com.bonus.zlpt.bigscreen.domain.MaLeaseInfo; +import com.bonus.zlpt.bigscreen.domain.vo.MaLeaseInfoVo; +import com.bonus.zlpt.bigscreen.mapper.MaLeaseInfoMapper; +import com.bonus.zlpt.bigscreen.service.MaLeaseInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 租赁信息表(MaLeaseInfo)表服务实现类 + * + * @author makejava + * @since 2023-11-30 15:55:24 + */ +@Service("maLeaseInfoService") +public class MaLeaseInfoServiceImpl implements MaLeaseInfoService { + + @Autowired + private MaLeaseInfoMapper leaseInfoMapper; + /** + * 根据求出租信息查询对应的数量 + * @param maLeaseInfo + * @return + */ + @Override + public List selectTypeList(MaLeaseInfo maLeaseInfo) { + return leaseInfoMapper.selectTypeList(maLeaseInfo); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaOrderInfoServiceImpl.java b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaOrderInfoServiceImpl.java new file mode 100644 index 0000000..74bf8f6 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/java/com/bonus/zlpt/bigscreen/service/impl/MaOrderInfoServiceImpl.java @@ -0,0 +1,44 @@ +package com.bonus.zlpt.bigscreen.service.impl; + +import com.bonus.zlpt.bigscreen.domain.MaOrderInfo; +import com.bonus.zlpt.bigscreen.domain.vo.MaOrderInfoVo; +import com.bonus.zlpt.bigscreen.domain.vo.MaOrderVo; +import com.bonus.zlpt.bigscreen.mapper.MaOrderInfoMapper; +import com.bonus.zlpt.bigscreen.service.MaOrderInfoService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * 订单信息表(MaOrderInfo)表服务实现类 + * + * @author makejava + * @since 2023-11-30 13:14:19 + */ +@Service("maOrderInfoService") +public class MaOrderInfoServiceImpl implements MaOrderInfoService { + + @Autowired + private MaOrderInfoMapper maOrderInfoMapper; + /** + * 获取每个月对应的订单数量 + * @param maOrderInfo + * @return + */ + @Override + public List selectMaOrderInfoList(MaOrderInfo maOrderInfo) { + return maOrderInfoMapper.selectMaOrderInfoList(maOrderInfo); + } + + /** + * 查询今日订单额以及订单数量 + * @param maOrderInfo + * @return + */ + @Override + public List selectTodayList(MaOrderInfo maOrderInfo) { + return maOrderInfoMapper.selecttodayList(maOrderInfo); + } +} + diff --git a/sgzb-modules/zlpt-bigScreen/src/main/resources/banner.txt b/sgzb-modules/zlpt-bigScreen/src/main/resources/banner.txt new file mode 100644 index 0000000..fbd45f5 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/resources/banner.txt @@ -0,0 +1,10 @@ +Spring Boot Version: ${spring-boot.version} +Spring Application Name: ${spring.application.name} + _ _ + (_) | | + _ __ _ _ ___ _ _ _ ______ ___ _ _ ___ | |_ ___ _ __ ___ +| '__|| | | | / _ \ | | | || ||______|/ __|| | | |/ __|| __| / _ \| '_ ` _ \ +| | | |_| || (_) || |_| || | \__ \| |_| |\__ \| |_ | __/| | | | | | +|_| \__,_| \___/ \__, ||_| |___/ \__, ||___/ \__| \___||_| |_| |_| + __/ | __/ | + |___/ |___/ \ No newline at end of file diff --git a/sgzb-modules/zlpt-bigScreen/src/main/resources/bootstrap.yml b/sgzb-modules/zlpt-bigScreen/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..b6efb82 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/resources/bootstrap.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 9501 + +# Spring +spring: + application: + # 应用名称 + name: zlpt-bigScreen + profiles: + # 环境配置 + active: zlpt_cloud_dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 192.168.0.14:8848 + namespace: zlpt_cloud_dev + config: + # 配置中心地址 + server-addr: 192.168.0.14:8848 + namespace: zlpt_cloud_dev + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/sgzb-modules/zlpt-bigScreen/src/main/resources/logback.xml b/sgzb-modules/zlpt-bigScreen/src/main/resources/logback.xml new file mode 100644 index 0000000..4cfe0f9 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/resources/logback.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/BmCompanyInfoMapper.xml b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/BmCompanyInfoMapper.xml new file mode 100644 index 0000000..2166c6a --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/BmCompanyInfoMapper.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/BmMachinistInfoMapper.xml b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/BmMachinistInfoMapper.xml new file mode 100644 index 0000000..6a590ca --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/BmMachinistInfoMapper.xml @@ -0,0 +1,14 @@ + + + + + + + \ No newline at end of file diff --git a/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaDevInfoMapper.xml b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaDevInfoMapper.xml new file mode 100644 index 0000000..277e976 --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaDevInfoMapper.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaLeaseInfoMapper.xml b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaLeaseInfoMapper.xml new file mode 100644 index 0000000..712a43a --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaLeaseInfoMapper.xml @@ -0,0 +1,13 @@ + + + + + + + \ No newline at end of file diff --git a/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaOrderInfoMapper.xml b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaOrderInfoMapper.xml new file mode 100644 index 0000000..94025cf --- /dev/null +++ b/sgzb-modules/zlpt-bigScreen/src/main/resources/mapper.bigscreen/MaOrderInfoMapper.xml @@ -0,0 +1,35 @@ + + + + + + + + \ No newline at end of file