【增加缺失参数】

This commit is contained in:
weizhihong 2023-09-22 15:42:21 +08:00
parent 9ab4ccf775
commit b454d8b38a

View File

@ -163,7 +163,7 @@ func buildProtoRepository(mapIds []int32) (*proto.Repository, error) {
giType := QueryGiType(mapId)
if giType == graphicData.PictureType_RelayCabinetLayout {
relayGi := QueryGiData[*graphicData.RelayCabinetGraphicStorage](mapId)
relateRelay(repo, relayGi)
relateRelay(repo, relayGi, mapId)
}
}
return repo, nil