개정판 ddcf0cbe
issue #000 : 레포트 출력 시 Display No가 아닌 HMB No가 출력되는 오류 수정
Change-Id: I18733cd76c667a4695f1012e38a02982935f0b1f
HYTOS/HYTOS/MainWindow.py | ||
---|---|---|
2013 | 2013 |
if hmbs is not None: |
2014 | 2014 |
stream_count = 1 |
2015 | 2015 |
col_no = 3 |
2016 |
_hmbs = sorted(hmbs, key=lambda hmb: hmb.stream_no)
|
|
2016 |
_hmbs = sorted(hmbs, key=lambda hmb: (hmb.stream_no_extract_number, hmb.stream_no))
|
|
2017 | 2017 |
for hmb in _hmbs: |
2018 | 2018 |
if hmb.isDeleted == True: |
2019 | 2019 |
continue |
... | ... | |
2023 | 2023 |
col_no = 3 |
2024 | 2024 |
|
2025 | 2025 |
row_no = 54 |
2026 |
ws.cell(row_no, col_no, hmb.stream_no) |
|
2026 |
ws.cell(row_no, col_no, hmb.stream_no_text) # stream_no)
|
|
2027 | 2027 |
row_no += 1 |
2028 | 2028 |
ws.cell(row_no, col_no, hmb.phase_type) |
2029 | 2029 |
row_no += 1 |
내보내기 Unified diff