Merge branch 'main' of https://code.sdsdev.co.kr/SDSRV-IDP/sbt-idp into dev/all_rq_for_acc

This commit is contained in:
dx-tan 2024-02-28 18:46:03 +07:00
commit a8abbab772
2 changed files with 2 additions and 0 deletions

View File

@ -525,6 +525,8 @@ def dict2xlsx(input: json, _type='report'):
for key in mapping.keys(): for key in mapping.keys():
value = get_value(subtotal, mapping[key]) value = get_value(subtotal, mapping[key])
ws[key + str(start_index)] = value ws[key + str(start_index)] = value
if key in ['C', 'D', 'E'] and value == 0:
ws[key + str(start_index)] = "-"
ws[key + str(start_index)].border = border ws[key + str(start_index)].border = border
ws[key + str(start_index)].font = font_black ws[key + str(start_index)].font = font_black
if 'accuracy' in mapping[key] or 'time' in mapping[key] or 'percent' in mapping[key] or 'speed' in mapping[key] or mapping[key] in ["review_process"]: if 'accuracy' in mapping[key] or 'time' in mapping[key] or 'percent' in mapping[key] or 'speed' in mapping[key] or mapping[key] in ["review_process"]:

Binary file not shown.