and device_no=#{query.deviceNo}
and customer_name=#{query.customerName}
and agent_name=#{query.agentName}
and model_no=#{query.modelNo}
and warranty_state=#{query.warrantyState}
and start_warranty_date >= #{query.warrantyStartDate} and start_warranty_date <= #{query.warrantyEndDate}
update device set data_valid_state=0 where id in
#{item}