feat: dump未取得というステータスを無くした。

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-04-18 11:51:36 +09:00
parent 26db202b5e
commit 31b5d6a691
2 changed files with 1 additions and 3 deletions

View File

@ -35,7 +35,7 @@ def exec():
return constants.BATCH_EXIT_CODE_SUCCESS
# dump取得が正常終了していない場合、後続の処理は行わない
if dump_status_kbn not in [constants.DUMP_STATUS_KBN_COMPLETE, constants.DUMP_STATUS_KBN_DUMP_SKIP]:
if dump_status_kbn != constants.DUMP_STATUS_KBN_COMPLETE:
logger.error('dump取得が正常終了していないため、日次バッチ処理を終了します。')
return constants.BATCH_EXIT_CODE_SUCCESS

View File

@ -9,8 +9,6 @@ BATCH_ACTF_BATCH_IN_PROCESSING = '1'
DUMP_STATUS_KBN_UNPROCESSED = '0'
# dump取得状態区分dump取得正常終了
DUMP_STATUS_KBN_COMPLETE = '2'
# dump取得状態区分dump取得スキップ
DUMP_STATUS_KBN_DUMP_SKIP = '3'
# カレンダーファイルのコメントシンボル
CALENDAR_COMMENT_SYMBOL = '#'