|
|
@ -430,14 +430,14 @@ |
|
|
|
<if test="invoiceSource!=null and invoiceSource!='' and invoiceSource!='99'"> |
|
|
|
<if test="invoiceSource!=null and invoiceSource!='' and invoiceSource!='99'"> |
|
|
|
and t.invoice_source = #{invoiceSource} |
|
|
|
and t.invoice_source = #{invoiceSource} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="voucherNumber != null and voucherNumber != '' and voucherNumber != 'null' and voucherNumber != '99'"> |
|
|
|
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> |
|
|
|
and t.voucher_number = #{voucherNumber} |
|
|
|
and t.sn_voucher_number = #{snVoucherNumber} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> |
|
|
|
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> |
|
|
|
and t.posting_time = #{postingTime} |
|
|
|
and t.posting_time = #{postingTime} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'"> |
|
|
|
<if test="imageNumber != null and imageNumber != '' and imageNumber != 'null' and imageNumber != '99'"> |
|
|
|
and t.image_id = #{imageId} |
|
|
|
and t.image_id = #{imageNumber} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|
and t.account_period = #{accountPeriod} |
|
|
@ -450,8 +450,8 @@ |
|
|
|
<include refid="sql_fields_added"/> |
|
|
|
<include refid="sql_fields_added"/> |
|
|
|
,t.incentive_flag incentiveFlag |
|
|
|
,t.incentive_flag incentiveFlag |
|
|
|
,t.system_name systemName |
|
|
|
,t.system_name systemName |
|
|
|
,t.voucher_no voucherNumber |
|
|
|
,t.sn_voucher_number snVoucherNumber |
|
|
|
,t.image_id imageId |
|
|
|
,t.image_id imageNumber |
|
|
|
,t.account_period accountPeriod |
|
|
|
,t.account_period accountPeriod |
|
|
|
,t.posting_time postingTime |
|
|
|
,t.posting_time postingTime |
|
|
|
from t_dx_sale_record_invoice t |
|
|
|
from t_dx_sale_record_invoice t |
|
|
@ -517,8 +517,8 @@ |
|
|
|
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> |
|
|
|
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> |
|
|
|
and t.posting_time = #{postingTime} |
|
|
|
and t.posting_time = #{postingTime} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'"> |
|
|
|
<if test="imageNumber != null and imageNumber != '' and imageNumber != 'null' and imageNumber != '99'"> |
|
|
|
and t.image_id = #{imageId} |
|
|
|
and t.image_id = #{imageNumber} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> |
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|
and t.account_period = #{accountPeriod} |
|
|
|