|
@@ -26,6 +26,14 @@
|
|
|
detect_offer detectOffer,
|
|
|
detect_renovation detectRenovation,
|
|
|
detect_processing_results detectProcessingResults,
|
|
|
+ detect_production detectProduction,
|
|
|
+ detect_fuselage_barcode detectFuselageBarcode,
|
|
|
+ detect_film_type detectFilmType,
|
|
|
+ detect_float_type detectFloatType,
|
|
|
+ detect_version_number detectVersionNumber,
|
|
|
+ detect_is_refurbishing detectIsRefurbishing,
|
|
|
+ maintenance_results maintenanceResults,
|
|
|
+ detect_number detectNumber,
|
|
|
cd.signclosed_id signclosedId,
|
|
|
pi.product_name productName,
|
|
|
ci.color_name colorName,
|
|
@@ -66,6 +74,14 @@
|
|
|
cd.detect_renovation detectRenovation,
|
|
|
cd.detect_processing_results detectProcessingResults,
|
|
|
cd.detect_customer_desc detectCustomerDesc,
|
|
|
+ cd.detect_production detectProduction,
|
|
|
+ cd.detect_fuselage_barcode detectFuselageBarcode,
|
|
|
+ cd.detect_film_type detectFilmType,
|
|
|
+ cd.detect_float_type detectFloatType,
|
|
|
+ cd.detect_version_number detectVersionNumber,
|
|
|
+ cd.detect_is_refurbishing detectIsRefurbishing,
|
|
|
+ cd.maintenance_results maintenanceResults,
|
|
|
+ cd.detect_number detectNumber,
|
|
|
qd.describe_title questionTitle,
|
|
|
pi.product_name productName,
|
|
|
pt.type_name productTypeName,
|
|
@@ -126,6 +142,9 @@
|
|
|
<if test="detectProcessingResults != null and detectProcessingResults != ''" >
|
|
|
AND cd.detect_processing_results = #{detectProcessingResults}
|
|
|
</if>
|
|
|
+ <if test="detectNumber != null and detectNumber != ''" >
|
|
|
+ AND cd.detect_number = #{detectNumber}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
ORDER BY cd.detect_create_time DESC
|
|
|
</select>
|
|
@@ -182,7 +201,31 @@
|
|
|
detect_processing_results = #{detectProcessingResults,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="detectCustomerDesc != null" >
|
|
|
- detect_customer_desc = #{detectCustomerDesc,jdbcType=VARCHAR}
|
|
|
+ detect_customer_desc = #{detectCustomerDesc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="detectProduction != null" >
|
|
|
+ detect_production = #{detectProduction,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="detectFuselageBarcode != null and detectFuselageBarcode != ''" >
|
|
|
+ detect_fuselage_barcode = #{detectFuselageBarcode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="detectFilmType != null and detectFilmType != ''" >
|
|
|
+ detect_film_type = #{detectFilmType,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="detectFloatType != null and detectFloatType != ''" >
|
|
|
+ detect_float_type = #{detectFloatType,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="detectVersionNumber != null and detectVersionNumber != ''" >
|
|
|
+ detect_version_number = #{detectVersionNumber,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="detectIsRefurbishing != null and detectIsRefurbishing != ''" >
|
|
|
+ detect_is_refurbishing = #{detectIsRefurbishing,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="maintenanceResults != null and maintenanceResults != ''" >
|
|
|
+ maintenance_results = #{maintenanceResults,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="detectNumber != null and detectNumber != ''" >
|
|
|
+ detect_number = #{detectNumber,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
</set>
|
|
|
where
|
|
@@ -212,7 +255,15 @@
|
|
|
detect_offer,
|
|
|
detect_renovation,
|
|
|
detect_processing_results,
|
|
|
- signclosed_id
|
|
|
+ signclosed_id,
|
|
|
+ detect_production,
|
|
|
+ detect_fuselage_barcode,
|
|
|
+ detect_film_type,
|
|
|
+ detect_float_type,
|
|
|
+ detect_version_number,
|
|
|
+ detect_is_refurbishing,
|
|
|
+ maintenance_results,
|
|
|
+ detect_number
|
|
|
)
|
|
|
values
|
|
|
(
|
|
@@ -236,7 +287,15 @@
|
|
|
#{detectOffer},
|
|
|
#{detectRenovation},
|
|
|
#{detectProcessingResults},
|
|
|
- #{signclosedId}
|
|
|
+ #{signclosedId},
|
|
|
+ #{detectProduction},
|
|
|
+ #{detectFuselageBarcode},
|
|
|
+ #{detectFilmType},
|
|
|
+ #{detectFloatType},
|
|
|
+ #{detectVersionNumber},
|
|
|
+ #{detectIsRefurbishing},
|
|
|
+ #{maintenanceResults},
|
|
|
+ #{detectNumber}
|
|
|
)
|
|
|
</insert>
|
|
|
|
|
@@ -267,4 +326,13 @@
|
|
|
select * from tb_rst_complaint_detect_img
|
|
|
where detect_id = #{detectId}
|
|
|
</select>
|
|
|
+
|
|
|
+ <select id="getDetectNum" resultType="Integer">
|
|
|
+ SELECT
|
|
|
+ count(1)
|
|
|
+ FROM
|
|
|
+ tb_rst_complaint_detect
|
|
|
+ WHERE
|
|
|
+ date_format(detect_create_time, '%Y-%m') = date_format(now(), '%Y-%m')
|
|
|
+ </select>
|
|
|
</mapper>
|