select id, warehouse_id, zone_id, location_no, location_barcode, row_no, row_index, col_no, col_index, shift_no, shift_index, stock_status, is_empty, bind_sku, location_type, rack_id, agv_station, folded_tag, folded_count,height_limit,weight_limit, userdefine1, userdefine2, userdefine3, userdefine4, userdefine5, userdefine6, userdefine7, userdefine8, userdefine9, userdefine10, create_by, create_time, update_by, update_time, remark from base_location_info
insert into base_location_info
warehouse_id,
zone_id,
location_no,
location_barcode,
row_no,
row_index,
col_no,
col_index,
shift_no,
shift_index,
stock_status,
is_empty,
bind_sku,
location_type,
rack_id,
agv_station,
folded_tag,
folded_count,
height_limit,
weight_limit,
userdefine1,
userdefine2,
userdefine3,
userdefine4,
userdefine5,
userdefine6,
userdefine7,
userdefine8,
userdefine9,
userdefine10,
create_by,
create_time,
update_by,
update_time,
remark,
#{warehouseId},
#{zoneId},
#{locationNo},
#{locationBarcode},
#{rowNo},
#{rowIndex},
#{colNo},
#{colIndex},
#{shiftNo},
#{shiftIndex},
#{stockStatus},
#{isEmpty},
#{bindSku},
#{locationType},
#{rackId},
#{agvStation},
#{foldedTag},
#{foldedCount},
#{heightLimit},
#{weightLimit},
#{userdefine1},
#{userdefine2},
#{userdefine3},
#{userdefine4},
#{userdefine5},
#{userdefine6},
#{userdefine7},
#{userdefine8},
#{userdefine9},
#{userdefine10},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update base_location_info
warehouse_id = #{warehouseId},
zone_id = #{zoneId},
location_no = #{locationNo},
location_barcode = #{locationBarcode},
row_no = #{rowNo},
row_index = #{rowIndex},
col_no = #{colNo},
col_index = #{colIndex},
shift_no = #{shiftNo},
shift_index = #{shiftIndex},
stock_status = #{stockStatus},
is_empty = #{isEmpty},
bind_sku = #{bindSku},
location_type = #{locationType},
rack_id = #{rackId},
agv_station = #{agvStation},
folded_tag = #{foldedTag},
folded_count = #{foldedCount},
height_limit = #{heightLimit},
weight_limit = #{weightLimit},
userdefine1 = #{userdefine1},
userdefine2 = #{userdefine2},
userdefine3 = #{userdefine3},
userdefine4 = #{userdefine4},
userdefine5 = #{userdefine5},
userdefine6 = #{userdefine6},
userdefine7 = #{userdefine7},
userdefine8 = #{userdefine8},
userdefine9 = #{userdefine9},
userdefine10 = #{userdefine10},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from base_location_info where id = #{id}
delete from base_location_info where id in
#{id}
update base_location_info set stock_status = #{status} where id = #{id}