【修改SPKS关联逻辑】
This commit is contained in:
parent
bf9d0ab624
commit
a7102304fd
@ -916,7 +916,7 @@ func buildStationRelationShip(source *proto.Repository, repo *Repository) error
|
||||
}
|
||||
for _, group := range protoData.ElectronicGroup {
|
||||
if group.Code == "SPKS" {
|
||||
station.spksComponents = buildRelComponent(repo, group.Components)
|
||||
station.spksComponents = append(station.spksComponents, buildRelComponent(repo, group.Components)...)
|
||||
} else if group.Code == "EMP" || strings.HasSuffix(group.Code, "EMPJ") {
|
||||
station.empGroups = append(station.empGroups, &ElectronicComponentGroup{
|
||||
code: group.Code,
|
||||
|
Loading…
Reference in New Issue
Block a user