개정판 c99d9d76
issue #1171: fix symbol data
Change-Id: If77f8b4ce9692c67e89d5a637c9fb4dc963c5a5a
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
1946 | 1946 |
# Get a cursor object |
1947 | 1947 |
cursor = conn.cursor() if self.project.database.db_type == 'SQLite' else conn.cursor(as_dict=True) |
1948 | 1948 |
|
1949 |
sql = "select a.*,b.Name,b.SymbolType_UID,b.[Type],b.OriginalPoint,b.ConnectionPoint,b.BaseSymbol,b.AdditionalSymbol,b.HasInstrumentLabel,b.Flip from Components a \ |
|
1949 |
sql = "select a.*,b.Name,b.SymbolType_UID,b.[Type],b.OriginalPoint,b.ConnectionPoint,b.BaseSymbol,b.AdditionalSymbol,b.HasInstrumentLabel,b.Flip as DetectFlip from Components a \
|
|
1950 | 1950 |
join Symbol b on a.Symbol_UID=b.UID \ |
1951 | 1951 |
where a.Drawings_UID='{}'".format(drawing) |
1952 | 1952 |
cursor.execute(sql) |
내보내기 Unified diff