feat: V卸組織変換マスタには変換対象がなかった。コメントだけ追記
This commit is contained in:
parent
f238cfb19b
commit
7428f703e9
@ -604,6 +604,7 @@ class VjskReceiveFileMapper:
|
||||
,upd_dt
|
||||
,dwh_upd_dt
|
||||
)
|
||||
-- NULLに変換する対象のカラムはない
|
||||
SELECT
|
||||
t.whs_cd
|
||||
,t.whs_sub_cd
|
||||
|
||||
31
ecs/jskult-batch-daily/test_create_bio_sales_lot.py
Normal file
31
ecs/jskult-batch-daily/test_create_bio_sales_lot.py
Normal file
@ -0,0 +1,31 @@
|
||||
import src.batch.bio_sales.create_bio_sales_lot as create_bio_sales_lot
|
||||
import src.batch.common.batch_context as batch_context
|
||||
|
||||
# context = batch_context.BatchContext.get_instance().is_ultmarc_imported = True
|
||||
context = batch_context.BatchContext.get_instance().is_not_business_day = False
|
||||
|
||||
# import gzip
|
||||
# import os
|
||||
# import tarfile
|
||||
|
||||
|
||||
# def main():
|
||||
|
||||
# gzname = '/Users/shimoda.m/Downloads/bio_slip_data_20230612204112.gz'
|
||||
# ret = []
|
||||
# with tarfile.open(gzname, 'r') as tar:
|
||||
# temp_dir = os.path.dirname(gzname)
|
||||
# tar.extractall(path=temp_dir)
|
||||
# extracted_files = tar.getnames()
|
||||
# for extracted_file in extracted_files:
|
||||
# file = os.path.join(temp_dir, extracted_file)
|
||||
# ret.append(file)
|
||||
# return ret
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
# main()
|
||||
create_bio_sales_lot.exec()
|
||||
|
||||
|
||||
# tar -zxvf '/Users/shimoda.m/Downloads/bio_slip_data_20230612204112-1.gz'
|
||||
@ -287,6 +287,7 @@ class TestImportFileToDb:
|
||||
# teardown
|
||||
|
||||
def test_load_03_org_cnv_mst_ok(self, mapper):
|
||||
# V卸組織変換マスタにはNULL変換対象の文字列型カラムがない
|
||||
table_name_org = mapper.get_org_table(mapper.CONDKEY_ORG_CNV_MST)
|
||||
table_name_src = mapper.get_src_table(mapper.CONDKEY_ORG_CNV_MST)
|
||||
|
||||
@ -930,7 +931,7 @@ class TestImportFileToDb:
|
||||
# teardown
|
||||
|
||||
def test_load_13_mdb_conv_mst_ok(self, mapper):
|
||||
# MDBコード変換表には変換対象の文字列型カラムがない
|
||||
# MDBコード変換表にはNULL変換対象の文字列型カラムがない
|
||||
table_name_org = mapper.get_org_table(mapper.CONDKEY_MDB_CONV_MST)
|
||||
table_name_src = mapper.get_src_table(mapper.CONDKEY_MDB_CONV_MST)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user