feat: コメント削除、条件の順番修正
This commit is contained in:
parent
cc0e1cb576
commit
a726bb90fe
@ -132,7 +132,7 @@ class EmpChgInstRepository(BaseRepository):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception(f'DB Error : Exception={e.args}')
|
logger.exception(f'DB Error : Exception={e.args}')
|
||||||
raise e
|
raise e
|
||||||
# TODO
|
|
||||||
FETCH_COUNT_SQL = """\
|
FETCH_COUNT_SQL = """\
|
||||||
SELECT
|
SELECT
|
||||||
COUNT(*) AS count
|
COUNT(*) AS count
|
||||||
@ -141,8 +141,8 @@ class EmpChgInstRepository(BaseRepository):
|
|||||||
WHERE
|
WHERE
|
||||||
inst_cd = :inst_cd
|
inst_cd = :inst_cd
|
||||||
AND ta_cd = :ta_cd
|
AND ta_cd = :ta_cd
|
||||||
AND start_date = :start_date
|
|
||||||
AND emp_chg_type_cd = :emp_chg_type_cd
|
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:
|
def fetch_count(self, inst_cd, ta_cd, emp_chg_type_cd, start_date, table_name) -> MasterMenteCountModel:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user