feat: コメント削除、条件の順番修正

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2024-04-23 13:01:47 +09:00
parent cc0e1cb576
commit a726bb90fe

View File

@ -132,7 +132,7 @@ class EmpChgInstRepository(BaseRepository):
except Exception as e:
logger.exception(f'DB Error : Exception={e.args}')
raise e
# TODO
FETCH_COUNT_SQL = """\
SELECT
COUNT(*) AS count
@ -141,8 +141,8 @@ class EmpChgInstRepository(BaseRepository):
WHERE
inst_cd = :inst_cd
AND ta_cd = :ta_cd
AND start_date = :start_date
AND emp_chg_type_cd = :emp_chg_type_cd
AND start_date = :start_date
"""
def fetch_count(self, inst_cd, ta_cd, emp_chg_type_cd, start_date, table_name) -> MasterMenteCountModel: