|
@@ -59,8 +59,7 @@
|
|
cd.scrap_completion_time scrapCompletionTime,
|
|
cd.scrap_completion_time scrapCompletionTime,
|
|
qd.describe_content describeContent,
|
|
qd.describe_content describeContent,
|
|
qd.describe_handle_desc describeHandleDesc,
|
|
qd.describe_handle_desc describeHandleDesc,
|
|
- sa.admin_name adminName,
|
|
|
|
- cd.detect_is_whetherLess detectIsWhetherLess
|
|
|
|
|
|
+ sa.admin_name adminName
|
|
from tb_rst_complaint_detect cd
|
|
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_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
|
|
LEFT JOIN tb_rst_product_info pi ON cd.product_id = pi.product_id
|
|
@@ -169,8 +168,7 @@
|
|
cd.scrap_completion_time scrapCompletionTime,
|
|
cd.scrap_completion_time scrapCompletionTime,
|
|
qd.describe_content describeContent,
|
|
qd.describe_content describeContent,
|
|
qd.describe_handle_desc describeHandleDesc,
|
|
qd.describe_handle_desc describeHandleDesc,
|
|
- sa.admin_name adminName,
|
|
|
|
- cd.detect_is_whetherLess detectIsWhetherLess
|
|
|
|
|
|
+ sa.admin_name adminName
|
|
from tb_rst_complaint_detect cd
|
|
from tb_rst_complaint_detect cd
|
|
LEFT JOIN tb_rst_product_info pi ON cd.product_id = pi.product_id
|
|
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
|
|
LEFT JOIN tb_rst_cm_question_describe qd on cd.customer_id = qd.customer_id
|
|
@@ -314,9 +312,6 @@
|
|
<if test="maintenanceResults != null and maintenanceResults != ''">
|
|
<if test="maintenanceResults != null and maintenanceResults != ''">
|
|
and cd.maintenance_results = #{maintenanceResults}
|
|
and cd.maintenance_results = #{maintenanceResults}
|
|
</if>
|
|
</if>
|
|
- <if test="detectIsWhetherLess != null and detectIsWhetherLess != ''">
|
|
|
|
- and cd.detect_is_whetherLess = #{detectIsWhetherLess}
|
|
|
|
- </if>
|
|
|
|
</where>
|
|
</where>
|
|
GROUP BY cd.detect_id
|
|
GROUP BY cd.detect_id
|
|
ORDER BY cd.detect_create_time DESC
|
|
ORDER BY cd.detect_create_time DESC
|
|
@@ -427,9 +422,6 @@
|
|
<if test="scrapCompletionTime != null and scrapCompletionTime != ''" >
|
|
<if test="scrapCompletionTime != null and scrapCompletionTime != ''" >
|
|
scrap_completion_time = #{scrapCompletionTime},
|
|
scrap_completion_time = #{scrapCompletionTime},
|
|
</if>
|
|
</if>
|
|
- <if test="detectIsWhetherLess != null and detectIsWhetherLess != ''">
|
|
|
|
- detect_is_whetherLess = #{detectIsWhetherLess}
|
|
|
|
- </if>
|
|
|
|
</set>
|
|
</set>
|
|
where
|
|
where
|
|
detect_id = #{detectId,jdbcType=INTEGER}
|
|
detect_id = #{detectId,jdbcType=INTEGER}
|
|
@@ -467,8 +459,7 @@
|
|
detect_is_refurbishing,
|
|
detect_is_refurbishing,
|
|
maintenance_results,
|
|
maintenance_results,
|
|
detect_number,
|
|
detect_number,
|
|
- maintenance_cut_time,
|
|
|
|
- detect_is_whetherLess
|
|
|
|
|
|
+ maintenance_cut_time
|
|
)
|
|
)
|
|
values
|
|
values
|
|
(
|
|
(
|
|
@@ -501,8 +492,7 @@
|
|
#{detectIsRefurbishing},
|
|
#{detectIsRefurbishing},
|
|
#{maintenanceResults},
|
|
#{maintenanceResults},
|
|
#{detectNumber},
|
|
#{detectNumber},
|
|
- #{maintenanceCutTime},
|
|
|
|
- #{detectIsWhetherLess}
|
|
|
|
|
|
+ #{maintenanceCutTime}
|
|
)
|
|
)
|
|
</insert>
|
|
</insert>
|
|
|
|
|