diff --git a/dxhy-extend/src/main/resources/mapper/CustomsMapper.xml b/dxhy-extend/src/main/resources/mapper/CustomsMapper.xml index 3e248fc1..d350495b 100644 --- a/dxhy-extend/src/main/resources/mapper/CustomsMapper.xml +++ b/dxhy-extend/src/main/resources/mapper/CustomsMapper.xml @@ -51,10 +51,11 @@ t.customs_scan_id,t.dept_name businessName,t.in_account_status,t.voucher_number,t.document_number,t.in_account_date,rzh_type,rzlx,t.create_date, data_sources,t.image_id,t.posting_time,t.account_period from t_dx_customs_record t - where export_mark = '0' and t.gf_tax_no in - - #{item} - + where export_mark = '0' + + + + and t.customs_code like CONCAT('%',#{keyWord},'%') @@ -146,6 +147,12 @@ and t.account_period = #{accountPeriod} + + and t.comp_code = #{companyCode} + + + and (t.comp_code = '' or t.comp_code is null) + order by t.fill_in_date desc @@ -155,10 +162,11 @@ count(1) hjsl, sum(t.tax_amount) hjse from t_dx_customs_record t - where export_mark = '0' and t.gf_tax_no in - - #{item} - + where export_mark = '0' + + + + and t.customs_code like CONCAT('%',#{keyWord},'%') @@ -250,6 +258,12 @@ and t.account_period = #{accountPeriod} + + and t.comp_code = #{companyCode} + + + and (t.comp_code = '' or t.comp_code is null) +