|
|
|
@ -22,6 +22,14 @@ |
|
|
|
|
<result column="create_date" property="createDate"/> |
|
|
|
|
<result column="voucher_number" property="voucherNumber"/> |
|
|
|
|
<result column="image_path" property="imagePath"/> |
|
|
|
|
<result column="sn_voucher_number" property="snVoucherNumber"/> |
|
|
|
|
<result column="posting_time" property="postingTime"/> |
|
|
|
|
<result column="image_id" property="imageNumber"/> |
|
|
|
|
<result column="account_period" property="accountPeriod"/> |
|
|
|
|
<result column="bzdh" property="bzdh"/> |
|
|
|
|
<result column="bzr" property="bzr"/> |
|
|
|
|
<result column="inaccount_status" property="inAccountStatus"/> |
|
|
|
|
<result column="comp_code" property="compCode"/> |
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
|
<resultMap id="BaseResultCountMap" type="com.dxhy.sign.model.QsInvoiceCount"> |
|
|
|
@ -35,6 +43,7 @@ |
|
|
|
|
t.id,t.notes,t.qs_type,t.qs_status,t.qs_date,t.user_name,t.invoice_code,t.invoice_no,t.ele_invoice_no,t.uuid,t.invoice_date,t.invoice_type,t.invoice_amount,t.tax_amount |
|
|
|
|
,t.dept_id,t.dept_name,t.scan_id,t.gf_name,t.xf_name,t.gf_tax_no,t.xf_tax_no,t.check_code,t.remark,t.create_date,t.total_amount, |
|
|
|
|
t.voucher_number,img.image_path |
|
|
|
|
,r.sn_voucher_number,r.posting_time,r.image_id,r.account_period,r.bzdh,r.bzr,r.inaccount_status,r.comp_code |
|
|
|
|
FROM t_dx_invoice t |
|
|
|
|
left join t_dx_record_invoice r on t.uuid=r.uuid |
|
|
|
|
left join t_dx_invoice_img img on t.scan_id = img.scan_id |
|
|
|
@ -555,6 +564,7 @@ |
|
|
|
|
t.settlement_no, |
|
|
|
|
t.settlement_status, |
|
|
|
|
r.auth_status,r.voucher_number,img.image_path |
|
|
|
|
,r.sn_voucher_number,r.posting_time,r.image_id,r.account_period,r.bzdh,r.bzr,r.inaccount_status,r.comp_code |
|
|
|
|
FROM t_dx_invoice t |
|
|
|
|
left join t_dx_record_invoice r on t.uuid=r.uuid left join t_dx_invoice_img img on t.scan_id = img.scan_id |
|
|
|
|
WHERE t.valid = '1' |
|
|
|
|