|
@@ -77,7 +77,9 @@
|
|
|
cpts.proc_type_name typeName,
|
|
|
cpts.proc_type_id typeId,
|
|
|
cd.company_id companyId,
|
|
|
- si.store_name signclosedStoreName
|
|
|
+ si.store_name signclosedStoreName,
|
|
|
+ cd.detect_confirm_time detectConfirmTime,
|
|
|
+ cd.detect_buy_time detectBuytime
|
|
|
from tb_rst_complaint_detect cd
|
|
|
LEFT JOIN tb_rst_cm_question_describe qd on cd.customer_id = qd.customer_id
|
|
|
LEFT JOIN tb_rst_product_info pi ON cd.product_id = pi.product_id
|
|
@@ -185,7 +187,9 @@
|
|
|
cd.company_id companyId,
|
|
|
si.store_name signclosedStoreName,
|
|
|
cd.detect_is_download detectIsDownload,
|
|
|
- cs.signclosed_customer_desc signclosedCustomerDesc
|
|
|
+ cs.signclosed_customer_desc signclosedCustomerDesc,
|
|
|
+ cd.detect_confirm_time detectConfirmTime,
|
|
|
+ cd.detect_buy_time detectBuytime
|
|
|
from tb_rst_complaint_detect cd
|
|
|
LEFT JOIN tb_rst_product_info pi ON cd.product_id = pi.product_id
|
|
|
LEFT JOIN tb_rst_cm_question_describe qd on cd.customer_id = qd.customer_id
|
|
@@ -503,7 +507,13 @@
|
|
|
company_id = #{companyId},
|
|
|
</if>
|
|
|
<if test="detectIsDownload != null" >
|
|
|
- detect_is_download = #{detectIsDownload}
|
|
|
+ detect_is_download = #{detectIsDownload},
|
|
|
+ </if>
|
|
|
+ <if test="detectConfirmTime != null" >
|
|
|
+ detect_confirm_time = #{detectConfirmTime},
|
|
|
+ </if>
|
|
|
+ <if test="detectBuytime != null" >
|
|
|
+ detect_buy_time = #{detectBuytime}
|
|
|
</if>
|
|
|
</set>
|
|
|
where
|
|
@@ -549,7 +559,9 @@
|
|
|
question_id,
|
|
|
method_id,
|
|
|
detect_source,
|
|
|
- company_id
|
|
|
+ company_id,
|
|
|
+ detect_confirm_time,
|
|
|
+ detect_buy_time
|
|
|
)
|
|
|
values
|
|
|
(
|
|
@@ -589,7 +601,9 @@
|
|
|
#{questionId},
|
|
|
#{methodId},
|
|
|
#{detectSource},
|
|
|
- #{companyId}
|
|
|
+ #{companyId},
|
|
|
+ #{detectConfirmTime},
|
|
|
+ #{detectBuytime}
|
|
|
)
|
|
|
</insert>
|
|
|
|