start_dateが存在しないとき種別担当者判定を除外するロジック追加
This commit is contained in:
parent
b878ded447
commit
ac2c2f0f16
@ -100,9 +100,13 @@ class MasterMainteCSVItem(metaclass=ABCMeta):
|
||||
return True if self.mst_inst_repository.fetch_count(self.inst_cd) > 0 else False
|
||||
|
||||
def is_exist_emp_chg_type_cd(self, start_date: str) -> bool:
|
||||
if start_date is None or len(start_date) == 0:
|
||||
return False
|
||||
return True if self.generic_kbn_mst_repository.fetch_count('emp_chg_type_cd', self.emp_chg_type_cd, start_date) > 0 else False
|
||||
|
||||
def is_exist_ta_cd(self, start_date: str) -> bool:
|
||||
if start_date is None or len(start_date) == 0:
|
||||
return False
|
||||
return True if self.generic_kbn_mst_repository.fetch_count('ta_cd', self.ta_cd, start_date) > 0 else False
|
||||
|
||||
def is_exist_bu_cd(self) -> bool:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user