update qc_check_sample_task
sample_time = #{sampleTime},
sample_Num = #{sampleNum},
sample_Address = #{sampleAddress},
first_check_user_code = #{firstCheckUserCode},
first_check_user_name = #{firstCheckUserName},
first_check_result = #{firstCheckResult},
first_check_time = #{firstCheckTime},
second_check_user_code = #{secondCheckUserCode},
second_check_user_name = #{secondCheckUserName},
second_check_result = #{secondCheckResult},
second_check_time = #{secondCheckTime},
third_check_user_code = #{thirdCheckUserCode},
third_check_user_name = #{thirdCheckUserName},
third_check_result = #{thirdCheckResult},
third_check_time = #{thirdCheckTime},
update_time = getDate()
where id = #{id}
INSERT INTO qc_check_sample_task (
id,
material_name,
income_batch_no,
work_order_code_sap,
create_time
)
VALUES
(
#{item.id},
#{item.materialName},
#{item.incomeBatchNo},
#{item.workOrderCodeSap},
#{item.createTime}
)