diff --git a/dxhy-core/src/main/java/com/dxhy/core/service/export/impl/ExportCautionServiceImpl.java b/dxhy-core/src/main/java/com/dxhy/core/service/export/impl/ExportCautionServiceImpl.java index d9d85fbc..74da9d6c 100644 --- a/dxhy-core/src/main/java/com/dxhy/core/service/export/impl/ExportCautionServiceImpl.java +++ b/dxhy-core/src/main/java/com/dxhy/core/service/export/impl/ExportCautionServiceImpl.java @@ -79,12 +79,10 @@ public class ExportCautionServiceImpl extends MpBaseServiceImpl 0) { - queryWrapper.lambda().in(TDxRecordInvoice::getGfTaxNo, reqVO.getAllTaxNo()); - } + queryWrapper.eq("gf_tax_no",reqVO.getGfsh()); + queryWrapper.eq("comp_code",reqVO.getCompanyCode()); // 发票号码 if (!StringHelper.isBlank(reqVO.getInvoiceNo())) { queryWrapper.lambda().eq(TDxRecordInvoice::getInvoiceNo, reqVO.getInvoiceNo()); diff --git a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml index 4181b9a0..0a9fabd7 100644 --- a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml +++ b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml @@ -1034,7 +1034,7 @@ t_dx_customs t inner join t_dx_customs_record r on t.customs_code = r.customs_code where t.user_account = #{queryParams.userAccount} - and t.gf_tax_no =#{gfsh} + and t.gf_tax_no =#{queryParams.gfsh} and t.comp_code =#{companyCode}