select location_id, location_code, location_name, warehouse_id, area, area_flag, frozen_flag, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_storage_location
insert into wm_storage_location
location_code,
location_name,
warehouse_id,
area,
area_flag,
frozen_flag,
remark,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
#{locationCode},
#{locationName},
#{warehouseId},
#{area},
#{areaFlag},
#{frozenFlag},
#{remark},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update wm_storage_location
location_code = #{locationCode},
location_name = #{locationName},
warehouse_id = #{warehouseId},
area = #{area},
area_flag = #{areaFlag},
frozen_flag = #{frozenFlag},
remark = #{remark},
attr1 = #{attr1},
attr2 = #{attr2},
attr3 = #{attr3},
attr4 = #{attr4},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where location_id = #{locationId}
delete from wm_storage_location where location_id = #{locationId}
delete from wm_storage_location where location_id in
#{locationId}
delete from wm_storage_location where warehouse_id = #{warehouseId}