単体テスト不具合対応2
This commit is contained in:
parent
d9ba55e023
commit
3c0c8fb1b6
Binary file not shown.
@ -44,10 +44,10 @@ class BioSalesLotRepository(BaseRepository):
|
||||
inst_name_form,
|
||||
address,
|
||||
tel_num,
|
||||
v_whs_cd,
|
||||
v_whsorg_cd,
|
||||
whs_org_name,
|
||||
v_tran_cd,
|
||||
v_whs_cd,
|
||||
iko_flg
|
||||
FROM
|
||||
src05.bio_sales_lot
|
||||
@ -116,7 +116,7 @@ class BioSalesLotRepository(BaseRepository):
|
||||
rec_lot_num = parameter.rec_lot_num
|
||||
# あいまい検索文字列('%')が含まれる場合は'LIKE'、でなければ'='で検索
|
||||
rec_lot_num_comparator = condition.LIKE if '%' in rec_lot_num else condition.EQ
|
||||
where_clauses.append(SQLCondition('rec_lot_num', rec_lot_num_comparator, 'rec_lot_num'))
|
||||
where_clauses.append(SQLCondition('TRIM(rec_lot_num)', rec_lot_num_comparator, 'rec_lot_num'))
|
||||
# データ区分
|
||||
if is_not_empty(parameter.data_kbn):
|
||||
where_clauses.append(SQLCondition('data_kbn', condition.EQ, 'data_kbn'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user