개정판 d1458381
issue #627: fix export list
Change-Id: Iea74c4a1c8c6b2c0e6fdef60d5748ec56d67e877
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
2762 | 2762 |
left join Drawings B on A.Drawings_UID=B.UID \ |
2763 | 2763 |
left join SpecialItemTypes C on A.SpecialItemTypes_UID=C.UID \ |
2764 | 2764 |
left join Components D on A.Connected=D.UID \ |
2765 |
where A.SpecialItemTypes_UID is not null order by "Line No"'
|
|
2765 |
where A.SpecialItemTypes_UID is not null' |
|
2766 | 2766 |
if drawings is not None: |
2767 | 2767 |
doc_names = "','".join(drawings) |
2768 | 2768 |
sql += f" and A.Drawings_UID in (select UID from Drawings where Name in ('{doc_names}'))" |
2769 |
sql += ' order by "Line No"' |
|
2769 | 2770 |
cursor.execute(sql) |
2770 | 2771 |
|
2771 | 2772 |
return cursor.fetchall() |
내보내기 Unified diff