SELECTo0_.idASid_0,o0_.dateASdate_1,o0_.stripping_typeASstripping_type_2,o0_.number_of_sheetsASnumber_of_sheets_3,o0_.nodule_on_surfaceASnodule_on_surface_4,o0_.nodule_on_edgeASnodule_on_edge_5,o0_.nodule_on_bottomASnodule_on_bottom_6,o0_.shortsASshorts_7,o0_.nodule_plus_organic_on_topASnodule_plus_organic_on_top_8,o0_.spongy_topASspongy_top_9,o0_.multi_layersASmulti_layers_10,o0_.bent_sheetASbent_sheet_11,o0_.thine_sheetASthine_sheet_12,o0_.broken_sheetASbroken_sheet_13,o0_.brittle_sheetASbrittle_sheet_14,o0_.organic_on_surfaceASorganic_on_surface_15,o0_.oil_or_greaseASoil_or_grease_16,o0_.electrolyte_on_surfaceASelectrolyte_on_surface_17,o0_.entry_dateASentry_date_18,o0_.unit_idASunit_id_19,o0_.bundle_grade_idASbundle_grade_id_20,o0_.encoded_by_idASencoded_by_id_21,o0_.inspected_by_idASinspected_by_id_22FROMoff_grade_causeso0_WHEREo0_.idIN (?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BYo0_.dateDESC
SELECTo0_.idASid_0,o0_.dateASdate_1,o0_.stripping_typeASstripping_type_2,o0_.number_of_sheetsASnumber_of_sheets_3,o0_.nodule_on_surfaceASnodule_on_surface_4,o0_.nodule_on_edgeASnodule_on_edge_5,o0_.nodule_on_bottomASnodule_on_bottom_6,o0_.shortsASshorts_7,o0_.nodule_plus_organic_on_topASnodule_plus_organic_on_top_8,o0_.spongy_topASspongy_top_9,o0_.multi_layersASmulti_layers_10,o0_.bent_sheetASbent_sheet_11,o0_.thine_sheetASthine_sheet_12,o0_.broken_sheetASbroken_sheet_13,o0_.brittle_sheetASbrittle_sheet_14,o0_.organic_on_surfaceASorganic_on_surface_15,o0_.oil_or_greaseASoil_or_grease_16,o0_.electrolyte_on_surfaceASelectrolyte_on_surface_17,o0_.entry_dateASentry_date_18,o0_.unit_idASunit_id_19,o0_.bundle_grade_idASbundle_grade_id_20,o0_.encoded_by_idASencoded_by_id_21,o0_.inspected_by_idASinspected_by_id_22FROMoff_grade_causeso0_WHEREo0_.idIN (?,?,?,?,?,?,?,?,?,?,?,?,?)
ORDER BYo0_.dateDESC
SELECTo0_.idASid_0,o0_.dateASdate_1,o0_.stripping_typeASstripping_type_2,o0_.number_of_sheetsASnumber_of_sheets_3,o0_.nodule_on_surfaceASnodule_on_surface_4,o0_.nodule_on_edgeASnodule_on_edge_5,o0_.nodule_on_bottomASnodule_on_bottom_6,o0_.shortsASshorts_7,o0_.nodule_plus_organic_on_topASnodule_plus_organic_on_top_8,o0_.spongy_topASspongy_top_9,o0_.multi_layersASmulti_layers_10,o0_.bent_sheetASbent_sheet_11,o0_.thine_sheetASthine_sheet_12,o0_.broken_sheetASbroken_sheet_13,o0_.brittle_sheetASbrittle_sheet_14,o0_.organic_on_surfaceASorganic_on_surface_15,o0_.oil_or_greaseASoil_or_grease_16,o0_.electrolyte_on_surfaceASelectrolyte_on_surface_17,o0_.entry_dateASentry_date_18,o0_.unit_idASunit_id_19,o0_.bundle_grade_idASbundle_grade_id_20,o0_.encoded_by_idASencoded_by_id_21,o0_.inspected_by_idASinspected_by_id_22FROMoff_grade_causeso0_WHEREo0_.idIN (13,12,11,10,9,8,7,6,5,4,3,2,1) ORDER BYo0_.dateDESC;