Commit c2ea1be8 authored by chenzhao's avatar chenzhao

修改代码

parent 44cc3c0e
...@@ -93,7 +93,7 @@ public class IdxBizFanPointProcessVariableClassificationDto { ...@@ -93,7 +93,7 @@ public class IdxBizFanPointProcessVariableClassificationDto {
private String pointName; private String pointName;
@TableField("GATEWAY_ID") @TableField("GATEWAY_ID")
private Long gatewayId; private String gatewayId;
@ApiModelProperty(value = "点表地址") @ApiModelProperty(value = "点表地址")
@TableField("INDEX_ADDRESS") @TableField("INDEX_ADDRESS")
...@@ -103,4 +103,12 @@ public class IdxBizFanPointProcessVariableClassificationDto { ...@@ -103,4 +103,12 @@ public class IdxBizFanPointProcessVariableClassificationDto {
@TableField("KKS") @TableField("KKS")
private String kks; private String kks;
private Double currentValue;
private String pointOneId;
private String pointTwoId;
private String pointThreeId;
private String analysVariableId;
} }
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yeejoin.amos.boot.module.jxiop.biz.mapper2.IdxBizFanPointProcessVariableClassificationMapper"> <mapper namespace="com.yeejoin.amos.boot.module.jxiop.biz.mapper2.IdxBizFanPointProcessVariableClassificationMapper">
<select id="getInfluxDBData" resultType="com.yeejoin.amos.boot.module.jxiop.biz.entity.IdxBizFanPointProcessVariableClassification"> <select id="getInfluxDBData" resultType="com.yeejoin.amos.boot.module.jxiop.biz.dto.IdxBizFanPointProcessVariableClassificationDto">
SELECT b.*, SELECT b.*,
ibfpvcv.PROCESS_POINT1_ID as pointOneId, ibfpvcv.PROCESS_POINT1_ID as pointOneId,
ibfpvcv.PROCESS_POINT2_ID as pointTwoId, ibfpvcv.PROCESS_POINT2_ID as pointTwoId,
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
ibfpvcv.ANALYSIS_POINT_ID as pointId ibfpvcv.ANALYSIS_POINT_ID as pointId
FROM ( FROM (
SELECT * SELECT *
FROM idx_biz_uxfv uxfv FROM idx_biz_fan_point_process_variable_classification uxfv
WHERE uxfv.SEQUENCE_NBR IN ( WHERE uxfv.SEQUENCE_NBR IN (
SELECT PROCESS_POINT1_ID SELECT PROCESS_POINT1_ID
FROM `idx_biz_fan_point_var_central_value` FROM `idx_biz_fan_point_var_central_value`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment