select cargo_space_id, warehouse_id, roadway_id, cargo_area_id, the_type, the_type_name, cargo_space_name, the_platoon, the_column, the_floor, status, locked, tray_code, cargo_hight, iss_double, group_coding_no, group_coding, cargo_space_logo, this_cargo_area from bas_cargo_space
insert into bas_cargo_space
cargo_space_id,
warehouse_id,
roadway_id,
cargo_area_id,
the_type,
the_type_name,
cargo_space_name,
the_platoon,
the_column,
the_floor,
status,
locked,
tray_code,
cargo_hight,
iss_double,
group_coding_no,
group_coding,
cargo_space_logo,
this_cargo_area,
#{cargoSpaceId},
#{warehouseId},
#{roadwayId},
#{cargoAreaId},
#{theType},
#{theTypeName},
#{cargoSpaceName},
#{thePlatoon},
#{theColumn},
#{theFloor},
#{status},
#{locked},
#{trayCode},
#{cargoHight},
#{issDouble},
#{groupCodingNo},
#{groupCoding},
#{cargoSpaceLogo},
#{thisCargoArea},
update bas_cargo_space
warehouse_id = #{warehouseId},
roadway_id = #{roadwayId},
cargo_area_id = #{cargoAreaId},
the_type = #{theType},
the_type_name = #{theTypeName},
cargo_space_name = #{cargoSpaceName},
the_platoon = #{thePlatoon},
the_column = #{theColumn},
the_floor = #{theFloor},
status = #{status},
locked = #{locked},
tray_code = #{trayCode},
cargo_hight = #{cargoHight},
iss_double = #{issDouble},
group_coding_no = #{groupCodingNo},
group_coding = #{groupCoding},
cargo_space_logo = #{cargoSpaceLogo},
this_cargo_area = #{thisCargoArea},
where cargo_space_id = #{cargoSpaceId}
delete from bas_cargo_space where cargo_space_id = #{cargoSpaceId}
delete from bas_cargo_space where cargo_space_id in
#{cargoSpaceId}