|
@@ -60,7 +60,9 @@
|
|
|
<result column="e_invoice_url" jdbcType="VARCHAR" property="eInvoiceUrl" />
|
|
<result column="e_invoice_url" jdbcType="VARCHAR" property="eInvoiceUrl" />
|
|
|
<result column="serial_no" jdbcType="VARCHAR" property="serialNo" />
|
|
<result column="serial_no" jdbcType="VARCHAR" property="serialNo" />
|
|
|
<result column="specifications" jdbcType="VARCHAR" property="specifications" />
|
|
<result column="specifications" jdbcType="VARCHAR" property="specifications" />
|
|
|
|
|
+ <result column="nc_id" jdbcType="VARCHAR" property="ncId" />
|
|
|
<result column="nc_code" jdbcType="VARCHAR" property="ncCode" />
|
|
<result column="nc_code" jdbcType="VARCHAR" property="ncCode" />
|
|
|
|
|
+ <result column="carry_over_status" jdbcType="VARCHAR" property="carryOverStatus" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.invoice.model.InvoiceManage">
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.idea.invoice.model.InvoiceManage">
|
|
|
<result column="nc_json" jdbcType="LONGVARCHAR" property="ncJson" />
|
|
<result column="nc_json" jdbcType="LONGVARCHAR" property="ncJson" />
|
|
@@ -134,7 +136,7 @@
|
|
|
invoice_header_bank_number, bad_debt_reason, create_user, create_time, update_user,
|
|
invoice_header_bank_number, bad_debt_reason, create_user, create_time, update_user,
|
|
|
update_time, invoice_file, take_status, take_user, take_date, take_notes, take_update_user,
|
|
update_time, invoice_file, take_status, take_user, take_date, take_notes, take_update_user,
|
|
|
red_invoice_no, red_confirm_uuid, red_confirm_no, red_confirm_serial_no, confirm_state,
|
|
red_invoice_no, red_confirm_uuid, red_confirm_no, red_confirm_serial_no, confirm_state,
|
|
|
- remark, e_invoice_url, serial_no, specifications, nc_code
|
|
|
|
|
|
|
+ remark, e_invoice_url, serial_no, specifications, nc_id, nc_code, carry_over_status
|
|
|
</sql>
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
|
nc_json
|
|
nc_json
|
|
@@ -208,8 +210,9 @@
|
|
|
take_notes, take_update_user, red_invoice_no,
|
|
take_notes, take_update_user, red_invoice_no,
|
|
|
red_confirm_uuid, red_confirm_no, red_confirm_serial_no,
|
|
red_confirm_uuid, red_confirm_no, red_confirm_serial_no,
|
|
|
confirm_state, remark, e_invoice_url,
|
|
confirm_state, remark, e_invoice_url,
|
|
|
- serial_no, specifications, nc_code,
|
|
|
|
|
- nc_json)
|
|
|
|
|
|
|
+ serial_no, specifications, nc_id,
|
|
|
|
|
+ nc_code, carry_over_status, nc_json
|
|
|
|
|
+ )
|
|
|
values (#{id,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR}, #{customerManagementId,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=VARCHAR}, #{contractId,jdbcType=VARCHAR}, #{customerManagementId,jdbcType=VARCHAR},
|
|
|
#{contractNumber,jdbcType=VARCHAR}, #{recordNumber,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
|
#{contractNumber,jdbcType=VARCHAR}, #{recordNumber,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
|
|
|
#{costType,jdbcType=VARCHAR}, #{paymentType,jdbcType=VARCHAR}, #{sendStatus,jdbcType=VARCHAR},
|
|
#{costType,jdbcType=VARCHAR}, #{paymentType,jdbcType=VARCHAR}, #{sendStatus,jdbcType=VARCHAR},
|
|
@@ -230,8 +233,9 @@
|
|
|
#{takeNotes,jdbcType=VARCHAR}, #{takeUpdateUser,jdbcType=VARCHAR}, #{redInvoiceNo,jdbcType=VARCHAR},
|
|
#{takeNotes,jdbcType=VARCHAR}, #{takeUpdateUser,jdbcType=VARCHAR}, #{redInvoiceNo,jdbcType=VARCHAR},
|
|
|
#{redConfirmUuid,jdbcType=VARCHAR}, #{redConfirmNo,jdbcType=VARCHAR}, #{redConfirmSerialNo,jdbcType=VARCHAR},
|
|
#{redConfirmUuid,jdbcType=VARCHAR}, #{redConfirmNo,jdbcType=VARCHAR}, #{redConfirmSerialNo,jdbcType=VARCHAR},
|
|
|
#{confirmState,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{eInvoiceUrl,jdbcType=VARCHAR},
|
|
#{confirmState,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{eInvoiceUrl,jdbcType=VARCHAR},
|
|
|
- #{serialNo,jdbcType=VARCHAR}, #{specifications,jdbcType=VARCHAR}, #{ncCode,jdbcType=VARCHAR},
|
|
|
|
|
- #{ncJson,jdbcType=LONGVARCHAR})
|
|
|
|
|
|
|
+ #{serialNo,jdbcType=VARCHAR}, #{specifications,jdbcType=VARCHAR}, #{ncId,jdbcType=VARCHAR},
|
|
|
|
|
+ #{ncCode,jdbcType=VARCHAR}, #{carryOverStatus,jdbcType=VARCHAR}, #{ncJson,jdbcType=LONGVARCHAR}
|
|
|
|
|
+ )
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.idea.invoice.model.InvoiceManage">
|
|
<insert id="insertSelective" parameterType="com.idea.invoice.model.InvoiceManage">
|
|
|
insert into invoice_manage
|
|
insert into invoice_manage
|
|
@@ -410,9 +414,15 @@
|
|
|
<if test="specifications != null">
|
|
<if test="specifications != null">
|
|
|
specifications,
|
|
specifications,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="ncId != null">
|
|
|
|
|
+ nc_id,
|
|
|
|
|
+ </if>
|
|
|
<if test="ncCode != null">
|
|
<if test="ncCode != null">
|
|
|
nc_code,
|
|
nc_code,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="carryOverStatus != null">
|
|
|
|
|
+ carry_over_status,
|
|
|
|
|
+ </if>
|
|
|
<if test="ncJson != null">
|
|
<if test="ncJson != null">
|
|
|
nc_json,
|
|
nc_json,
|
|
|
</if>
|
|
</if>
|
|
@@ -592,9 +602,15 @@
|
|
|
<if test="specifications != null">
|
|
<if test="specifications != null">
|
|
|
#{specifications,jdbcType=VARCHAR},
|
|
#{specifications,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="ncId != null">
|
|
|
|
|
+ #{ncId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="ncCode != null">
|
|
<if test="ncCode != null">
|
|
|
#{ncCode,jdbcType=VARCHAR},
|
|
#{ncCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="carryOverStatus != null">
|
|
|
|
|
+ #{carryOverStatus,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="ncJson != null">
|
|
<if test="ncJson != null">
|
|
|
#{ncJson,jdbcType=LONGVARCHAR},
|
|
#{ncJson,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -783,9 +799,15 @@
|
|
|
<if test="record.specifications != null">
|
|
<if test="record.specifications != null">
|
|
|
specifications = #{record.specifications,jdbcType=VARCHAR},
|
|
specifications = #{record.specifications,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.ncId != null">
|
|
|
|
|
+ nc_id = #{record.ncId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.ncCode != null">
|
|
<if test="record.ncCode != null">
|
|
|
nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="record.carryOverStatus != null">
|
|
|
|
|
+ carry_over_status = #{record.carryOverStatus,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="record.ncJson != null">
|
|
<if test="record.ncJson != null">
|
|
|
nc_json = #{record.ncJson,jdbcType=LONGVARCHAR},
|
|
nc_json = #{record.ncJson,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -854,7 +876,9 @@
|
|
|
e_invoice_url = #{record.eInvoiceUrl,jdbcType=VARCHAR},
|
|
e_invoice_url = #{record.eInvoiceUrl,jdbcType=VARCHAR},
|
|
|
serial_no = #{record.serialNo,jdbcType=VARCHAR},
|
|
serial_no = #{record.serialNo,jdbcType=VARCHAR},
|
|
|
specifications = #{record.specifications,jdbcType=VARCHAR},
|
|
specifications = #{record.specifications,jdbcType=VARCHAR},
|
|
|
|
|
+ nc_id = #{record.ncId,jdbcType=VARCHAR},
|
|
|
nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
|
|
+ carry_over_status = #{record.carryOverStatus,jdbcType=VARCHAR},
|
|
|
nc_json = #{record.ncJson,jdbcType=LONGVARCHAR}
|
|
nc_json = #{record.ncJson,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -920,7 +944,9 @@
|
|
|
e_invoice_url = #{record.eInvoiceUrl,jdbcType=VARCHAR},
|
|
e_invoice_url = #{record.eInvoiceUrl,jdbcType=VARCHAR},
|
|
|
serial_no = #{record.serialNo,jdbcType=VARCHAR},
|
|
serial_no = #{record.serialNo,jdbcType=VARCHAR},
|
|
|
specifications = #{record.specifications,jdbcType=VARCHAR},
|
|
specifications = #{record.specifications,jdbcType=VARCHAR},
|
|
|
- nc_code = #{record.ncCode,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ nc_id = #{record.ncId,jdbcType=VARCHAR},
|
|
|
|
|
+ nc_code = #{record.ncCode,jdbcType=VARCHAR},
|
|
|
|
|
+ carry_over_status = #{record.carryOverStatus,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
</if>
|
|
@@ -1099,9 +1125,15 @@
|
|
|
<if test="specifications != null">
|
|
<if test="specifications != null">
|
|
|
specifications = #{specifications,jdbcType=VARCHAR},
|
|
specifications = #{specifications,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="ncId != null">
|
|
|
|
|
+ nc_id = #{ncId,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="ncCode != null">
|
|
<if test="ncCode != null">
|
|
|
nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="carryOverStatus != null">
|
|
|
|
|
+ carry_over_status = #{carryOverStatus,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
<if test="ncJson != null">
|
|
<if test="ncJson != null">
|
|
|
nc_json = #{ncJson,jdbcType=LONGVARCHAR},
|
|
nc_json = #{ncJson,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
</if>
|
|
@@ -1167,7 +1199,9 @@
|
|
|
e_invoice_url = #{eInvoiceUrl,jdbcType=VARCHAR},
|
|
e_invoice_url = #{eInvoiceUrl,jdbcType=VARCHAR},
|
|
|
serial_no = #{serialNo,jdbcType=VARCHAR},
|
|
serial_no = #{serialNo,jdbcType=VARCHAR},
|
|
|
specifications = #{specifications,jdbcType=VARCHAR},
|
|
specifications = #{specifications,jdbcType=VARCHAR},
|
|
|
|
|
+ nc_id = #{ncId,jdbcType=VARCHAR},
|
|
|
nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
|
|
+ carry_over_status = #{carryOverStatus,jdbcType=VARCHAR},
|
|
|
nc_json = #{ncJson,jdbcType=LONGVARCHAR}
|
|
nc_json = #{ncJson,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
@@ -1230,7 +1264,9 @@
|
|
|
e_invoice_url = #{eInvoiceUrl,jdbcType=VARCHAR},
|
|
e_invoice_url = #{eInvoiceUrl,jdbcType=VARCHAR},
|
|
|
serial_no = #{serialNo,jdbcType=VARCHAR},
|
|
serial_no = #{serialNo,jdbcType=VARCHAR},
|
|
|
specifications = #{specifications,jdbcType=VARCHAR},
|
|
specifications = #{specifications,jdbcType=VARCHAR},
|
|
|
- nc_code = #{ncCode,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ nc_id = #{ncId,jdbcType=VARCHAR},
|
|
|
|
|
+ nc_code = #{ncCode,jdbcType=VARCHAR},
|
|
|
|
|
+ carry_over_status = #{carryOverStatus,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
</update>
|
|
|
</mapper>
|
|
</mapper>
|