初始版本提交

This commit is contained in:
hzj
2025-07-11 09:23:46 +08:00
parent 0e056a7de1
commit af2b080ff5
2 changed files with 7 additions and 1 deletions

View File

@@ -31,6 +31,8 @@
<select id="getBaseLineInfo" resultType="com.njcn.gather.event.devcie.pojo.dto.LedgerBaseInfoDTO">
select
PQ_GDINFORMATION.name gdName,
pq_line.GD_INDEX gdIndex,
pq_line.line_index lineId,
pq_line.name lineName,
PQ_LINEDETAIL.objname objName,
@@ -46,11 +48,13 @@
PQ_LINEDETAIL,
PQ_SUBVOLTAGE,
pq_device,
PQ_SUBSTATION
PQ_SUBSTATION,
PQ_GDINFORMATION
where pq_line.line_index = PQ_LINEDETAIL.line_index
and pq_line.SUBV_INDEX = PQ_SUBVOLTAGE.SUBV_INDEX
and PQ_SUBVOLTAGE.DEV_INDEX = pq_device.DEV_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
<foreach collection="ids" item="item" open="(" close=")" separator=",">
#{item}

View File

@@ -9,6 +9,8 @@ import lombok.Data;
*/
@Data
public class LedgerBaseInfoDTO {
private String gdName;
private String gdIndex;
private Integer lineId;