|
|
@ -39,6 +39,10 @@ |
|
|
|
<result column="settlement_status" property="settlementStatus"/> |
|
|
|
<result column="settlement_status" property="settlementStatus"/> |
|
|
|
<result column="voucher_number" property="voucherNumber"/> |
|
|
|
<result column="voucher_number" property="voucherNumber"/> |
|
|
|
<result column="total_amount" property="totalAmount"/> |
|
|
|
<result column="total_amount" property="totalAmount"/> |
|
|
|
|
|
|
|
<result column="sn_voucher_number" property="snVoucherNumber"/> |
|
|
|
|
|
|
|
<result column="postingTime" property="postingTime"/> |
|
|
|
|
|
|
|
<result column="image_id" property="imageId"/> |
|
|
|
|
|
|
|
<result column="account_period" property="accountPeriod"/> |
|
|
|
</resultMap> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
|
|
|
<resultMap id="BbfpzhcxhjResultMap" |
|
|
|
<resultMap id="BbfpzhcxhjResultMap" |
|
|
@ -60,7 +64,7 @@ |
|
|
|
t.invoice_type , t.dept_name deptName,t.glzt |
|
|
|
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, |
|
|
|
glzt,t.uuid,t.bdk_status,t.scan_id,t.in_account_status,t.settle_source, |
|
|
|
t.settlement_no, |
|
|
|
t.settlement_no, |
|
|
|
t.settlement_status,t.voucher_number,t.total_amount |
|
|
|
t.settlement_status,t.voucher_number,t.total_amount,t.sn_voucher_number,t.postingTime,t.image_id,t.account_period |
|
|
|
from t_dx_record_invoice t |
|
|
|
from t_dx_record_invoice t |
|
|
|
WHERE t.company = #{company} and t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
WHERE t.company = #{company} and t.invoice_date between #{kpksrq} and #{kpjsrq} |
|
|
|
and t.gf_tax_no in |
|
|
|
and t.gf_tax_no in |
|
|
@ -163,6 +167,18 @@ |
|
|
|
<if test='inAccountStatus!=null and inAccountStatus != "" and inAccountStatus != "99"'> |
|
|
|
<if test='inAccountStatus!=null and inAccountStatus != "" and inAccountStatus != "99"'> |
|
|
|
and t.in_account_status = #{inAccountStatus} |
|
|
|
and t.in_account_status = #{inAccountStatus} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> |
|
|
|
|
|
|
|
and t.sn_voucher_number = #{snVoucherNumber} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> |
|
|
|
|
|
|
|
and t.postingTime = #{postingTime} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'"> |
|
|
|
|
|
|
|
and t.image_id = #{imageId} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
|
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|
|
|
|
|
</if> |
|
|
|
order by t.invoice_date desc |
|
|
|
order by t.invoice_date desc |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="selectByPramsMap" parameterType="java.util.Map" |
|
|
|
<select id="selectByPramsMap" parameterType="java.util.Map" |
|
|
@ -176,7 +192,7 @@ |
|
|
|
dqskssq,t.auth_status,t.qs_type,t.qs_status,t.confirm_user,t.qs_name,t.rzh_yesorno, |
|
|
|
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.in_account_status,t.settle_source, |
|
|
|
t.invoice_type , t.dept_name deptName,t.glzt glzt,t.uuid,t.bdk_status,t.in_account_status,t.settle_source, |
|
|
|
t.settlement_no, |
|
|
|
t.settlement_no, |
|
|
|
t.settlement_status,t.voucher_number,t.total_amount |
|
|
|
t.settlement_status,t.voucher_number,t.total_amount,t.sn_voucher_number,t.postingTime,t.image_id,t.account_period |
|
|
|
from t_dx_record_invoice t |
|
|
|
from t_dx_record_invoice t |
|
|
|
WHERE t.company = #{company} and t.invoice_date between to_date(#{kpksrq},'yyyy-mm-dd |
|
|
|
WHERE t.company = #{company} and t.invoice_date between to_date(#{kpksrq},'yyyy-mm-dd |
|
|
|
hh24:mi:ss') and |
|
|
|
hh24:mi:ss') and |
|
|
@ -280,6 +296,18 @@ |
|
|
|
<if test='inAccountStatus!=null and inAccountStatus != "" and inAccountStatus != "99"'> |
|
|
|
<if test='inAccountStatus!=null and inAccountStatus != "" and inAccountStatus != "99"'> |
|
|
|
and t.in_account_status = #{inAccountStatus} |
|
|
|
and t.in_account_status = #{inAccountStatus} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> |
|
|
|
|
|
|
|
and t.sn_voucher_number = #{snVoucherNumber} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> |
|
|
|
|
|
|
|
and t.postingTime = #{postingTime} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'"> |
|
|
|
|
|
|
|
and t.image_id = #{imageId} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
|
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|
|
|
|
|
</if> |
|
|
|
order by t.invoice_date desc |
|
|
|
order by t.invoice_date desc |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
@ -387,6 +415,18 @@ |
|
|
|
<if test='inAccountStatus!=null and inAccountStatus != "" and inAccountStatus != "99"'> |
|
|
|
<if test='inAccountStatus!=null and inAccountStatus != "" and inAccountStatus != "99"'> |
|
|
|
and t.in_account_status = #{inAccountStatus} |
|
|
|
and t.in_account_status = #{inAccountStatus} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> |
|
|
|
|
|
|
|
and t.sn_voucher_number = #{snVoucherNumber} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> |
|
|
|
|
|
|
|
and t.postingTime = #{postingTime} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'"> |
|
|
|
|
|
|
|
and t.image_id = #{imageId} |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
|
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|
|
|
|
|
</if> |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="selectBbfpzhHj" parameterType="java.util.Map" |
|
|
|
<select id="selectBbfpzhHj" parameterType="java.util.Map" |
|
|
|