|
|
|
@ -32,13 +32,16 @@ |
|
|
|
|
<result column="cxrz_status" property="cxrzStatus"/> |
|
|
|
|
<result column="bdk_status" property="bdkStatus"/> |
|
|
|
|
<result column="export_mark" property="exportMark"/> |
|
|
|
|
<result column="in_account_status" property="inAccountStatus"/> |
|
|
|
|
<result column="voucher_number" property="voucherNumber"/> |
|
|
|
|
<result column="ele_invoice_no" property="eleInvoiceNo"/> |
|
|
|
|
<result column="bzdh" property="bzdh"/> |
|
|
|
|
<result column="bzr" property="bzr"/> |
|
|
|
|
<result column="inAccountStatus" property="inAccountStatus"/> |
|
|
|
|
<result column="compCode" property="compCode"/> |
|
|
|
|
<result column="inaccount_status" property="inAccountStatus"/> |
|
|
|
|
<result column="comp_code" property="compCode"/> |
|
|
|
|
<result column="account_period" property="accountPeriod"/> |
|
|
|
|
<result column="image_id" property="imageNumber"/> |
|
|
|
|
<result column="posting_time" property="postingTime"/> |
|
|
|
|
<result column="sn_voucher_number" property="snVoucherNumber"/> |
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
|
<resultMap id="RzcxhjResultMap" |
|
|
|
@ -87,10 +90,10 @@ |
|
|
|
|
gfmc,t.dept_id deptId,t.dept_name deptName,t.bzdh,t.bzr, |
|
|
|
|
t.xf_tax_no,t.xf_name,t.tax_amount,t.dk_tax_amount,t.invoice_status,t.invoice_amount, |
|
|
|
|
date_format(t.rzh_date,'%Y-%m-%d') rzh_date,date_format(t.qs_date, '%Y-%m-%d') |
|
|
|
|
qs_date,t.rzh_type, |
|
|
|
|
qs_date,t.rzh_type,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period,comp_code, |
|
|
|
|
t.gx_user_name,t.rzh_belong_date |
|
|
|
|
dqskssq,t.auth_status,t.qs_type,t.qs_status,t.confirm_user,t.qs_name,t.rzh_yesorno,t.cxrz_status,t.bdk_status, t.ele_invoice_no, |
|
|
|
|
t.export_mark,t.in_account_status,t.payment_status,DATE_FORMAT(t.payment_date,'%Y-%m-%d')payment_date,t.voucher_number |
|
|
|
|
t.export_mark,t.inaccount_status,t.payment_status,DATE_FORMAT(t.payment_date,'%Y-%m-%d')payment_date,t.voucher_number |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
WHERE date_format(t.invoice_date,'%Y-%m-%d') between #{kpksrq} and #{kpjsrq} |
|
|
|
|
and (t.invoice_type in('01','03','08','14','31','283','161','183','185') or (t.invoice_type ='32' and t.lq_tdyslxDm='08')) |
|
|
|
|