|
@@ -29,7 +29,10 @@
|
|
|
invoiceCode,
|
|
|
invoiceNum,
|
|
|
invoiceUrl,
|
|
|
- yearMonth
|
|
|
+ yearMonth,
|
|
|
+ totalTaxAmount,
|
|
|
+ taxRate,
|
|
|
+ invoiceMakeTime
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectAllByPage" resultMap="BaseResultMap">
|
|
@@ -54,17 +57,20 @@
|
|
|
<insert id="insertHcInvoice" parameterType="com.jkcredit.invoice.model.entity.invoice.HcInvoice">
|
|
|
INSERT INTO t_hcinvoice (<include refid="baseSql"></include>)
|
|
|
VALUES ( #{sellerName,jdbcType=VARCHAR},
|
|
|
- #{sellerTaxpayerCode,jdbcType=VARCHAR},
|
|
|
- #{buyerName,jdbcType=VARCHAR},
|
|
|
- #{buyerTaxpayerCode,jdbcType=VARCHAR},
|
|
|
- #{amount,jdbcType=INTEGER},
|
|
|
- #{rawInvoiceId,jdbcType=VARCHAR},
|
|
|
- #{rawInvoiceCode,jdbcType=VARCHAR},
|
|
|
- #{rawInvoiceNum,jdbcType=VARCHAR},
|
|
|
- #{invoiceCode,jdbcType=VARCHAR},
|
|
|
- #{invoiceNum,jdbcType=VARCHAR},
|
|
|
- #{invoiceUrl,jdbcType=VARCHAR},
|
|
|
- #{yearMonth,jdbcType=VARCHAR}
|
|
|
+ #{sellerTaxpayerCode,jdbcType=VARCHAR},
|
|
|
+ #{buyerName,jdbcType=VARCHAR},
|
|
|
+ #{buyerTaxpayerCode,jdbcType=VARCHAR},
|
|
|
+ #{amount,jdbcType=INTEGER},
|
|
|
+ #{rawInvoiceId,jdbcType=VARCHAR},
|
|
|
+ #{rawInvoiceCode,jdbcType=VARCHAR},
|
|
|
+ #{rawInvoiceNum,jdbcType=VARCHAR},
|
|
|
+ #{invoiceCode,jdbcType=VARCHAR},
|
|
|
+ #{invoiceNum,jdbcType=VARCHAR},
|
|
|
+ #{invoiceUrl,jdbcType=VARCHAR},
|
|
|
+ #{yearMonth,jdbcType=VARCHAR},
|
|
|
+ #{totalTaxAmount,jdbcType=VARCHAR},
|
|
|
+ #{taxRate,jdbcType=VARCHAR},
|
|
|
+ #{invoiceMakeTime,jdbcType=VARCHAR}
|
|
|
)
|
|
|
</insert>
|
|
|
<delete id="deleteByMounth" parameterType="java.lang.String">
|