初始版本提交
This commit is contained in:
@@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
<select id="getBaseLineInfo" resultType="com.njcn.gather.event.devcie.pojo.dto.LedgerBaseInfoDTO">
|
<select id="getBaseLineInfo" resultType="com.njcn.gather.event.devcie.pojo.dto.LedgerBaseInfoDTO">
|
||||||
select
|
select
|
||||||
|
PQ_GDINFORMATION.name gdName,
|
||||||
|
pq_line.GD_INDEX gdIndex,
|
||||||
pq_line.line_index lineId,
|
pq_line.line_index lineId,
|
||||||
pq_line.name lineName,
|
pq_line.name lineName,
|
||||||
PQ_LINEDETAIL.objname objName,
|
PQ_LINEDETAIL.objname objName,
|
||||||
@@ -46,11 +48,13 @@
|
|||||||
PQ_LINEDETAIL,
|
PQ_LINEDETAIL,
|
||||||
PQ_SUBVOLTAGE,
|
PQ_SUBVOLTAGE,
|
||||||
pq_device,
|
pq_device,
|
||||||
PQ_SUBSTATION
|
PQ_SUBSTATION,
|
||||||
|
PQ_GDINFORMATION
|
||||||
where pq_line.line_index = PQ_LINEDETAIL.line_index
|
where pq_line.line_index = PQ_LINEDETAIL.line_index
|
||||||
and pq_line.SUBV_INDEX = PQ_SUBVOLTAGE.SUBV_INDEX
|
and pq_line.SUBV_INDEX = PQ_SUBVOLTAGE.SUBV_INDEX
|
||||||
and PQ_SUBVOLTAGE.DEV_INDEX = pq_device.DEV_INDEX
|
and PQ_SUBVOLTAGE.DEV_INDEX = pq_device.DEV_INDEX
|
||||||
and pq_device.SUB_INDEX = PQ_SUBSTATION.SUB_INDEX
|
and pq_device.SUB_INDEX = PQ_SUBSTATION.SUB_INDEX
|
||||||
|
and pq_line.GD_INDEX =PQ_GDINFORMATION.GD_INDEX
|
||||||
and pq_line.line_index in
|
and pq_line.line_index in
|
||||||
<foreach collection="ids" item="item" open="(" close=")" separator=",">
|
<foreach collection="ids" item="item" open="(" close=")" separator=",">
|
||||||
#{item}
|
#{item}
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ import lombok.Data;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class LedgerBaseInfoDTO {
|
public class LedgerBaseInfoDTO {
|
||||||
|
private String gdName;
|
||||||
|
private String gdIndex;
|
||||||
|
|
||||||
private Integer lineId;
|
private Integer lineId;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user