diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/controller/LedgerCountController.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/controller/LedgerCountController.java new file mode 100644 index 00000000..a3ca9282 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/controller/LedgerCountController.java @@ -0,0 +1,49 @@ +package com.njcn.gather.event.devcie.controller; + +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.njcn.common.pojo.annotation.OperateInfo; +import com.njcn.common.pojo.enums.response.CommonResponseEnum; +import com.njcn.common.pojo.response.HttpResult; +import com.njcn.common.utils.LogUtil; +import com.njcn.db.mybatisplus.bo.BaseEntity; +import com.njcn.gather.event.devcie.pojo.vo.LedgerCountVO; +import com.njcn.gather.event.devcie.service.LedgerCountService; +import com.njcn.web.controller.BaseController; +import com.njcn.web.utils.HttpResultUtil; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * Description: + * Date: 2025/06/19 下午 3:00【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +@Slf4j +@Api(tags = "台账统计") +@RestController +@RequestMapping("/ledgercount") +@RequiredArgsConstructor +public class LedgerCountController extends BaseController { + + private final LedgerCountService ledgerCountService; + @OperateInfo + @PostMapping("/scaleStatistics") + @ApiOperation("台账规模统计") + @ApiImplicitParam(name = "queryParam", value = "查询参数", required = true) + public HttpResult scaleStatistics() { + String methodDescribe = getMethodDescribe("list"); + LogUtil.njcnDebug(log, "{},查询数据为:{}", methodDescribe); + LedgerCountVO result = ledgerCountService.scaleStatistics(); + return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe); + } +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqDeviceMapper.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqDeviceMapper.java new file mode 100644 index 00000000..3cca28d0 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqDeviceMapper.java @@ -0,0 +1,15 @@ +package com.njcn.gather.event.devcie.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.njcn.gather.event.devcie.pojo.po.PqDevice; + +/** + * + * Description: + * Date: 2025/06/19 下午 1:47【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface PqDeviceMapper extends BaseMapper { +} \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqDevicedetailMapper.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqDevicedetailMapper.java new file mode 100644 index 00000000..77ae5cf8 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqDevicedetailMapper.java @@ -0,0 +1,15 @@ +package com.njcn.gather.event.devcie.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.njcn.gather.event.devcie.pojo.po.PqDevicedetail; + +/** + * + * Description: + * Date: 2025/06/19 下午 1:47【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface PqDevicedetailMapper extends BaseMapper { +} \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqLineMapper.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqLineMapper.java new file mode 100644 index 00000000..6ffa6809 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqLineMapper.java @@ -0,0 +1,15 @@ +package com.njcn.gather.event.devcie.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.njcn.gather.event.devcie.pojo.po.PqLine; + +/** + * + * Description: + * Date: 2025/06/19 下午 1:43【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface PqLineMapper extends BaseMapper { +} \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqSubstationMapper.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqSubstationMapper.java new file mode 100644 index 00000000..b9584a94 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/PqSubstationMapper.java @@ -0,0 +1,15 @@ +package com.njcn.gather.event.devcie.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.njcn.gather.event.devcie.pojo.po.PqSubstation; + +/** + * + * Description: + * Date: 2025/06/19 下午 1:48【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface PqSubstationMapper extends BaseMapper { +} \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqDeviceMapper.xml b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqDeviceMapper.xml new file mode 100644 index 00000000..2985d708 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqDeviceMapper.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + DEV_INDEX, GD_INDEX, SUB_INDEX, "NAME", "STATUS", DEVTYPE, LOGONTIME, UPDATETIME, + NODE_INDEX, PORTID, DEVFLAG, DEV_SERIES, DEV_KEY, IP, DEVMODEL, CALLFLAG, DATATYPE + + \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqDevicedetailMapper.xml b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqDevicedetailMapper.xml new file mode 100644 index 00000000..f11afa96 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqDevicedetailMapper.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + DEV_INDEX, MANUFACTURER, CHECKFLAG, THISTIMECHECK, NEXTTIMECHECK, ONLINERATETJ, DATAPLAN, + NEWTRAFFIC, ELECTROPLATE, ONTIME, CONTRACT, SIM, DEV_CATENA, DEV_LOCATION, DEV_NO + + \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqLineMapper.xml b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqLineMapper.xml new file mode 100644 index 00000000..bcb630a1 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqLineMapper.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + LINE_INDEX, GD_INDEX, SUB_INDEX, SUBV_INDEX, DEV_INDEX, "NAME", PT1, PT2, CT1, CT2, + DEVCMP, DLCMP, JZCMP, XYCMP, SUBV_NO, "SCALE", SUBV_NAME + + \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqSubstationMapper.xml b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqSubstationMapper.xml new file mode 100644 index 00000000..b5247083 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/mapper/mappering/PqSubstationMapper.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + SUB_INDEX, GD_INDEX, "NAME", "SCALE" + + \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqDevice.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqDevice.java new file mode 100644 index 00000000..368fce66 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqDevice.java @@ -0,0 +1,127 @@ +package com.njcn.gather.event.devcie.pojo.po; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.time.LocalDateTime; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * + * Description: + * Date: 2025/06/19 下午 1:47【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +/** + * 靠靠? + */ +@Data +@NoArgsConstructor +@TableName(value = "PQ_DEVICE") +public class PqDevice { + /** + * 靠靠 + */ + @TableId(value = "DEV_INDEX", type = IdType.INPUT) + private Integer devIndex; + + /** + * 靠靠靠 + */ + @TableField(value = "GD_INDEX") + private Integer gdIndex; + + /** + * 靠靠? + */ + @TableField(value = "SUB_INDEX") + private Integer subIndex; + + /** + * 靠靠 + */ + @TableField(value = "\"NAME\"") + private String name; + + /** + * 靠靠靠(0:靠;1:靠) + */ + @TableField(value = "\"STATUS\"") + private Short status; + + /** + * (靠縋QS_Dicdata)靠靠Guid + */ + @TableField(value = "DEVTYPE") + private String devtype; + + /** + * 靠靠 + */ + @TableField(value = "LOGONTIME") + private LocalDateTime logontime; + + /** + * 靠靠靠 + */ + @TableField(value = "UPDATETIME") + private LocalDateTime updatetime; + + /** + * 靠縉odeInformation)靠靠靠,靠靠靠靠靠靠靠? + */ + @TableField(value = "NODE_INDEX") + private Integer nodeIndex; + + /** + * 靠ID,靠靠靠 + */ + @TableField(value = "PORTID") + private Long portid; + + /** + * 靠靠(0:靠;1:靠;2:靠) + */ + @TableField(value = "DEVFLAG") + private Short devflag; + + /** + * 靠靠?靠3ds靠 + */ + @TableField(value = "DEV_SERIES") + private String devSeries; + + /** + * 靠靠,靠3ds靠 + */ + @TableField(value = "DEV_KEY") + private String devKey; + + /** + * IP靠 + */ + @TableField(value = "IP") + private String ip; + + /** + * 靠靠(0:靠靠;1:靠靠) + */ + @TableField(value = "DEVMODEL") + private Short devmodel; + + /** + * 靠靠? + */ + @TableField(value = "CALLFLAG") + private Short callflag; + + /** + * 靠靠(0:靠靠;1:靠靠;2:靠靠) + */ + @TableField(value = "DATATYPE") + private Short datatype; +} \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqDevicedetail.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqDevicedetail.java new file mode 100644 index 00000000..fa350122 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqDevicedetail.java @@ -0,0 +1,94 @@ +package com.njcn.gather.event.devcie.pojo.po; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.time.LocalDateTime; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * + * Description: + * Date: 2025/06/19 下午 1:47【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +/** + * 靠靠靠? + */ +@Data +@NoArgsConstructor +@TableName(value = "PQ_DEVICEDETAIL") +public class PqDevicedetail { + /** + * 靠靠 + */ + @TableId(value = "DEV_INDEX", type = IdType.INPUT) + private Integer devIndex; + + /** + * (靠PQS_Dicdata)靠靠縂uid + */ + @TableField(value = "MANUFACTURER") + private String manufacturer; + + /** + * 靠靠(0:靠 1:靠) + */ + @TableField(value = "CHECKFLAG") + private Short checkflag; + + /** + * 靠靠靠 + */ + @TableField(value = "THISTIMECHECK") + private LocalDateTime thistimecheck; + + /** + * 靠靠靠(靠靠靠靠靠3靠靠靠靠靠靠靠) + */ + @TableField(value = "NEXTTIMECHECK") + private LocalDateTime nexttimecheck; + + /** + * 靠靠靠? + */ + @TableField(value = "ONLINERATETJ") + private Integer onlineratetj; + + @TableField(value = "DATAPLAN") + private Integer dataplan; + + @TableField(value = "NEWTRAFFIC") + private Integer newtraffic; + + @TableField(value = "ELECTROPLATE") + private Short electroplate; + + @TableField(value = "ONTIME") + private Short ontime; + + /** + * 合同 + */ + @TableField(value = "CONTRACT") + private String contract; + + /** + * sim卡号 + */ + @TableField(value = "SIM") + private String sim; + + @TableField(value = "DEV_CATENA") + private String devCatena; + + @TableField(value = "DEV_LOCATION") + private String devLocation; + + @TableField(value = "DEV_NO") + private String devNo; +} \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqLine.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqLine.java new file mode 100644 index 00000000..41ed47b8 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqLine.java @@ -0,0 +1,126 @@ +package com.njcn.gather.event.devcie.pojo.po; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * + * Description: + * Date: 2025/06/19 下午 1:43【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +/** + * 靠靠? + */ +@Data +@NoArgsConstructor +@TableName(value = "PQ_LINE") +public class PqLine { + /** + * 靠靠 + */ + @TableId(value = "LINE_INDEX", type = IdType.INPUT) + private Integer lineIndex; + + /** + * 靠靠靠 + */ + @TableField(value = "GD_INDEX") + private Integer gdIndex; + + /** + * 靠靠? + */ + @TableField(value = "SUB_INDEX") + private Integer subIndex; + + /** + * 靠靠 + */ + @TableField(value = "SUBV_INDEX") + private Integer subvIndex; + + /** + * 靠靠 + */ + @TableField(value = "DEV_INDEX") + private Integer devIndex; + + /** + * 靠靠 + */ + @TableField(value = "\"NAME\"") + private String name; + + /** + * PT靠靠 + */ + @TableField(value = "PT1") + private Double pt1; + + /** + * PT靠靠 + */ + @TableField(value = "PT2") + private Double pt2; + + /** + * CT靠靠 + */ + @TableField(value = "CT1") + private Double ct1; + + /** + * CT靠靠 + */ + @TableField(value = "CT2") + private Double ct2; + + /** + * 靠靠 + */ + @TableField(value = "DEVCMP") + private Double devcmp; + + /** + * 靠靠 + */ + @TableField(value = "DLCMP") + private Double dlcmp; + + /** + * 靠靠 + */ + @TableField(value = "JZCMP") + private Double jzcmp; + + /** + * 靠靠 + */ + @TableField(value = "XYCMP") + private Double xycmp; + + /** + * 靠?靠靠靠靠靠靠? + */ + @TableField(value = "SUBV_NO") + private Short subvNo; + + /** + * (靠PQS_Dictionary?靠靠Guid + */ + @TableField(value = "\"SCALE\"") + private String scale; + + /** + * 靠靠 + */ + @TableField(value = "SUBV_NAME") + private String subvName; +} \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqSubstation.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqSubstation.java new file mode 100644 index 00000000..47828b04 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/po/PqSubstation.java @@ -0,0 +1,45 @@ +package com.njcn.gather.event.devcie.pojo.po; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * + * Description: + * Date: 2025/06/19 下午 1:48【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +/** + * 靠靠靠 + */ +@Data +@NoArgsConstructor +@TableName(value = "PQ_SUBSTATION") +public class PqSubstation { + /** + * 靠靠? + */ + @TableId(value = "SUB_INDEX", type = IdType.INPUT) + private Integer subIndex; + + /** + * 靠靠靠 + */ + @TableField(value = "GD_INDEX") + private Integer gdIndex; + + /** + * 靠靠? + */ + @TableField(value = "\"NAME\"") + private String name; + + @TableField(value = "\"SCALE\"") + private String scale; +} \ No newline at end of file diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/vo/LedgerCountVO.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/vo/LedgerCountVO.java new file mode 100644 index 00000000..0bd4edb0 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/pojo/vo/LedgerCountVO.java @@ -0,0 +1,14 @@ +package com.njcn.gather.event.devcie.pojo.vo; + +import lombok.Data; + +/** + * Description: + * Date: 2025/06/19 下午 3:06【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +@Data +public class LedgerCountVO { +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/LedgerCountService.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/LedgerCountService.java new file mode 100644 index 00000000..e025cd27 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/LedgerCountService.java @@ -0,0 +1,14 @@ +package com.njcn.gather.event.devcie.service; + +import com.njcn.gather.event.devcie.pojo.vo.LedgerCountVO; + +/** + * Description: + * Date: 2025/06/19 下午 3:05【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface LedgerCountService { + LedgerCountVO scaleStatistics(); +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqDeviceService.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqDeviceService.java new file mode 100644 index 00000000..a3e3d8bc --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqDeviceService.java @@ -0,0 +1,16 @@ +package com.njcn.gather.event.devcie.service; + +import com.njcn.gather.event.devcie.pojo.po.PqDevice; +import com.baomidou.mybatisplus.extension.service.IService; + /** + * + * Description: + * Date: 2025/06/19 下午 1:47【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface PqDeviceService extends IService{ + + +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqDevicedetailService.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqDevicedetailService.java new file mode 100644 index 00000000..3ebdb949 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqDevicedetailService.java @@ -0,0 +1,16 @@ +package com.njcn.gather.event.devcie.service; + +import com.njcn.gather.event.devcie.pojo.po.PqDevicedetail; +import com.baomidou.mybatisplus.extension.service.IService; + /** + * + * Description: + * Date: 2025/06/19 下午 1:47【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface PqDevicedetailService extends IService{ + + +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqLineService.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqLineService.java new file mode 100644 index 00000000..7e0cb8cd --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqLineService.java @@ -0,0 +1,16 @@ +package com.njcn.gather.event.devcie.service; + +import com.njcn.gather.event.devcie.pojo.po.PqLine; +import com.baomidou.mybatisplus.extension.service.IService; + /** + * + * Description: + * Date: 2025/06/19 下午 1:43【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface PqLineService extends IService{ + + +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqSubstationService.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqSubstationService.java new file mode 100644 index 00000000..0f6ce6b7 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/PqSubstationService.java @@ -0,0 +1,16 @@ +package com.njcn.gather.event.devcie.service; + +import com.njcn.gather.event.devcie.pojo.po.PqSubstation; +import com.baomidou.mybatisplus.extension.service.IService; + /** + * + * Description: + * Date: 2025/06/19 下午 1:48【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +public interface PqSubstationService extends IService{ + + +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/LedgerCountServiceImpl.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/LedgerCountServiceImpl.java new file mode 100644 index 00000000..1f491413 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/LedgerCountServiceImpl.java @@ -0,0 +1,15 @@ +package com.njcn.gather.event.devcie.service.impl; + +import com.njcn.gather.event.devcie.service.LedgerCountService; +import org.springframework.stereotype.Service; + +/** + * Description: + * Date: 2025/06/19 下午 3:06【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +@Service +public class LedgerCountServiceImpl implements LedgerCountService { +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqDeviceServiceImpl.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqDeviceServiceImpl.java new file mode 100644 index 00000000..fc56f7a0 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqDeviceServiceImpl.java @@ -0,0 +1,21 @@ +package com.njcn.gather.event.devcie.service.impl; + +import org.springframework.stereotype.Service; +import org.springframework.beans.factory.annotation.Autowired; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.njcn.gather.event.devcie.pojo.po.PqDevice; +import com.njcn.gather.event.devcie.mapper.PqDeviceMapper; +import com.njcn.gather.event.devcie.service.PqDeviceService; +/** + * + * Description: + * Date: 2025/06/19 下午 1:47【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +@Service +public class PqDeviceServiceImpl extends ServiceImpl implements PqDeviceService{ + +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqDevicedetailServiceImpl.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqDevicedetailServiceImpl.java new file mode 100644 index 00000000..68d6a91b --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqDevicedetailServiceImpl.java @@ -0,0 +1,21 @@ +package com.njcn.gather.event.devcie.service.impl; + +import org.springframework.stereotype.Service; +import org.springframework.beans.factory.annotation.Autowired; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.njcn.gather.event.devcie.pojo.po.PqDevicedetail; +import com.njcn.gather.event.devcie.mapper.PqDevicedetailMapper; +import com.njcn.gather.event.devcie.service.PqDevicedetailService; +/** + * + * Description: + * Date: 2025/06/19 下午 1:47【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +@Service +public class PqDevicedetailServiceImpl extends ServiceImpl implements PqDevicedetailService{ + +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqLineServiceImpl.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqLineServiceImpl.java new file mode 100644 index 00000000..9ec64108 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqLineServiceImpl.java @@ -0,0 +1,21 @@ +package com.njcn.gather.event.devcie.service.impl; + +import org.springframework.stereotype.Service; +import org.springframework.beans.factory.annotation.Autowired; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.njcn.gather.event.devcie.mapper.PqLineMapper; +import com.njcn.gather.event.devcie.pojo.po.PqLine; +import com.njcn.gather.event.devcie.service.PqLineService; +/** + * + * Description: + * Date: 2025/06/19 下午 1:43【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +@Service +public class PqLineServiceImpl extends ServiceImpl implements PqLineService{ + +} diff --git a/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqSubstationServiceImpl.java b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqSubstationServiceImpl.java new file mode 100644 index 00000000..2f5415a6 --- /dev/null +++ b/event_smart/src/main/java/com/njcn/gather/event/devcie/service/impl/PqSubstationServiceImpl.java @@ -0,0 +1,21 @@ +package com.njcn.gather.event.devcie.service.impl; + +import org.springframework.stereotype.Service; +import org.springframework.beans.factory.annotation.Autowired; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.njcn.gather.event.devcie.pojo.po.PqSubstation; +import com.njcn.gather.event.devcie.mapper.PqSubstationMapper; +import com.njcn.gather.event.devcie.service.PqSubstationService; +/** + * + * Description: + * Date: 2025/06/19 下午 1:48【需求编号】 + * + * @author clam + * @version V1.0.0 + */ +@Service +public class PqSubstationServiceImpl extends ServiceImpl implements PqSubstationService{ + +} diff --git a/event_smart/src/main/resources/application.yml b/event_smart/src/main/resources/application.yml index b3cddaa6..9e24e249 100644 --- a/event_smart/src/main/resources/application.yml +++ b/event_smart/src/main/resources/application.yml @@ -27,6 +27,11 @@ spring: maxPoolPreparedStatementPerConnectionSize: 20 datasource: master: + url: jdbc:oracle:thin:@192.168.1.51:1521:pqsbase + username: pqsadmin_bj + password: pqsadmin + driver-class-name: oracle.jdbc.driver.OracleDriver + salve: driver-class-name: dm.jdbc.driver.DmDriver url: jdbc:dm://192.168.1.21:5236/PQSADMIN?useUnicode=true&characterEncoding=utf-8 username: PQSADMINLN