select guid, x, y, z, axy, value, ux, uy, uz, uxy, space_name, remark, cargo_space_id, the_row, the_column, the_layer, site_id, plc_row, plc_column, plc_layer, warehouse, space_area from wcs_srgv_map
insert into wcs_srgv_map
guid,
x,
y,
z,
axy,
value,
ux,
uy,
uz,
uxy,
space_name,
remark,
cargo_space_id,
the_row,
the_column,
the_layer,
site_id,
plc_row,
plc_column,
plc_layer,
warehouse,
space_area,
#{guid},
#{x},
#{y},
#{z},
#{axy},
#{value},
#{ux},
#{uy},
#{uz},
#{uxy},
#{spaceName},
#{remark},
#{cargoSpaceId},
#{theRow},
#{theColumn},
#{theLayer},
#{siteId},
#{plcRow},
#{plcColumn},
#{plcLayer},
#{warehouse},
#{spaceArea},
update wcs_srgv_map
x = #{x},
y = #{y},
z = #{z},
axy = #{axy},
value = #{value},
ux = #{ux},
uy = #{uy},
uz = #{uz},
uxy = #{uxy},
space_name = #{spaceName},
remark = #{remark},
cargo_space_id = #{cargoSpaceId},
the_row = #{theRow},
the_column = #{theColumn},
the_layer = #{theLayer},
site_id = #{siteId},
plc_row = #{plcRow},
plc_column = #{plcColumn},
plc_layer = #{plcLayer},
warehouse = #{warehouse},
space_area = #{spaceArea},
where guid = #{guid}
delete from wcs_srgv_map where guid = #{guid}
delete from wcs_srgv_map where guid in
#{guid}