|
@@ -102,7 +102,8 @@
|
|
|
repair_update_time,
|
|
|
repair_alipay_name,
|
|
|
repair_back_receipt_date,
|
|
|
- repair_costs
|
|
|
+ repair_factory_costs,
|
|
|
+ repair_customer_costs
|
|
|
from
|
|
|
tb_rst_repair
|
|
|
<where>
|
|
@@ -149,7 +150,8 @@
|
|
|
<result column="repair_create_time" property="repairCreateTime"/>
|
|
|
<result column="repair_update_time" property="repairUpdateTime"/>
|
|
|
<result column="repair_back_receipt_date" property="repairBackReceiptDate"/>
|
|
|
- <result column="repair_costs" property="repairCosts"/>
|
|
|
+ <result column="repair_factory_costs" property="repairFactoryCosts"/>
|
|
|
+ <result column="repair_customer_costs " property="repairCustomerCosts"/>
|
|
|
<collection property="complaintDetectList" column="customer_id" ofType="ComplaintDetectInfo" select="listComplaintDetect"/>
|
|
|
</resultMap>
|
|
|
|
|
@@ -195,7 +197,7 @@
|
|
|
area_number, repair_send_merge_address, repair_send_address,
|
|
|
repair_send_logistics_company, repair_send_logistics_no,
|
|
|
repair_desc, repair_state, repair_alipay, repair_alipay_name,
|
|
|
- repair_is_transfer
|
|
|
+ repair_is_transfer,repair_factory_costs,repair_customer_costs
|
|
|
)
|
|
|
values (#{customerId,jdbcType=INTEGER}, #{orderId,jdbcType=INTEGER},
|
|
|
#{signclosedId,jdbcType=INTEGER}, #{repairBackEfastOrderId,jdbcType=VARCHAR}, #{repairBackStatus,jdbcType=BIT},
|
|
@@ -206,7 +208,7 @@
|
|
|
#{areaNumber,jdbcType=VARCHAR}, #{repairSendMergeAddress,jdbcType=VARCHAR}, #{repairSendAddress,jdbcType=VARCHAR},
|
|
|
#{repairSendLogisticsCompany,jdbcType=VARCHAR}, #{repairSendLogisticsNo,jdbcType=VARCHAR},
|
|
|
#{repairDesc,jdbcType=VARCHAR}, #{repairState,jdbcType=BIT}, #{repairAlipay,jdbcType=VARCHAR}, #{repairAlipayName,jdbcType=VARCHAR},
|
|
|
- #{repairIsTransfer,jdbcType=BIT}
|
|
|
+ #{repairIsTransfer,jdbcType=BIT},#{repairFactoryCosts,jdbcType=INTEGER},#{repairCustomerCosts,jdbcType=INTEGER}
|
|
|
)
|
|
|
</insert>
|
|
|
|
|
@@ -301,8 +303,11 @@
|
|
|
<if test="repairBackReceiptDate != null" >
|
|
|
repair_back_receipt_date = #{repairBackReceiptDate},
|
|
|
</if>
|
|
|
- <if test="repairCosts != null" >
|
|
|
- repair_costs = #{repairCosts}
|
|
|
+ <if test="repairFactoryCosts != null" >
|
|
|
+ repair_factory_costs = #{repairFactoryCosts},
|
|
|
+ </if>
|
|
|
+ <if test="repairCustomerCosts != null" >
|
|
|
+ repair_customer_costs = #{repairCustomerCosts}
|
|
|
</if>
|
|
|
</set>
|
|
|
where repair_id = #{repairId}
|