|
|
|
@ -6,6 +6,8 @@ |
|
|
|
|
<resultMap id="BaseResultMap" |
|
|
|
|
type="com.dxhy.extend.model.ExtBbfpzhcxRespVO"> |
|
|
|
|
<result column="invoice_code" property="invoiceCode"/> |
|
|
|
|
<result column="bzdh" property="bzdh"/> |
|
|
|
|
<result column="in_account_status" property="inaccountStatus"/> |
|
|
|
|
<result column="invoice_no" property="invoiceNo"/> |
|
|
|
|
<result column="kprq" property="invoiceDate"/> |
|
|
|
|
<result column="invoice_type" property="invoiceType"/> |
|
|
|
@ -63,7 +65,7 @@ |
|
|
|
|
dqskssq,t.auth_status,t.qs_type,t.qs_status,t.confirm_user,t.qs_name,t.rzh_yesorno, |
|
|
|
|
t.invoice_type , t.dept_name deptName,t.glzt |
|
|
|
|
glzt,t.uuid,t.bdk_status,t.scan_id,t.in_account_status,t.settle_source, |
|
|
|
|
t.settlement_no, |
|
|
|
|
t.settlement_no,t.in_account_status,t.bzdh, |
|
|
|
|
t.settlement_status,t.voucher_number,t.total_amount,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period |
|
|
|
|
from t_dx_record_invoice t |
|
|
|
|
WHERE t.company = #{company} and t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
@ -71,6 +73,12 @@ |
|
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
<if test="bzdh != null and bzdh != '' and bzdh != 'null'"> |
|
|
|
|
and t.bzdh = #{bzdh} |
|
|
|
|
</if> |
|
|
|
|
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null'"> |
|
|
|
|
and t.in_account_status = #{inaccountStatus} |
|
|
|
|
</if> |
|
|
|
|
<if |
|
|
|
|
test="invoiceStatus != null and invoiceStatus != '' and invoiceStatus != 'null' and invoiceStatus != '99'"> |
|
|
|
|
and t.invoice_status = #{invoiceStatus} |
|
|
|
@ -324,6 +332,12 @@ |
|
|
|
|
test="invoiceStatus != null and invoiceStatus != '' and invoiceStatus != 'null' and invoiceStatus != '99'"> |
|
|
|
|
and t.invoice_status = #{invoiceStatus} |
|
|
|
|
</if> |
|
|
|
|
<if test="bzdh != null and bzdh != '' and bzdh != 'null'"> |
|
|
|
|
and t.bzdh = #{bzdh} |
|
|
|
|
</if> |
|
|
|
|
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null'"> |
|
|
|
|
and t.in_account_status = #{inaccountStatus} |
|
|
|
|
</if> |
|
|
|
|
<if test="qszt != null and qszt != '' and qszt != 'null' and qszt != '99'"> |
|
|
|
|
and t.qs_status = #{qszt} |
|
|
|
|
</if> |
|
|
|
|