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} storehouse_id, uuid, depot_id, depot_name, org_id, org_name, storehouse_code, storehouse_name, storehouse_type, storehouse_type_mx, architecture_type, store_img, ground, wall, roof, house, design_capacity, keeping_way, grain_heigth, store_outside_length, store_outside_width, store_outside_heigth, store_outside_top_heigth, outside_silo_diameter, outer_wall_area, deduct_volume, length, width, heigth, grain_line_heigth, silo_diameter, bin_volume, grain_pile_volume, house_door_num, house_doot_position, house_door_width, house_door_heigth, draftType, heatInsulationStep_roof, heatInsulationStep_window, actual_capacity, completion_date, useDate, storehouse_state, store_way, currentType, dutyStoreman, remark, createName, createDate, updateName, updateDate, working_status, del_flag, library_type delete from basic_storehouse where storehouse_id = #{storehouseId,jdbcType=INTEGER} delete from basic_storehouse insert into basic_storehouse (storehouse_id, uuid, depot_id, depot_name, org_id, org_name, storehouse_code, storehouse_name, storehouse_type, storehouse_type_mx, architecture_type, store_img, ground, wall, roof, house, design_capacity, keeping_way, grain_heigth, store_outside_length, store_outside_width, store_outside_heigth, store_outside_top_heigth, outside_silo_diameter, outer_wall_area, deduct_volume, length, width, heigth, grain_line_heigth, silo_diameter, bin_volume, grain_pile_volume, house_door_num, house_doot_position, house_door_width, house_door_heigth, draftType, heatInsulationStep_roof, heatInsulationStep_window, actual_capacity, completion_date, useDate, storehouse_state, store_way, currentType, dutyStoreman, remark, createName, createDate, updateName, updateDate, working_status, del_flag, library_type ) values (#{storehouseId,jdbcType=INTEGER}, #{uuid,jdbcType=VARCHAR}, #{depotId,jdbcType=INTEGER}, #{depotName,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{storehouseCode,jdbcType=VARCHAR}, #{storehouseName,jdbcType=VARCHAR}, #{storehouseType,jdbcType=INTEGER}, #{storehouseTypeMx,jdbcType=INTEGER}, #{architectureType,jdbcType=VARCHAR}, #{storeImg,jdbcType=VARCHAR}, #{ground,jdbcType=VARCHAR}, #{wall,jdbcType=INTEGER}, #{roof,jdbcType=VARCHAR}, #{house,jdbcType=VARCHAR}, #{designCapacity,jdbcType=DECIMAL}, #{keepingWay,jdbcType=INTEGER}, #{grainHeigth,jdbcType=DECIMAL}, #{storeOutsideLength,jdbcType=DECIMAL}, #{storeOutsideWidth,jdbcType=DECIMAL}, #{storeOutsideHeigth,jdbcType=DECIMAL}, #{storeOutsideTopHeigth,jdbcType=DECIMAL}, #{outsideSiloDiameter,jdbcType=DECIMAL}, #{outerWallArea,jdbcType=DECIMAL}, #{deductVolume,jdbcType=DECIMAL}, #{length,jdbcType=DECIMAL}, #{width,jdbcType=DECIMAL}, #{heigth,jdbcType=DECIMAL}, #{grainLineHeigth,jdbcType=DECIMAL}, #{siloDiameter,jdbcType=DECIMAL}, #{binVolume,jdbcType=DECIMAL}, #{grainPileVolume,jdbcType=DECIMAL}, #{houseDoorNum,jdbcType=INTEGER}, #{houseDootPosition,jdbcType=VARCHAR}, #{houseDoorWidth,jdbcType=DECIMAL}, #{houseDoorHeigth,jdbcType=DECIMAL}, #{drafttype,jdbcType=INTEGER}, #{heatinsulationstepRoof,jdbcType=VARCHAR}, #{heatinsulationstepWindow,jdbcType=VARCHAR}, #{actualCapacity,jdbcType=DECIMAL}, #{completionDate,jdbcType=TIMESTAMP}, #{usedate,jdbcType=TIMESTAMP}, #{storehouseState,jdbcType=INTEGER}, #{storeWay,jdbcType=INTEGER}, #{currenttype,jdbcType=INTEGER}, #{dutystoreman,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createname,jdbcType=VARCHAR}, #{createdate,jdbcType=TIMESTAMP}, #{updatename,jdbcType=VARCHAR}, #{updatedate,jdbcType=TIMESTAMP}, #{workingStatus,jdbcType=INTEGER}, #{delFlag,jdbcType=INTEGER}, #{libraryType,jdbcType=VARCHAR} ) insert into basic_storehouse storehouse_id, uuid, depot_id, depot_name, org_id, org_name, storehouse_code, storehouse_name, storehouse_type, storehouse_type_mx, architecture_type, store_img, ground, wall, roof, house, design_capacity, keeping_way, grain_heigth, store_outside_length, store_outside_width, store_outside_heigth, store_outside_top_heigth, outside_silo_diameter, outer_wall_area, deduct_volume, length, width, heigth, grain_line_heigth, silo_diameter, bin_volume, grain_pile_volume, house_door_num, house_doot_position, house_door_width, house_door_heigth, draftType, heatInsulationStep_roof, heatInsulationStep_window, actual_capacity, completion_date, useDate, storehouse_state, store_way, currentType, dutyStoreman, remark, createName, createDate, updateName, updateDate, working_status, del_flag, library_type, #{storehouseId,jdbcType=INTEGER}, #{uuid,jdbcType=VARCHAR}, #{depotId,jdbcType=INTEGER}, #{depotName,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR}, #{storehouseCode,jdbcType=VARCHAR}, #{storehouseName,jdbcType=VARCHAR}, #{storehouseType,jdbcType=INTEGER}, #{storehouseTypeMx,jdbcType=INTEGER}, #{architectureType,jdbcType=VARCHAR}, #{storeImg,jdbcType=VARCHAR}, #{ground,jdbcType=VARCHAR}, #{wall,jdbcType=INTEGER}, #{roof,jdbcType=VARCHAR}, #{house,jdbcType=VARCHAR}, #{designCapacity,jdbcType=DECIMAL}, #{keepingWay,jdbcType=INTEGER}, #{grainHeigth,jdbcType=DECIMAL}, #{storeOutsideLength,jdbcType=DECIMAL}, #{storeOutsideWidth,jdbcType=DECIMAL}, #{storeOutsideHeigth,jdbcType=DECIMAL}, #{storeOutsideTopHeigth,jdbcType=DECIMAL}, #{outsideSiloDiameter,jdbcType=DECIMAL}, #{outerWallArea,jdbcType=DECIMAL}, #{deductVolume,jdbcType=DECIMAL}, #{length,jdbcType=DECIMAL}, #{width,jdbcType=DECIMAL}, #{heigth,jdbcType=DECIMAL}, #{grainLineHeigth,jdbcType=DECIMAL}, #{siloDiameter,jdbcType=DECIMAL}, #{binVolume,jdbcType=DECIMAL}, #{grainPileVolume,jdbcType=DECIMAL}, #{houseDoorNum,jdbcType=INTEGER}, #{houseDootPosition,jdbcType=VARCHAR}, #{houseDoorWidth,jdbcType=DECIMAL}, #{houseDoorHeigth,jdbcType=DECIMAL}, #{drafttype,jdbcType=INTEGER}, #{heatinsulationstepRoof,jdbcType=VARCHAR}, #{heatinsulationstepWindow,jdbcType=VARCHAR}, #{actualCapacity,jdbcType=DECIMAL}, #{completionDate,jdbcType=TIMESTAMP}, #{usedate,jdbcType=TIMESTAMP}, #{storehouseState,jdbcType=INTEGER}, #{storeWay,jdbcType=INTEGER}, #{currenttype,jdbcType=INTEGER}, #{dutystoreman,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createname,jdbcType=VARCHAR}, #{createdate,jdbcType=TIMESTAMP}, #{updatename,jdbcType=VARCHAR}, #{updatedate,jdbcType=TIMESTAMP}, #{workingStatus,jdbcType=INTEGER}, #{delFlag,jdbcType=INTEGER}, #{libraryType,jdbcType=VARCHAR}, update basic_storehouse storehouse_id = #{record.storehouseId,jdbcType=INTEGER}, uuid = #{record.uuid,jdbcType=VARCHAR}, depot_id = #{record.depotId,jdbcType=INTEGER}, depot_name = #{record.depotName,jdbcType=VARCHAR}, org_id = #{record.orgId,jdbcType=INTEGER}, org_name = #{record.orgName,jdbcType=VARCHAR}, storehouse_code = #{record.storehouseCode,jdbcType=VARCHAR}, storehouse_name = #{record.storehouseName,jdbcType=VARCHAR}, storehouse_type = #{record.storehouseType,jdbcType=INTEGER}, storehouse_type_mx = #{record.storehouseTypeMx,jdbcType=INTEGER}, architecture_type = #{record.architectureType,jdbcType=VARCHAR}, store_img = #{record.storeImg,jdbcType=VARCHAR}, ground = #{record.ground,jdbcType=VARCHAR}, wall = #{record.wall,jdbcType=INTEGER}, roof = #{record.roof,jdbcType=VARCHAR}, house = #{record.house,jdbcType=VARCHAR}, design_capacity = #{record.designCapacity,jdbcType=DECIMAL}, keeping_way = #{record.keepingWay,jdbcType=INTEGER}, grain_heigth = #{record.grainHeigth,jdbcType=DECIMAL}, store_outside_length = #{record.storeOutsideLength,jdbcType=DECIMAL}, store_outside_width = #{record.storeOutsideWidth,jdbcType=DECIMAL}, store_outside_heigth = #{record.storeOutsideHeigth,jdbcType=DECIMAL}, store_outside_top_heigth = #{record.storeOutsideTopHeigth,jdbcType=DECIMAL}, outside_silo_diameter = #{record.outsideSiloDiameter,jdbcType=DECIMAL}, outer_wall_area = #{record.outerWallArea,jdbcType=DECIMAL}, deduct_volume = #{record.deductVolume,jdbcType=DECIMAL}, length = #{record.length,jdbcType=DECIMAL}, width = #{record.width,jdbcType=DECIMAL}, heigth = #{record.heigth,jdbcType=DECIMAL}, grain_line_heigth = #{record.grainLineHeigth,jdbcType=DECIMAL}, silo_diameter = #{record.siloDiameter,jdbcType=DECIMAL}, bin_volume = #{record.binVolume,jdbcType=DECIMAL}, grain_pile_volume = #{record.grainPileVolume,jdbcType=DECIMAL}, house_door_num = #{record.houseDoorNum,jdbcType=INTEGER}, house_doot_position = #{record.houseDootPosition,jdbcType=VARCHAR}, house_door_width = #{record.houseDoorWidth,jdbcType=DECIMAL}, house_door_heigth = #{record.houseDoorHeigth,jdbcType=DECIMAL}, draftType = #{record.drafttype,jdbcType=INTEGER}, heatInsulationStep_roof = #{record.heatinsulationstepRoof,jdbcType=VARCHAR}, heatInsulationStep_window = #{record.heatinsulationstepWindow,jdbcType=VARCHAR}, actual_capacity = #{record.actualCapacity,jdbcType=DECIMAL}, completion_date = #{record.completionDate,jdbcType=TIMESTAMP}, useDate = #{record.usedate,jdbcType=TIMESTAMP}, storehouse_state = #{record.storehouseState,jdbcType=INTEGER}, store_way = #{record.storeWay,jdbcType=INTEGER}, currentType = #{record.currenttype,jdbcType=INTEGER}, dutyStoreman = #{record.dutystoreman,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, createName = #{record.createname,jdbcType=VARCHAR}, createDate = #{record.createdate,jdbcType=TIMESTAMP}, updateName = #{record.updatename,jdbcType=VARCHAR}, updateDate = #{record.updatedate,jdbcType=TIMESTAMP}, working_status = #{record.workingStatus,jdbcType=INTEGER}, del_flag = #{record.delFlag,jdbcType=INTEGER}, library_type = #{record.libraryType,jdbcType=VARCHAR}, update basic_storehouse set storehouse_id = #{record.storehouseId,jdbcType=INTEGER}, uuid = #{record.uuid,jdbcType=VARCHAR}, depot_id = #{record.depotId,jdbcType=INTEGER}, depot_name = #{record.depotName,jdbcType=VARCHAR}, org_id = #{record.orgId,jdbcType=INTEGER}, org_name = #{record.orgName,jdbcType=VARCHAR}, storehouse_code = #{record.storehouseCode,jdbcType=VARCHAR}, storehouse_name = #{record.storehouseName,jdbcType=VARCHAR}, storehouse_type = #{record.storehouseType,jdbcType=INTEGER}, storehouse_type_mx = #{record.storehouseTypeMx,jdbcType=INTEGER}, architecture_type = #{record.architectureType,jdbcType=VARCHAR}, store_img = #{record.storeImg,jdbcType=VARCHAR}, ground = #{record.ground,jdbcType=VARCHAR}, wall = #{record.wall,jdbcType=INTEGER}, roof = #{record.roof,jdbcType=VARCHAR}, house = #{record.house,jdbcType=VARCHAR}, design_capacity = #{record.designCapacity,jdbcType=DECIMAL}, keeping_way = #{record.keepingWay,jdbcType=INTEGER}, grain_heigth = #{record.grainHeigth,jdbcType=DECIMAL}, store_outside_length = #{record.storeOutsideLength,jdbcType=DECIMAL}, store_outside_width = #{record.storeOutsideWidth,jdbcType=DECIMAL}, store_outside_heigth = #{record.storeOutsideHeigth,jdbcType=DECIMAL}, store_outside_top_heigth = #{record.storeOutsideTopHeigth,jdbcType=DECIMAL}, outside_silo_diameter = #{record.outsideSiloDiameter,jdbcType=DECIMAL}, outer_wall_area = #{record.outerWallArea,jdbcType=DECIMAL}, deduct_volume = #{record.deductVolume,jdbcType=DECIMAL}, length = #{record.length,jdbcType=DECIMAL}, width = #{record.width,jdbcType=DECIMAL}, heigth = #{record.heigth,jdbcType=DECIMAL}, grain_line_heigth = #{record.grainLineHeigth,jdbcType=DECIMAL}, silo_diameter = #{record.siloDiameter,jdbcType=DECIMAL}, bin_volume = #{record.binVolume,jdbcType=DECIMAL}, grain_pile_volume = #{record.grainPileVolume,jdbcType=DECIMAL}, house_door_num = #{record.houseDoorNum,jdbcType=INTEGER}, house_doot_position = #{record.houseDootPosition,jdbcType=VARCHAR}, house_door_width = #{record.houseDoorWidth,jdbcType=DECIMAL}, house_door_heigth = #{record.houseDoorHeigth,jdbcType=DECIMAL}, draftType = #{record.drafttype,jdbcType=INTEGER}, heatInsulationStep_roof = #{record.heatinsulationstepRoof,jdbcType=VARCHAR}, heatInsulationStep_window = #{record.heatinsulationstepWindow,jdbcType=VARCHAR}, actual_capacity = #{record.actualCapacity,jdbcType=DECIMAL}, completion_date = #{record.completionDate,jdbcType=TIMESTAMP}, useDate = #{record.usedate,jdbcType=TIMESTAMP}, storehouse_state = #{record.storehouseState,jdbcType=INTEGER}, store_way = #{record.storeWay,jdbcType=INTEGER}, currentType = #{record.currenttype,jdbcType=INTEGER}, dutyStoreman = #{record.dutystoreman,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, createName = #{record.createname,jdbcType=VARCHAR}, createDate = #{record.createdate,jdbcType=TIMESTAMP}, updateName = #{record.updatename,jdbcType=VARCHAR}, updateDate = #{record.updatedate,jdbcType=TIMESTAMP}, working_status = #{record.workingStatus,jdbcType=INTEGER}, del_flag = #{record.delFlag,jdbcType=INTEGER}, library_type = #{record.libraryType,jdbcType=VARCHAR} update basic_storehouse uuid = #{uuid,jdbcType=VARCHAR}, depot_id = #{depotId,jdbcType=INTEGER}, depot_name = #{depotName,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=INTEGER}, org_name = #{orgName,jdbcType=VARCHAR}, storehouse_code = #{storehouseCode,jdbcType=VARCHAR}, storehouse_name = #{storehouseName,jdbcType=VARCHAR}, storehouse_type = #{storehouseType,jdbcType=INTEGER}, storehouse_type_mx = #{storehouseTypeMx,jdbcType=INTEGER}, architecture_type = #{architectureType,jdbcType=VARCHAR}, store_img = #{storeImg,jdbcType=VARCHAR}, ground = #{ground,jdbcType=VARCHAR}, wall = #{wall,jdbcType=INTEGER}, roof = #{roof,jdbcType=VARCHAR}, house = #{house,jdbcType=VARCHAR}, design_capacity = #{designCapacity,jdbcType=DECIMAL}, keeping_way = #{keepingWay,jdbcType=INTEGER}, grain_heigth = #{grainHeigth,jdbcType=DECIMAL}, store_outside_length = #{storeOutsideLength,jdbcType=DECIMAL}, store_outside_width = #{storeOutsideWidth,jdbcType=DECIMAL}, store_outside_heigth = #{storeOutsideHeigth,jdbcType=DECIMAL}, store_outside_top_heigth = #{storeOutsideTopHeigth,jdbcType=DECIMAL}, outside_silo_diameter = #{outsideSiloDiameter,jdbcType=DECIMAL}, outer_wall_area = #{outerWallArea,jdbcType=DECIMAL}, deduct_volume = #{deductVolume,jdbcType=DECIMAL}, length = #{length,jdbcType=DECIMAL}, width = #{width,jdbcType=DECIMAL}, heigth = #{heigth,jdbcType=DECIMAL}, grain_line_heigth = #{grainLineHeigth,jdbcType=DECIMAL}, silo_diameter = #{siloDiameter,jdbcType=DECIMAL}, bin_volume = #{binVolume,jdbcType=DECIMAL}, grain_pile_volume = #{grainPileVolume,jdbcType=DECIMAL}, house_door_num = #{houseDoorNum,jdbcType=INTEGER}, house_doot_position = #{houseDootPosition,jdbcType=VARCHAR}, house_door_width = #{houseDoorWidth,jdbcType=DECIMAL}, house_door_heigth = #{houseDoorHeigth,jdbcType=DECIMAL}, draftType = #{drafttype,jdbcType=INTEGER}, heatInsulationStep_roof = #{heatinsulationstepRoof,jdbcType=VARCHAR}, heatInsulationStep_window = #{heatinsulationstepWindow,jdbcType=VARCHAR}, actual_capacity = #{actualCapacity,jdbcType=DECIMAL}, completion_date = #{completionDate,jdbcType=TIMESTAMP}, useDate = #{usedate,jdbcType=TIMESTAMP}, storehouse_state = #{storehouseState,jdbcType=INTEGER}, store_way = #{storeWay,jdbcType=INTEGER}, currentType = #{currenttype,jdbcType=INTEGER}, dutyStoreman = #{dutystoreman,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, createName = #{createname,jdbcType=VARCHAR}, createDate = #{createdate,jdbcType=TIMESTAMP}, updateName = #{updatename,jdbcType=VARCHAR}, updateDate = #{updatedate,jdbcType=TIMESTAMP}, working_status = #{workingStatus,jdbcType=INTEGER}, del_flag = #{delFlag,jdbcType=INTEGER}, library_type = #{libraryType,jdbcType=VARCHAR}, where storehouse_id = #{storehouseId,jdbcType=INTEGER} update basic_storehouse set uuid = #{uuid,jdbcType=VARCHAR}, depot_id = #{depotId,jdbcType=INTEGER}, depot_name = #{depotName,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=INTEGER}, org_name = #{orgName,jdbcType=VARCHAR}, storehouse_code = #{storehouseCode,jdbcType=VARCHAR}, storehouse_name = #{storehouseName,jdbcType=VARCHAR}, storehouse_type = #{storehouseType,jdbcType=INTEGER}, storehouse_type_mx = #{storehouseTypeMx,jdbcType=INTEGER}, architecture_type = #{architectureType,jdbcType=VARCHAR}, store_img = #{storeImg,jdbcType=VARCHAR}, ground = #{ground,jdbcType=VARCHAR}, wall = #{wall,jdbcType=INTEGER}, roof = #{roof,jdbcType=VARCHAR}, house = #{house,jdbcType=VARCHAR}, design_capacity = #{designCapacity,jdbcType=DECIMAL}, keeping_way = #{keepingWay,jdbcType=INTEGER}, grain_heigth = #{grainHeigth,jdbcType=DECIMAL}, store_outside_length = #{storeOutsideLength,jdbcType=DECIMAL}, store_outside_width = #{storeOutsideWidth,jdbcType=DECIMAL}, store_outside_heigth = #{storeOutsideHeigth,jdbcType=DECIMAL}, store_outside_top_heigth = #{storeOutsideTopHeigth,jdbcType=DECIMAL}, outside_silo_diameter = #{outsideSiloDiameter,jdbcType=DECIMAL}, outer_wall_area = #{outerWallArea,jdbcType=DECIMAL}, deduct_volume = #{deductVolume,jdbcType=DECIMAL}, length = #{length,jdbcType=DECIMAL}, width = #{width,jdbcType=DECIMAL}, heigth = #{heigth,jdbcType=DECIMAL}, grain_line_heigth = #{grainLineHeigth,jdbcType=DECIMAL}, silo_diameter = #{siloDiameter,jdbcType=DECIMAL}, bin_volume = #{binVolume,jdbcType=DECIMAL}, grain_pile_volume = #{grainPileVolume,jdbcType=DECIMAL}, house_door_num = #{houseDoorNum,jdbcType=INTEGER}, house_doot_position = #{houseDootPosition,jdbcType=VARCHAR}, house_door_width = #{houseDoorWidth,jdbcType=DECIMAL}, house_door_heigth = #{houseDoorHeigth,jdbcType=DECIMAL}, draftType = #{drafttype,jdbcType=INTEGER}, heatInsulationStep_roof = #{heatinsulationstepRoof,jdbcType=VARCHAR}, heatInsulationStep_window = #{heatinsulationstepWindow,jdbcType=VARCHAR}, actual_capacity = #{actualCapacity,jdbcType=DECIMAL}, completion_date = #{completionDate,jdbcType=TIMESTAMP}, useDate = #{usedate,jdbcType=TIMESTAMP}, storehouse_state = #{storehouseState,jdbcType=INTEGER}, store_way = #{storeWay,jdbcType=INTEGER}, currentType = #{currenttype,jdbcType=INTEGER}, dutyStoreman = #{dutystoreman,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, createName = #{createname,jdbcType=VARCHAR}, createDate = #{createdate,jdbcType=TIMESTAMP}, updateName = #{updatename,jdbcType=VARCHAR}, updateDate = #{updatedate,jdbcType=TIMESTAMP}, working_status = #{workingStatus,jdbcType=INTEGER}, del_flag = #{delFlag,jdbcType=INTEGER}, library_type = #{libraryType,jdbcType=VARCHAR} where storehouse_id = #{storehouseId,jdbcType=INTEGER}