|
@@ -61,7 +61,7 @@
|
|
|
cd.detect_date detectDate,
|
|
|
cd.product_color_id productColorId,
|
|
|
qd.describe_title questionTitle,
|
|
|
- pt.type_name productTypeName,
|
|
|
+ pt.type_name productName,
|
|
|
cd.maintenance_results maintenanceResults
|
|
|
from tb_rst_complaint_detect cd
|
|
|
LEFT JOIN tb_rst_product_info pi ON cd.product_id = pi.product_id
|
|
@@ -105,7 +105,6 @@
|
|
|
AND pt.type_id = #{productTypeId,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
</where>
|
|
|
- ORDER BY cd.signclosed_create_time DESC
|
|
|
</select>
|
|
|
<insert id="insert" parameterType="ComplaintDetectInfo" >
|
|
|
insert into tb_rst_complaint_detect (detect_id, customer_id,signclosed_id,product_id,
|
|
@@ -196,7 +195,7 @@
|
|
|
detect_is_maintenance = #{detectIsMaintenance,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="maintenanceResults != null" >
|
|
|
- maintenance_results = #{maintenanceResults,jdbcType=BIT}
|
|
|
+ maintenance_results = #{maintenanceResults,jdbcType=BIT},
|
|
|
</if>
|
|
|
<if test="productColorId != null" >
|
|
|
product_color_id = #{productColorId,jdbcType=INTEGER}
|