|
|
|
@ -1628,7 +1628,6 @@ |
|
|
|
|
<include refid="Authentication_Column_List"/> |
|
|
|
|
,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period,t.bzdh,t.bzr,t.inaccount_status,t.comp_code |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
left join ${dxhyAdmin}.sys_business b on t.dept_id = b.business_code |
|
|
|
|
WHERE date_format(t.invoice_date,'%Y-%m-%d') between #{invoiceStartTime} and #{invoiceEndTime} |
|
|
|
|
and t.gf_tax_no = #{gfsh} |
|
|
|
|
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) |
|
|
|
@ -1677,7 +1676,6 @@ |
|
|
|
|
<include refid="Authentication_Check_Column_List"/> |
|
|
|
|
,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period,t.bzdh,t.bzr,t.inaccount_status,t.comp_code |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
left join ${dxhyAdmin}.sys_business b on t.dept_id = b.business_code |
|
|
|
|
WHERE date_format(t.invoice_date,'%Y-%m-%d') between #{invoiceStartTime} and #{invoiceEndTime} |
|
|
|
|
and t.gf_tax_no = #{gfsh} |
|
|
|
|
and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null) |
|
|
|
@ -1867,7 +1865,6 @@ |
|
|
|
|
select |
|
|
|
|
<include refid="Authentication_Column_List_Oracle"/> |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
left join ${dxhyAdmin}.sys_business b on t.dept_id = b.business_code |
|
|
|
|
WHERE TO_CHAR(t.invoice_date,'yyyy-MM-dd') between #{invoiceStartTime} and #{invoiceEndTime} |
|
|
|
|
and t.rzh_yesorno = '0' |
|
|
|
|
and t.auth_status in('0','5','6') |
|
|
|
@ -1924,7 +1921,6 @@ |
|
|
|
|
select |
|
|
|
|
<include refid="Authentication_Check_Column_List_Oracle"/> |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
left join ${dxhyAdmin}.sys_business b on t.dept_id = b.business_code |
|
|
|
|
WHERE TO_CHAR(t.invoice_date,'yyyy-MM-dd') between #{invoiceStartTime} and #{invoiceEndTime} |
|
|
|
|
and (t.rzlx = '2' or t.rzlx = '3') |
|
|
|
|
and t.export_mark = '0' |
|
|
|
|