프로젝트

일반

사용자정보

개정판 401efcff

ID401efcffcc98d682dd7e6d61a23a52fc1eec3735
상위 73415441
하위 7cbb1038

gaqhf 이(가) 5년 이상 전에 추가함

dev issue #000 : SPPID Attribute Mapping 필요없는 값 Query 수정

Change-Id: I4db9fef9491d4ad50ac8fcb08d4cbc02794402c2

차이점 보기:

DTI_PID/SPPIDConverter/DB/Project_DB.cs
427 427
                    using (SQLiteCommand cmd = connection.CreateCommand())
428 428
                    {
429 429
                        cmd.CommandText = string.Format(@"
430
                            SELECT sa.UID, sa.DisplayAttribute, st.TYPE, spa.SPPID_ATTRIBUTE, sp.SPPID_SYMBOL_PATH, spl.LOCATION, spl.LEADERLINE 
430
                            SELECT sa.UID, sa.DisplayAttribute, st.TYPE, spa.SPPID_ATTRIBUTE, sp.SPPID_SYMBOL_PATH, spl.LOCATION, spl.LEADERLINE, sa.Property
431 431
                            FROM {1} as sa, {0} as st 
432 432
                                 LEFT OUTER JOIN {2} as sp 
433 433
                                      ON sa.UID = SP.UID 
......
435 435
                                     ON sa.UID = spa.UID
436 436
                                LEFT OUTER JOIN {4} as spl 
437 437
                                     ON sa.UID = spl.UID
438
                            WHERE sa.SymbolType_UID = st.UID;", SymbolType_TABLE, SymbolAttribute_TABLE, SPPID_SYMBOL_MAPPING_TABLE, SPPID_ATTRIBUTE_MAPPING_TABLE, SPPID_LABEL_INFO_TABLE);
438
                            WHERE sa.SymbolType_UID = st.UID AND (sa.Property != 2 OR sa.Property IS NULL);", SymbolType_TABLE, SymbolAttribute_TABLE, SPPID_SYMBOL_MAPPING_TABLE, SPPID_ATTRIBUTE_MAPPING_TABLE, SPPID_LABEL_INFO_TABLE);
439 439
                        using (SQLiteDataReader dr = cmd.ExecuteReader())
440 440
                            dt.Load(dr);
441 441
                    }

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)