|
|
|
@ -18,6 +18,14 @@ |
|
|
|
|
<result column="remark" property="remark"/> |
|
|
|
|
<result column="qs_date" property="qsDate"/> |
|
|
|
|
<result column="qs_name" property="qsName"/> |
|
|
|
|
<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="WqshjResultMap" type="com.dxhy.sign.entity.TDxRecordInvoice"> |
|
|
|
@ -30,7 +38,7 @@ |
|
|
|
|
resultMap="BaseResultMap" databaseId="mysql"> |
|
|
|
|
select |
|
|
|
|
t.id,t.invoice_type,t.invoice_code,t.invoice_no,t.ele_invoice_no,t.invoice_date,t.gf_name,t.xf_name,t.invoice_amount,t.tax_amount,t.dept_id,t.qs_status |
|
|
|
|
, |
|
|
|
|
,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 |
|
|
|
|
where t.company = #{company} |
|
|
|
|
and t.gf_tax_no = #{gfsh} |
|
|
|
@ -83,6 +91,7 @@ |
|
|
|
|
select |
|
|
|
|
t.id,t.invoice_type,t.invoice_code,t.invoice_no,t.invoice_date,t.total_amount,t.remark,t.qs_date, |
|
|
|
|
t.gf_name,t.xf_name,t.invoice_amount,t.tax_amount,t.dept_id,t.qs_status,t.qs_name |
|
|
|
|
,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 t_dx_invoice r on t.uuid = r.uuid |
|
|
|
|
where 1=1 |
|
|
|
|
<if test="ids != null and ids.size()>0"> |
|
|
|
|