feat: 起動しない不具合の対応

This commit is contained in:
高木要 2023-05-19 16:48:11 +09:00
parent 75db3d2251
commit 3b369b8fc4

View File

@ -7,6 +7,7 @@ from src.batch.batch_functions import (
update_batch_processing_flag_in_processing)
from src.batch.common.batch_context import BatchContext
from src.batch.common.calendar_file import CalendarFile
from src.batch.dcf_inst_merge import Integrate_dcf_inst_merge
from src.batch.laundering import create_dcf_inst_merge, mst_inst_laundering
from src.batch.ultmarc import ultmarc_process
from src.error.exceptions import BatchOperationException
@ -114,6 +115,14 @@ def exec():
logger.exception(f'DCF施設統合マスタ作成エラー異常終了{e}')
return constants.BATCH_EXIT_CODE_SUCCESS
try:
logger.info('DCF施設統合マスタ日次更新バッチ起動')
Integrate_dcf_inst_merge.exec()
logger.info('DCF施設統合マスタ日次更新バッチ終了')
except BatchOperationException as e:
logger.exception(f'DCF施設統合マスタ日次更新バッチエラー異常終了{e}')
return constants.BATCH_EXIT_CODE_SUCCESS
# バッチ処理完了とし、処理日、バッチ処置中フラグ、dump取得状態区分を更新
logger.info('業務日付更新・バッチステータスリフレッシュ:起動')
try: