1.oracle同步mysql代码,监测点运行状态

This commit is contained in:
wr
2024-06-05 15:21:17 +08:00
parent 3141eaa72b
commit 00d75598e4
15 changed files with 393 additions and 15 deletions

View File

@@ -0,0 +1,76 @@
package com.njcn.oracle.bo.po;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* 线路信息表
* */
@Data
@TableName("PQ_LINE")
public class Line {
@TableField("LINE_INDEX")
private String lineIndex;
@TableField("SUB_INDEX")
private String subIndex;
@TableField("GD_INDEX")
private String gdIndex;
@TableField("SUBV_INDEX")
private String subvIndex;
@TableField( "DEV_INDEX")
private String devIndex;
@TableField( "NAME")
private String name;
@TableField("PT1")
private Float pt1;
@TableField("PT2")
private Float pt2;
@TableField("CT1")
private Float ct1;
@TableField("ct2")
private Float ct2;
//设备容量
@TableField("DEVCMP")
private Float devcMp;
//短路容量
@TableField("DLCMP")
private Float dlcMp;
//基准容量
@TableField("JZCMP")
private Float jzcMp;
//协议容量
@TableField("XYCMP")
private Float xycMp;
@TableField("SUBV_NO")
private Integer subVNo;
@TableField("SCALE")
private String scale;
@TableField("SUBV_NAME")
private String subvName;
//监测点状态(0投运1退运)
@TableField("STATUS")
private Integer status;
}

View File

@@ -0,0 +1,16 @@
package com.njcn.oracle.mapper;
import com.njcn.oracle.bo.po.Line;
import com.njcn.oracle.mybatis.mapper.BatchBaseMapper;
/**
* <p>
* Mapper 接口
* </p>
*
* @author hongawen
* @since 2023-12-28
*/
public interface LineMapper extends BatchBaseMapper<Line> {
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.njcn.oracle.mapper.LineMapper">
</mapper>