|
|
|
@ -27,6 +27,7 @@ |
|
|
|
|
<result column="payment_date" property="paymentDate"/> |
|
|
|
|
<result column="payment_status" property="paymentStatus"/> |
|
|
|
|
<result column="voucher_number" property="voucherNumber"/> |
|
|
|
|
<result column="auth_status" property="authStatus"/> |
|
|
|
|
<result column="sn_voucher_number" property="snVoucherNumber"/> |
|
|
|
|
<result column="image_id" property="imageNumber"/> |
|
|
|
|
<result column="ele_invoice_no" property="eleInvoiceNo"/> |
|
|
|
@ -76,7 +77,7 @@ |
|
|
|
|
select t.invoice_type,t.dept_id,t.dept_name,t.comp_code,t.bzr |
|
|
|
|
,t.id,t.invoice_code,t.invoice_no,t.gf_name,t.gf_tax_no,t.xf_name, |
|
|
|
|
DATE_FORMAT(t.invoice_date,'%Y-%m-%d')invoice_date,t.invoice_amount,t.tax_amount,t.invoice_status,DATE_FORMAT(t.qs_date,'%Y-%m-%d')qs_date |
|
|
|
|
,t.qs_type,t.qs_status,t.dk_tax_amount,t.qs_name,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period, |
|
|
|
|
,t.qs_type,t.qs_status,t.dk_tax_amount,t.qs_name,t.auth_status,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period, |
|
|
|
|
case date_format(t.invoice_date,'%Y%m%d') between c.select_start_date and c.select_end_date when |
|
|
|
|
true then 1 |
|
|
|
|
else 2 end authStatus,t.bzdh,t.suspend_status,t.suspend_date, |
|
|
|
|