fix: 新規施設登録の重複エラー発生時に表示されるメッセージに担当者種別コードが含まれていない不具合を修正

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2024-04-23 17:17:47 +09:00
parent 5b47804c3f
commit f830c55160

View File

@ -363,7 +363,7 @@ class MasterMainteNewInstEmpCSVItem(MasterMainteCSVItem):
def check_data_exists(self) -> list[str]:
error_list = []
if super().emp_chg_inst_count(self.start_date) > 0:
error_list.append(f'{self.line_num}行目の施設コード、領域コード、適用開始日がすべて同一のデータが既に登録されています。')
error_list.append(f'{self.line_num}行目の施設コード、領域コード、担当者種別コード、適用開始日がすべて同一のデータが既に登録されています。')
return error_list