|
|
|
@ -17,14 +17,14 @@
|
|
|
|
|
<result property="modelCode" column="model_code"/>
|
|
|
|
|
<result property="processingTime" column="processing_time"/>
|
|
|
|
|
<result property="operatorId" column="operator_id"/>
|
|
|
|
|
<result property="testResult" column="test_result" />
|
|
|
|
|
<result property="testValue" column="test_value" />
|
|
|
|
|
<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="testResult" column="test_result"/>
|
|
|
|
|
<result property="testValue" column="test_value"/>
|
|
|
|
|
<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"/>
|
|
|
|
@ -87,13 +87,13 @@
|
|
|
|
|
and processing_time between #{params.beginProcessingTime} and #{params.endProcessingTime}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="operatorId != null and operatorId != ''">and operator_id = #{operatorId}</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="remark != null and remark != ''"> and remark like concat('%', #{remark}, '%')</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="remark != null and remark != ''">and remark like concat('%', #{remark}, '%')</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>
|
|
|
|
@ -245,35 +245,48 @@
|
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
<if test="tId != null and tId != ''">t_id = #{tId},</if>
|
|
|
|
|
<if test="epc != null and epc != ''">epc = #{epc},</if>
|
|
|
|
|
<if test="password != null and password != '!clear!'">password = #{password},</if>
|
|
|
|
|
<if test="password != null and password == '!clear!'">password = NULL,</if>
|
|
|
|
|
<if test="orderCode != null and orderCode != '!clear!'">order_code = #{orderCode},</if>
|
|
|
|
|
<if test="orderCode != null and orderCode == '!clear!'">order_code = NULL,</if>
|
|
|
|
|
<if test="batchNumber != null and batchNumber != '!clear!'">batch_number = #{batchNumber},</if>
|
|
|
|
|
<if test="batchNumber != null and batchNumber == '!clear!'">batch_number = NULL,</if>
|
|
|
|
|
<if test="tagSequence != null and tagSequence != '!clear!'">tag_sequence = #{tagSequence},</if>
|
|
|
|
|
<if test="tagSequence != null and tagSequence == '!clear!'">tag_sequence = NULL,</if>
|
|
|
|
|
<if test="password != null and password != '' and password != '!clear!'">password = #{password},</if>
|
|
|
|
|
<if test="password == '!clear!'">password = NULL,</if>
|
|
|
|
|
<if test="orderCode != null and orderCode != '' and orderCode != '!clear!'">order_code = #{orderCode},</if>
|
|
|
|
|
<if test="orderCode == '!clear!'">order_code = NULL,</if>
|
|
|
|
|
<if test="batchNumber != null and batchNumber != '' and batchNumber != '!clear!'">batch_number =
|
|
|
|
|
#{batchNumber},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="batchNumber == '!clear!'">batch_number = NULL,</if>
|
|
|
|
|
<if test="tagSequence != null and tagSequence != '' and tagSequence != '!clear!'">tag_sequence =
|
|
|
|
|
#{tagSequence},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="tagSequence == '!clear!'">tag_sequence = NULL,</if>
|
|
|
|
|
<if test="totalQuantity != null">total_quantity = #{totalQuantity},</if>
|
|
|
|
|
<if test="tagBatch != null and tagBatch != '!clear!'">tag_batch = #{tagBatch},</if>
|
|
|
|
|
<if test="tagBatch != null and tagBatch == '!clear!'">tag_batch = NULL,</if>
|
|
|
|
|
<if test="modelCode != null">model_code = #{modelCode},</if>
|
|
|
|
|
<if test="tagBatch != null and tagBatch != '' and tagBatch != '!clear!'">tag_batch = #{tagBatch},</if>
|
|
|
|
|
<if test="tagBatch == '!clear!'">tag_batch = NULL,</if>
|
|
|
|
|
<if test="modelCode != null and modelCode != ''">model_code = #{modelCode},</if>
|
|
|
|
|
<if test="processingTime != null">processing_time = #{processingTime},</if>
|
|
|
|
|
<if test="operatorId != null and operatorId != '!clear!'">operator_id = #{operatorId},</if>
|
|
|
|
|
<if test="operatorId != null and operatorId == '!clear!'">operator_id = NULL,</if>
|
|
|
|
|
<if test="testResult != null and testResult != '!clear!'">test_result = #{testResult},</if>
|
|
|
|
|
<if test="testResult != null and testResult == '!clear!'">test_result = NULL,</if>
|
|
|
|
|
<if test="testValue != null and testValue != '!clear!'">test_value = #{testValue},</if>
|
|
|
|
|
<if test="testValue != null and testValue == '!clear!'">test_value = NULL,</if>
|
|
|
|
|
<if test="referenceValue != null and referenceValue != '!clear!'">reference_value = #{referenceValue},</if>
|
|
|
|
|
<if test="referenceValue != null and referenceValue == '!clear!'">reference_value = NULL,</if>
|
|
|
|
|
<if test="operatorId != null and modelCode != '' and operatorId != '!clear!'">operator_id = #{operatorId},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="operatorId == '!clear!'">operator_id = NULL,</if>
|
|
|
|
|
<if test="testResult != null and testResult != '' and testResult != '!clear!'">test_result =
|
|
|
|
|
#{testResult},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="testResult == '!clear!'">test_result = NULL,</if>
|
|
|
|
|
<if test="testValue != null and testValue != '' and testValue != '!clear!'">test_value = #{testValue},</if>
|
|
|
|
|
<if test="testValue == '!clear!'">test_value = NULL,</if>
|
|
|
|
|
<if test="referenceValue != null and referenceValue != '' and referenceValue != '!clear!'">reference_value =
|
|
|
|
|
#{referenceValue},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="referenceValue == '!clear!'">reference_value = NULL,</if>
|
|
|
|
|
<if test="testingTime != null">testing_time = #{testingTime},</if>
|
|
|
|
|
<if test="fileName != null and fileName != '!clear!'">file_name = #{fileName},</if>
|
|
|
|
|
<if test="fileName != null and fileName == '!clear!'">file_name = NULL,</if>
|
|
|
|
|
<if test="destinationInfo != null and destinationInfo != '!clear!'">destination_info = #{destinationInfo},</if>
|
|
|
|
|
<if test="destinationInfo != null and destinationInfo == '!clear!'">destination_info = NULL,</if>
|
|
|
|
|
<if test="libraryFlag != null and libraryFlag != '!clear!'">library_flag = #{libraryFlag},</if>
|
|
|
|
|
<if test="libraryFlag != null and libraryFlag == '!clear!'">library_flag = NULL,</if>
|
|
|
|
|
<!-- <if test="intendedUse != null">intended_use = #{intendedUse},</if>-->
|
|
|
|
|
<if test="fileName != null and fileName != '' and fileName != '!clear!'">file_name = #{fileName},</if>
|
|
|
|
|
<if test="fileName == '!clear!'">file_name = NULL,</if>
|
|
|
|
|
<if test="destinationInfo != null and destinationInfo != '' and destinationInfo != '!clear!'">
|
|
|
|
|
destination_info = #{destinationInfo},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="destinationInfo == '!clear!'">destination_info = NULL,</if>
|
|
|
|
|
<if test="libraryFlag != null and libraryFlag != '' and libraryFlag != '!clear!'">library_flag =
|
|
|
|
|
#{libraryFlag},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="libraryFlag == '!clear!'">library_flag = NULL,</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>
|
|
|
|
@ -282,8 +295,8 @@
|
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
|
|
<if test="remark != null and remark != '!clear!'">remark = #{remark},</if>
|
|
|
|
|
<if test="remark != null and remark == '!clear!'">remark = NULL,</if>
|
|
|
|
|
<if test="remark != null and and remark != '' remark != '!clear!'">remark = #{remark},</if>
|
|
|
|
|
<if test="remark == '!clear!'">remark = NULL,</if>
|
|
|
|
|
</trim>
|
|
|
|
|
where t_id = #{tId}
|
|
|
|
|
</update>
|
|
|
|
|