|
|
@ -36,7 +36,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="usdTaxSum" column="usdTaxSum" /> |
|
|
|
<result property="invoiceEmail" column="invoice_email" /> |
|
|
|
<result property="invoiceQuotaRatio" column="invoice_quota_ratio" /> |
|
|
|
<result property="invoiceAmount" column="invoice_amount" /> |
|
|
|
<result property="invoiceAmountRmb" column="invoice_amount_rmb" /> |
|
|
|
<result property="invoiceAmountUsd" column="invoice_amount_usd" /> |
|
|
|
<result property="actualInvoiceAmount" column="actual_invoice_amount" /> |
|
|
|
<result property="actualInvoiceAmountRmb" column="actual_invoice_amount_rmb" /> |
|
|
|
<result property="actualInvoiceAmountUsd" column="actual_invoice_amount_usd" /> |
|
|
@ -55,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectFinancialTaxInvoiceVo"> |
|
|
|
select tax_invoice_id, tax_invoice_code, tax_invoice_status, use_status, sales_order_code, sales_order_number, sales_order_type, tax_invoice_type, tax_invoice_class, tax_invoice_title, business_members, apply_user, enterprise_code, enterprise_name, contact_number, enterprise_address, common_currency, invoice_company_name, invoice_company_code, deposit_bank, bank_account, tax_rate, usd_tax, material_sum, enterprise_sum, noRmbSum, rmbTaxSum, noUsdSum, usdTaxSum, invoice_email, invoice_quota_ratio, invoice_amount, actual_invoice_amount, actual_invoice_amount_rmb, actual_invoice_amount_usd, invoice_purpose, business_remark, invoice_remark, invoice_data, invoice_code, invoice_phone, create_by, create_time, update_by, update_time, remark, del_flag from financial_tax_invoice |
|
|
|
select tax_invoice_id, tax_invoice_code, tax_invoice_status, use_status, sales_order_code, sales_order_number, sales_order_type, tax_invoice_type, tax_invoice_class, tax_invoice_title, business_members, apply_user, enterprise_code, enterprise_name, contact_number, enterprise_address, common_currency, invoice_company_name, invoice_company_code, deposit_bank, bank_account, tax_rate, usd_tax, material_sum, enterprise_sum, noRmbSum, rmbTaxSum, noUsdSum, usdTaxSum, invoice_email, invoice_quota_ratio, invoice_amount_rmb, invoice_amount_usd, actual_invoice_amount, actual_invoice_amount_rmb, actual_invoice_amount_usd, invoice_purpose, business_remark, invoice_remark, invoice_data, invoice_code, invoice_phone, create_by, create_time, update_by, update_time, remark, del_flag from financial_tax_invoice |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="selectFinancialTaxInvoiceList" parameterType="FinancialTaxInvoice" resultMap="FinancialTaxInvoiceResult"> |
|
|
@ -113,7 +114,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="usdTaxSum != null">usdTaxSum,</if> |
|
|
|
<if test="invoiceEmail != null">invoice_email,</if> |
|
|
|
<if test="invoiceQuotaRatio != null">invoice_quota_ratio,</if> |
|
|
|
<if test="invoiceAmount != null">invoice_amount,</if> |
|
|
|
<if test="invoiceAmountRmb != null">invoice_amount_rmb,</if> |
|
|
|
<if test="invoiceAmountUsd != null">invoice_amount_usd,</if> |
|
|
|
<if test="actualInvoiceAmount != null">actual_invoice_amount,</if> |
|
|
|
<if test="actualInvoiceAmountRmb != null">actual_invoice_amount_rmb,</if> |
|
|
|
<if test="actualInvoiceAmountUsd != null">actual_invoice_amount_usd,</if> |
|
|
@ -161,7 +163,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="usdTaxSum != null">#{usdTaxSum},</if> |
|
|
|
<if test="invoiceEmail != null">#{invoiceEmail},</if> |
|
|
|
<if test="invoiceQuotaRatio != null">#{invoiceQuotaRatio},</if> |
|
|
|
<if test="invoiceAmount != null">#{invoiceAmount},</if> |
|
|
|
<if test="invoiceAmountRmb != null">#{invoiceAmountRmb},</if> |
|
|
|
<if test="invoiceAmountUsd != null">#{invoiceAmountUsd},</if> |
|
|
|
<if test="actualInvoiceAmount != null">#{actualInvoiceAmount},</if> |
|
|
|
<if test="actualInvoiceAmountRmb != null">#{actualInvoiceAmountRmb},</if> |
|
|
|
<if test="actualInvoiceAmountUsd != null">#{actualInvoiceAmountUsd},</if> |
|
|
@ -213,7 +216,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="usdTaxSum != null">usdTaxSum = #{usdTaxSum},</if> |
|
|
|
<if test="invoiceEmail != null">invoice_email = #{invoiceEmail},</if> |
|
|
|
<if test="invoiceQuotaRatio != null">invoice_quota_ratio = #{invoiceQuotaRatio},</if> |
|
|
|
<if test="invoiceAmount != null">invoice_amount = #{invoiceAmount},</if> |
|
|
|
<if test="invoiceAmountRmb != null">invoice_amount_rmb = #{invoiceAmountRmb},</if> |
|
|
|
<if test="invoiceAmountUsd != null">invoice_amount_usd = #{invoiceAmountUsd},</if> |
|
|
|
<if test="actualInvoiceAmount != null">actual_invoice_amount = #{actualInvoiceAmount},</if> |
|
|
|
<if test="actualInvoiceAmountRmb != null">actual_invoice_amount_rmb = #{actualInvoiceAmountRmb},</if> |
|
|
|
<if test="actualInvoiceAmountUsd != null">actual_invoice_amount_usd = #{actualInvoiceAmountUsd},</if> |
|
|
|