and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, house_id, warehouse_id, record_unite, keep_unite, location_num, quality, sub_type, sub_type_detailed, htype, number, stand_number, input_year, grow_year, keep_method, level, weight, impurity, water, unsound, recorder, house_type, design_house_capacity, valid_house_capacity, price, place_of_origin, storage_location, disperse_capacity, length, width, height, pack_num, pack_average_weight, keeper_ids, gluten_water_count, eat_score, unit_head, fat_index, peroxide_value, refraction_index, residual_solvent, filling_time, line_height, seal_status, auth_code, org_id, history_status delete from storage_foodbasicinfo where id = #{id,jdbcType=INTEGER} delete from storage_foodbasicinfo insert into storage_foodbasicinfo (id, house_id, warehouse_id, record_unite, keep_unite, location_num, quality, sub_type, sub_type_detailed, htype, number, stand_number, input_year, grow_year, keep_method, level, weight, impurity, water, unsound, recorder, house_type, design_house_capacity, valid_house_capacity, price, place_of_origin, storage_location, disperse_capacity, length, width, height, pack_num, pack_average_weight, keeper_ids, gluten_water_count, eat_score, unit_head, fat_index, peroxide_value, refraction_index, residual_solvent, filling_time, line_height, seal_status, auth_code, org_id, history_status) values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{warehouseId,jdbcType=INTEGER}, #{recordUnite,jdbcType=VARCHAR}, #{keepUnite,jdbcType=VARCHAR}, #{locationNum,jdbcType=VARCHAR}, #{quality,jdbcType=VARCHAR}, #{subType,jdbcType=INTEGER}, #{subTypeDetailed,jdbcType=INTEGER}, #{htype,jdbcType=VARCHAR}, #{number,jdbcType=DOUBLE}, #{standNumber,jdbcType=DOUBLE}, #{inputYear,jdbcType=TIMESTAMP}, #{growYear,jdbcType=INTEGER}, #{keepMethod,jdbcType=VARCHAR}, #{level,jdbcType=VARCHAR}, #{weight,jdbcType=VARCHAR}, #{impurity,jdbcType=VARCHAR}, #{water,jdbcType=VARCHAR}, #{unsound,jdbcType=VARCHAR}, #{recorder,jdbcType=VARCHAR}, #{houseType,jdbcType=VARCHAR}, #{designHouseCapacity,jdbcType=DECIMAL}, #{validHouseCapacity,jdbcType=VARCHAR}, #{price,jdbcType=VARCHAR}, #{placeOfOrigin,jdbcType=VARCHAR}, #{storageLocation,jdbcType=VARCHAR}, #{disperseCapacity,jdbcType=VARCHAR}, #{length,jdbcType=DECIMAL}, #{width,jdbcType=DECIMAL}, #{height,jdbcType=DECIMAL}, #{packNum,jdbcType=VARCHAR}, #{packAverageWeight,jdbcType=VARCHAR}, #{keeperIds,jdbcType=VARCHAR}, #{glutenWaterCount,jdbcType=VARCHAR}, #{eatScore,jdbcType=VARCHAR}, #{unitHead,jdbcType=VARCHAR}, #{fatIndex,jdbcType=VARCHAR}, #{peroxideValue,jdbcType=VARCHAR}, #{refractionIndex,jdbcType=VARCHAR}, #{residualSolvent,jdbcType=VARCHAR}, #{fillingTime,jdbcType=VARCHAR}, #{lineHeight,jdbcType=DECIMAL}, #{sealStatus,jdbcType=VARCHAR}, #{authCode,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{historyStatus,jdbcType=INTEGER}) insert into storage_foodbasicinfo id, house_id, warehouse_id, record_unite, keep_unite, location_num, quality, sub_type, sub_type_detailed, htype, number, stand_number, input_year, grow_year, keep_method, level, weight, impurity, water, unsound, recorder, house_type, design_house_capacity, valid_house_capacity, price, place_of_origin, storage_location, disperse_capacity, length, width, height, pack_num, pack_average_weight, keeper_ids, gluten_water_count, eat_score, unit_head, fat_index, peroxide_value, refraction_index, residual_solvent, filling_time, line_height, seal_status, auth_code, org_id, history_status, #{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{warehouseId,jdbcType=INTEGER}, #{recordUnite,jdbcType=VARCHAR}, #{keepUnite,jdbcType=VARCHAR}, #{locationNum,jdbcType=VARCHAR}, #{quality,jdbcType=VARCHAR}, #{subType,jdbcType=INTEGER}, #{subTypeDetailed,jdbcType=INTEGER}, #{htype,jdbcType=VARCHAR}, #{number,jdbcType=DOUBLE}, #{standNumber,jdbcType=DOUBLE}, #{inputYear,jdbcType=TIMESTAMP}, #{growYear,jdbcType=INTEGER}, #{keepMethod,jdbcType=VARCHAR}, #{level,jdbcType=VARCHAR}, #{weight,jdbcType=VARCHAR}, #{impurity,jdbcType=VARCHAR}, #{water,jdbcType=VARCHAR}, #{unsound,jdbcType=VARCHAR}, #{recorder,jdbcType=VARCHAR}, #{houseType,jdbcType=VARCHAR}, #{designHouseCapacity,jdbcType=DECIMAL}, #{validHouseCapacity,jdbcType=VARCHAR}, #{price,jdbcType=VARCHAR}, #{placeOfOrigin,jdbcType=VARCHAR}, #{storageLocation,jdbcType=VARCHAR}, #{disperseCapacity,jdbcType=VARCHAR}, #{length,jdbcType=DECIMAL}, #{width,jdbcType=DECIMAL}, #{height,jdbcType=DECIMAL}, #{packNum,jdbcType=VARCHAR}, #{packAverageWeight,jdbcType=VARCHAR}, #{keeperIds,jdbcType=VARCHAR}, #{glutenWaterCount,jdbcType=VARCHAR}, #{eatScore,jdbcType=VARCHAR}, #{unitHead,jdbcType=VARCHAR}, #{fatIndex,jdbcType=VARCHAR}, #{peroxideValue,jdbcType=VARCHAR}, #{refractionIndex,jdbcType=VARCHAR}, #{residualSolvent,jdbcType=VARCHAR}, #{fillingTime,jdbcType=VARCHAR}, #{lineHeight,jdbcType=DECIMAL}, #{sealStatus,jdbcType=VARCHAR}, #{authCode,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{historyStatus,jdbcType=INTEGER}, update storage_foodbasicinfo id = #{record.id,jdbcType=INTEGER}, house_id = #{record.houseId,jdbcType=INTEGER}, warehouse_id = #{record.warehouseId,jdbcType=INTEGER}, record_unite = #{record.recordUnite,jdbcType=VARCHAR}, keep_unite = #{record.keepUnite,jdbcType=VARCHAR}, location_num = #{record.locationNum,jdbcType=VARCHAR}, quality = #{record.quality,jdbcType=VARCHAR}, sub_type = #{record.subType,jdbcType=INTEGER}, sub_type_detailed = #{record.subTypeDetailed,jdbcType=INTEGER}, htype = #{record.htype,jdbcType=VARCHAR}, number = #{record.number,jdbcType=DOUBLE}, stand_number = #{record.standNumber,jdbcType=DOUBLE}, input_year = #{record.inputYear,jdbcType=TIMESTAMP}, grow_year = #{record.growYear,jdbcType=INTEGER}, keep_method = #{record.keepMethod,jdbcType=VARCHAR}, level = #{record.level,jdbcType=VARCHAR}, weight = #{record.weight,jdbcType=VARCHAR}, impurity = #{record.impurity,jdbcType=VARCHAR}, water = #{record.water,jdbcType=VARCHAR}, unsound = #{record.unsound,jdbcType=VARCHAR}, recorder = #{record.recorder,jdbcType=VARCHAR}, house_type = #{record.houseType,jdbcType=VARCHAR}, design_house_capacity = #{record.designHouseCapacity,jdbcType=DECIMAL}, valid_house_capacity = #{record.validHouseCapacity,jdbcType=VARCHAR}, price = #{record.price,jdbcType=VARCHAR}, place_of_origin = #{record.placeOfOrigin,jdbcType=VARCHAR}, storage_location = #{record.storageLocation,jdbcType=VARCHAR}, disperse_capacity = #{record.disperseCapacity,jdbcType=VARCHAR}, length = #{record.length,jdbcType=DECIMAL}, width = #{record.width,jdbcType=DECIMAL}, height = #{record.height,jdbcType=DECIMAL}, pack_num = #{record.packNum,jdbcType=VARCHAR}, pack_average_weight = #{record.packAverageWeight,jdbcType=VARCHAR}, keeper_ids = #{record.keeperIds,jdbcType=VARCHAR}, gluten_water_count = #{record.glutenWaterCount,jdbcType=VARCHAR}, eat_score = #{record.eatScore,jdbcType=VARCHAR}, unit_head = #{record.unitHead,jdbcType=VARCHAR}, fat_index = #{record.fatIndex,jdbcType=VARCHAR}, peroxide_value = #{record.peroxideValue,jdbcType=VARCHAR}, refraction_index = #{record.refractionIndex,jdbcType=VARCHAR}, residual_solvent = #{record.residualSolvent,jdbcType=VARCHAR}, filling_time = #{record.fillingTime,jdbcType=VARCHAR}, line_height = #{record.lineHeight,jdbcType=DECIMAL}, seal_status = #{record.sealStatus,jdbcType=VARCHAR}, auth_code = #{record.authCode,jdbcType=VARCHAR}, org_id = #{record.orgId,jdbcType=INTEGER}, history_status = #{record.historyStatus,jdbcType=INTEGER}, update storage_foodbasicinfo set id = #{record.id,jdbcType=INTEGER}, house_id = #{record.houseId,jdbcType=INTEGER}, warehouse_id = #{record.warehouseId,jdbcType=INTEGER}, record_unite = #{record.recordUnite,jdbcType=VARCHAR}, keep_unite = #{record.keepUnite,jdbcType=VARCHAR}, location_num = #{record.locationNum,jdbcType=VARCHAR}, quality = #{record.quality,jdbcType=VARCHAR}, sub_type = #{record.subType,jdbcType=INTEGER}, sub_type_detailed = #{record.subTypeDetailed,jdbcType=INTEGER}, htype = #{record.htype,jdbcType=VARCHAR}, number = #{record.number,jdbcType=DOUBLE}, stand_number = #{record.standNumber,jdbcType=DOUBLE}, input_year = #{record.inputYear,jdbcType=TIMESTAMP}, grow_year = #{record.growYear,jdbcType=INTEGER}, keep_method = #{record.keepMethod,jdbcType=VARCHAR}, level = #{record.level,jdbcType=VARCHAR}, weight = #{record.weight,jdbcType=VARCHAR}, impurity = #{record.impurity,jdbcType=VARCHAR}, water = #{record.water,jdbcType=VARCHAR}, unsound = #{record.unsound,jdbcType=VARCHAR}, recorder = #{record.recorder,jdbcType=VARCHAR}, house_type = #{record.houseType,jdbcType=VARCHAR}, design_house_capacity = #{record.designHouseCapacity,jdbcType=DECIMAL}, valid_house_capacity = #{record.validHouseCapacity,jdbcType=VARCHAR}, price = #{record.price,jdbcType=VARCHAR}, place_of_origin = #{record.placeOfOrigin,jdbcType=VARCHAR}, storage_location = #{record.storageLocation,jdbcType=VARCHAR}, disperse_capacity = #{record.disperseCapacity,jdbcType=VARCHAR}, length = #{record.length,jdbcType=DECIMAL}, width = #{record.width,jdbcType=DECIMAL}, height = #{record.height,jdbcType=DECIMAL}, pack_num = #{record.packNum,jdbcType=VARCHAR}, pack_average_weight = #{record.packAverageWeight,jdbcType=VARCHAR}, keeper_ids = #{record.keeperIds,jdbcType=VARCHAR}, gluten_water_count = #{record.glutenWaterCount,jdbcType=VARCHAR}, eat_score = #{record.eatScore,jdbcType=VARCHAR}, unit_head = #{record.unitHead,jdbcType=VARCHAR}, fat_index = #{record.fatIndex,jdbcType=VARCHAR}, peroxide_value = #{record.peroxideValue,jdbcType=VARCHAR}, refraction_index = #{record.refractionIndex,jdbcType=VARCHAR}, residual_solvent = #{record.residualSolvent,jdbcType=VARCHAR}, filling_time = #{record.fillingTime,jdbcType=VARCHAR}, line_height = #{record.lineHeight,jdbcType=DECIMAL}, seal_status = #{record.sealStatus,jdbcType=VARCHAR}, auth_code = #{record.authCode,jdbcType=VARCHAR}, org_id = #{record.orgId,jdbcType=INTEGER}, history_status = #{record.historyStatus,jdbcType=INTEGER} update storage_foodbasicinfo house_id = #{houseId,jdbcType=INTEGER}, warehouse_id = #{warehouseId,jdbcType=INTEGER}, record_unite = #{recordUnite,jdbcType=VARCHAR}, keep_unite = #{keepUnite,jdbcType=VARCHAR}, location_num = #{locationNum,jdbcType=VARCHAR}, quality = #{quality,jdbcType=VARCHAR}, sub_type = #{subType,jdbcType=INTEGER}, sub_type_detailed = #{subTypeDetailed,jdbcType=INTEGER}, htype = #{htype,jdbcType=VARCHAR}, number = #{number,jdbcType=DOUBLE}, stand_number = #{standNumber,jdbcType=DOUBLE}, input_year = #{inputYear,jdbcType=TIMESTAMP}, grow_year = #{growYear,jdbcType=INTEGER}, keep_method = #{keepMethod,jdbcType=VARCHAR}, level = #{level,jdbcType=VARCHAR}, weight = #{weight,jdbcType=VARCHAR}, impurity = #{impurity,jdbcType=VARCHAR}, water = #{water,jdbcType=VARCHAR}, unsound = #{unsound,jdbcType=VARCHAR}, recorder = #{recorder,jdbcType=VARCHAR}, house_type = #{houseType,jdbcType=VARCHAR}, design_house_capacity = #{designHouseCapacity,jdbcType=DECIMAL}, valid_house_capacity = #{validHouseCapacity,jdbcType=VARCHAR}, price = #{price,jdbcType=VARCHAR}, place_of_origin = #{placeOfOrigin,jdbcType=VARCHAR}, storage_location = #{storageLocation,jdbcType=VARCHAR}, disperse_capacity = #{disperseCapacity,jdbcType=VARCHAR}, length = #{length,jdbcType=DECIMAL}, width = #{width,jdbcType=DECIMAL}, height = #{height,jdbcType=DECIMAL}, pack_num = #{packNum,jdbcType=VARCHAR}, pack_average_weight = #{packAverageWeight,jdbcType=VARCHAR}, keeper_ids = #{keeperIds,jdbcType=VARCHAR}, gluten_water_count = #{glutenWaterCount,jdbcType=VARCHAR}, eat_score = #{eatScore,jdbcType=VARCHAR}, unit_head = #{unitHead,jdbcType=VARCHAR}, fat_index = #{fatIndex,jdbcType=VARCHAR}, peroxide_value = #{peroxideValue,jdbcType=VARCHAR}, refraction_index = #{refractionIndex,jdbcType=VARCHAR}, residual_solvent = #{residualSolvent,jdbcType=VARCHAR}, filling_time = #{fillingTime,jdbcType=VARCHAR}, line_height = #{lineHeight,jdbcType=DECIMAL}, seal_status = #{sealStatus,jdbcType=VARCHAR}, auth_code = #{authCode,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=INTEGER}, history_status = #{historyStatus,jdbcType=INTEGER}, where id = #{id,jdbcType=INTEGER} update storage_foodbasicinfo set house_id = #{houseId,jdbcType=INTEGER}, warehouse_id = #{warehouseId,jdbcType=INTEGER}, record_unite = #{recordUnite,jdbcType=VARCHAR}, keep_unite = #{keepUnite,jdbcType=VARCHAR}, location_num = #{locationNum,jdbcType=VARCHAR}, quality = #{quality,jdbcType=VARCHAR}, sub_type = #{subType,jdbcType=INTEGER}, sub_type_detailed = #{subTypeDetailed,jdbcType=INTEGER}, htype = #{htype,jdbcType=VARCHAR}, number = #{number,jdbcType=DOUBLE}, stand_number = #{standNumber,jdbcType=DOUBLE}, input_year = #{inputYear,jdbcType=TIMESTAMP}, grow_year = #{growYear,jdbcType=INTEGER}, keep_method = #{keepMethod,jdbcType=VARCHAR}, level = #{level,jdbcType=VARCHAR}, weight = #{weight,jdbcType=VARCHAR}, impurity = #{impurity,jdbcType=VARCHAR}, water = #{water,jdbcType=VARCHAR}, unsound = #{unsound,jdbcType=VARCHAR}, recorder = #{recorder,jdbcType=VARCHAR}, house_type = #{houseType,jdbcType=VARCHAR}, design_house_capacity = #{designHouseCapacity,jdbcType=DECIMAL}, valid_house_capacity = #{validHouseCapacity,jdbcType=VARCHAR}, price = #{price,jdbcType=VARCHAR}, place_of_origin = #{placeOfOrigin,jdbcType=VARCHAR}, storage_location = #{storageLocation,jdbcType=VARCHAR}, disperse_capacity = #{disperseCapacity,jdbcType=VARCHAR}, length = #{length,jdbcType=DECIMAL}, width = #{width,jdbcType=DECIMAL}, height = #{height,jdbcType=DECIMAL}, pack_num = #{packNum,jdbcType=VARCHAR}, pack_average_weight = #{packAverageWeight,jdbcType=VARCHAR}, keeper_ids = #{keeperIds,jdbcType=VARCHAR}, gluten_water_count = #{glutenWaterCount,jdbcType=VARCHAR}, eat_score = #{eatScore,jdbcType=VARCHAR}, unit_head = #{unitHead,jdbcType=VARCHAR}, fat_index = #{fatIndex,jdbcType=VARCHAR}, peroxide_value = #{peroxideValue,jdbcType=VARCHAR}, refraction_index = #{refractionIndex,jdbcType=VARCHAR}, residual_solvent = #{residualSolvent,jdbcType=VARCHAR}, filling_time = #{fillingTime,jdbcType=VARCHAR}, line_height = #{lineHeight,jdbcType=DECIMAL}, seal_status = #{sealStatus,jdbcType=VARCHAR}, auth_code = #{authCode,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=INTEGER}, history_status = #{historyStatus,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER} sfo.id, sfo.house_id, sfo.warehouse_id, sfo.record_unite, sfo.keep_unite, sfo.location_num, sfo.quality, sfo.sub_type, sfo.sub_type_detailed, sfo.htype, sfo.number, sfo.stand_number, sfo.input_year, sfo.grow_year, sfo.keep_method, sfo.level, sfo.weight, sfo.impurity, sfo.water, sfo.unsound, sfo.recorder, sfo.house_type, sfo.design_house_capacity, sfo.valid_house_capacity, sfo.price, sfo.place_of_origin, sfo.storage_location, sfo.disperse_capacity, sfo.length, sfo.width, sfo.height, sfo.pack_num, sfo.pack_average_weight, sfo.keeper_ids, sfo.gluten_water_count, sfo.eat_score, sfo.unit_head, sfo.fat_index, sfo.peroxide_value, sfo.refraction_index, sfo.residual_solvent, sfo.filling_time, sfo.line_height, sfo.seal_status, sfo.auth_code, sfo.org_id, sfo.history_status