id, export_no, invoice_code, invoice_no, invoice_type, invoice_status, invoice_date, gf_tax_no, gf_name, xf_tax_no, xf_name, export_amount, export_tax_amount, export_yxse, rzh_date, rzh_belong_date, confirm_date, rzh_yesorno, uuid, create_date, update_date, rzh_back_msg, check_code, txfbz, lslbz, confirm_user, glzt, xxly, yqkgxbz, company, cxrz_status, cxrz_date, bdk_status, cxrz_current_period, bdk_current_period, cxbdk_status, cxbdk_date, auth_status,rzlx and p.gf_tax_no = #{queryParams.gfsh} and (p.comp_code = #{queryParams.companyCode} or p.comp_code = '' or p.comp_code is null) and p.rzh_yesorno = #{queryParams.rzhYesorno} and (p.rzh_yesorno = '1' or p.rzh_yesorno = '2') and p.bdk_status = #{queryParams.rzlx} and p.auth_status = #{queryParams.authStatus} and p.rzh_belong_date = #{queryParams.rzhBelongDate} and p.invoice_no = #{queryParams.invoiceNo} and p.xf_name = #{queryParams.xfName} and p.invoice_date >= #{queryParams.invoiceDateStart} and p.invoice_date <= #{queryParams.invoiceDateEnd} and p.rzh_date >= #{queryParams.rzhDateStart} and p.rzh_date <= #{queryParams.rzhDateEnd} and p.export_no = #{queryParams.exportNo} and p.confirm_user = #{queryParams.confirmUser} and (p.confirm_user = #{queryParams.confirmUser} or p.confirm_user is null or p.confirm_user = '') and p.auth_status = '4' and p.invoice_type = #{queryParams.invoiceType} and p.invoice_source = #{queryParams.invoiceSource} and p.invoice_status = #{queryParams.invoiceStatus} and p.gf_tax_no in #{item,jdbcType=VARCHAR} and p.gf_tax_no = #{queryParams.gfsh} and p.rzh_yesorno = #{queryParams.rzhYesorno} and p.bdk_status = #{queryParams.rzlx} and p.auth_status = #{queryParams.authStatus} and p.rzh_belong_date = #{queryParams.rzhBelongDate} and p.invoice_no = #{queryParams.invoiceNo} and p.xf_name = #{queryParams.xfName} and p.invoice_date >= to_date(#{queryParams.invoiceDateStart}, 'yyyy-MM-dd hh24:mi:ss') and p.invoice_date <= to_date(substr(#{queryParams.invoiceDateEnd},1,10) || ' 23:59:59', 'yyyy-MM-dd hh24:mi:ss') and p.rzh_date >= to_date(#{queryParams.rzhDateStart}, 'yyyy-MM-dd hh24:mi:ss') and p.rzh_date <= to_date(substr(#{queryParams.rzhDateEnd},1,10) || ' 23:59:59', 'yyyy-MM-dd hh24:mi:ss') and p.export_no = #{queryParams.exportNo} and p.confirm_user = #{queryParams.confirmUser} and p.invoice_source = #{queryParams.invoiceSource} and p.invoice_type = #{queryParams.invoiceType} and p.invoice_status = #{queryParams.invoiceStatus}