|
|
|
@ -22,6 +22,9 @@
|
|
|
|
|
<result property="referenceValue" column="reference_value" />
|
|
|
|
|
<result property="testingTime" column="testing_time" />
|
|
|
|
|
<result property="fileName" column="file_name" />
|
|
|
|
|
<result property="destinationInfo" column="destination_info" />
|
|
|
|
|
<result property="libraryFlag" column="library_flag" />
|
|
|
|
|
<result property="intendedUse" column="intended_use" />
|
|
|
|
|
<result property="delFlag" column="del_flag"/>
|
|
|
|
|
<result property="fields1" column="fields_1"/>
|
|
|
|
|
<result property="fields2" column="fields_2"/>
|
|
|
|
@ -51,6 +54,9 @@
|
|
|
|
|
reference_value,
|
|
|
|
|
testing_time,
|
|
|
|
|
file_name,
|
|
|
|
|
destination_info,
|
|
|
|
|
library_flag,
|
|
|
|
|
intended_use,
|
|
|
|
|
del_flag,
|
|
|
|
|
fields_1,
|
|
|
|
|
fields_2,
|
|
|
|
@ -81,9 +87,12 @@
|
|
|
|
|
and processing_time between #{params.beginProcessingTime} and #{params.endProcessingTime}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="operatorId != null and operatorId != ''">and operator_id = #{operatorId}</if>
|
|
|
|
|
<if test="fields1 != null and fields1 != ''">and fields_1 = #{fields1}</if>
|
|
|
|
|
<if test="fields2 != null and fields2 != ''">and fields_2 = #{fields2}</if>
|
|
|
|
|
<if test="fields3 != null and fields3 != ''">and fields_3 = #{fields3}</if>
|
|
|
|
|
<if test="destinationInfo != null and destinationInfo != ''"> and destination_info = #{destinationInfo}</if>
|
|
|
|
|
<if test="libraryFlag != null and libraryFlag != ''"> and library_flag = #{libraryFlag}</if>
|
|
|
|
|
<if test="intendedUse != null and intendedUse != ''"> and intended_use = #{intendedUse}</if>
|
|
|
|
|
<if test="fields1 != null and fields1 != ''"> and fields_1 = #{fields1}</if>
|
|
|
|
|
<if test="fields2 != null and fields2 != ''"> and fields_2 = #{fields2}</if>
|
|
|
|
|
<if test="fields3 != null and fields3 != ''"> and fields_3 = #{fields3}</if>
|
|
|
|
|
<if test="startDate != null and startDate != ''">and DATE_FORMAT(processing_time, '%Y/%m/%d') >=
|
|
|
|
|
#{startDate}
|
|
|
|
|
</if>
|
|
|
|
@ -137,6 +146,9 @@
|
|
|
|
|
<if test="referenceValue != null">reference_value,</if>
|
|
|
|
|
<if test="testingTime != null">testing_time,</if>
|
|
|
|
|
<if test="fileName != null">file_name,</if>
|
|
|
|
|
<if test="destinationInfo != null">destination_info,</if>
|
|
|
|
|
<if test="libraryFlag != null">library_flag,</if>
|
|
|
|
|
<if test="intendedUse != null">intended_use,</if>
|
|
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
|
|
<if test="fields1 != null">fields_1,</if>
|
|
|
|
|
<if test="fields2 != null">fields_2,</if>
|
|
|
|
@ -165,6 +177,9 @@
|
|
|
|
|
<if test="referenceValue != null">#{referenceValue},</if>
|
|
|
|
|
<if test="testingTime != null">#{testingTime},</if>
|
|
|
|
|
<if test="fileName != null">#{fileName},</if>
|
|
|
|
|
<if test="destinationInfo != null">#{destinationInfo},</if>
|
|
|
|
|
<if test="libraryFlag != null">#{libraryFlag},</if>
|
|
|
|
|
<if test="intendedUse != null">#{intendedUse},</if>
|
|
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
|
|
<if test="fields1 != null">#{fields1},</if>
|
|
|
|
|
<if test="fields2 != null">#{fields2},</if>
|
|
|
|
@ -196,6 +211,9 @@
|
|
|
|
|
<if test="referenceValue != null">reference_value = #{referenceValue},</if>
|
|
|
|
|
<if test="testingTime != null">testing_time = #{testingTime},</if>
|
|
|
|
|
<if test="fileName != null">file_name = #{fileName},</if>
|
|
|
|
|
<if test="destinationInfo != null">destination_info = #{destinationInfo},</if>
|
|
|
|
|
<if test="libraryFlag != null">library_flag = #{libraryFlag},</if>
|
|
|
|
|
<if test="intendedUse != null">intended_use = #{intendedUse},</if>
|
|
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
|
|
<if test="fields1 != null">fields_1 = #{fields1},</if>
|
|
|
|
|
<if test="fields2 != null">fields_2 = #{fields2},</if>
|
|
|
|
@ -228,6 +246,9 @@
|
|
|
|
|
<if test="referenceValue != null">reference_value = #{referenceValue},</if>
|
|
|
|
|
<if test="testingTime != null">testing_time = #{testingTime},</if>
|
|
|
|
|
<if test="fileName != null">file_name = #{fileName},</if>
|
|
|
|
|
<if test="destinationInfo != null">destination_info = #{destinationInfo},</if>
|
|
|
|
|
<if test="libraryFlag != null">library_flag = #{libraryFlag},</if>
|
|
|
|
|
<if test="intendedUse != null">intended_use = #{intendedUse},</if>
|
|
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
|
|
<if test="fields1 != null">fields_1 = #{fields1},</if>
|
|
|
|
|
<if test="fields2 != null">fields_2 = #{fields2},</if>
|
|
|
|
@ -261,7 +282,8 @@
|
|
|
|
|
tag_sequence, total_quantity, tag_batch, model_code,
|
|
|
|
|
processing_time, operator_id, fields_1, fields_2, fields_3,
|
|
|
|
|
create_by, create_time, update_by, update_time, remark,
|
|
|
|
|
test_result,test_value,reference_value,testing_time,file_name
|
|
|
|
|
test_result,test_value,reference_value,testing_time,file_name,
|
|
|
|
|
destination_info,library_flag,intended_use
|
|
|
|
|
) values
|
|
|
|
|
<foreach collection="list" item="item" separator=",">
|
|
|
|
|
(
|
|
|
|
@ -270,6 +292,7 @@
|
|
|
|
|
#{item.processingTime}, #{item.operatorId}, #{item.fields1}, #{item.fields2}, #{item.fields3},
|
|
|
|
|
#{item.createBy}, sysdate(), #{item.updateBy}, sysdate(), #{item.remark},
|
|
|
|
|
#{item.testResult}, #{item.testValue},#{item.referenceValue}, #{item.testingTime},#{item.fileName}
|
|
|
|
|
,#{item.destinationInfo}, #{item.libraryFlag},#{item.intendedUse}
|
|
|
|
|
)
|
|
|
|
|
</foreach>
|
|
|
|
|
</insert>
|
|
|
|
|