id,
lane_id,
lane_name,
area_id,
area_name,
location_no,
location_yaw,
group_name,
sku_info,
sku_batch,
sku_number,
tray_info,
location_enable,
location_lock,
location_use_status,
location_x,
location_y,
location_wide,
location_deep,
location_height,
location_default_height,
location_total_height,
location_tray_height,
location_storey,
location_type,
location_number,
map_id,
map_item_id,
creator,
create_time,
updater,
update_time,
deleted
insert into ware_house_location(lane_id, lane_name, area_id, area_name, location_no, location_yaw, group_name,
sku_info, sku_batch, sku_number, tray_info, location_enable, location_lock,
location_use_status, location_x, location_y, location_wide, location_deep,
location_height, location_default_height, location_total_height,
location_tray_height, location_storey, location_type, location_number, creator,
create_time, updater, update_time, deleted, tenant_id)
values (#{laneId}, #{laneName}, #{areaId}, #{areaName}, #{locationNo}, #{locationYaw}, #{groupName}, #{skuInfo},
#{skuBatch}, #{skuNumber}, #{trayInfo}, #{locationEnable}, #{locationLock}, #{locationUseStatus},
#{locationX}, #{locationY}, #{locationWide}, #{locationDeep}, #{locationHeight},
#{locationDefaultHeight}, #{locationTotalHeight}, #{locationTrayHeight}, #{locationStorey},
#{locationType}, #{locationNumber}, #{creator}, #{createTime}, #{updater}, #{updateTime}, #{deleted},
#{tenantId})
insert into ware_house_location(lane_id, lane_name, area_id, area_name, location_no, location_yaw, group_name,
sku_info, sku_batch, sku_number, tray_info, location_enable, location_lock, location_use_status, location_x,
location_y, location_wide, location_deep, location_height, location_default_height, location_total_height,
location_tray_height, location_storey, location_type, location_number, creator, create_time, updater,
update_time, deleted, tenant_id)
values
(#{entity.laneId}, #{entity.laneName}, #{entity.areaId}, #{entity.areaName}, #{entity.locationNo},
#{entity.locationYaw}, #{entity.groupName}, #{entity.skuInfo}, #{entity.skuBatch}, #{entity.skuNumber},
#{entity.trayInfo}, #{entity.locationEnable}, #{entity.locationLock}, #{entity.locationUseStatus},
#{entity.locationX}, #{entity.locationY}, #{entity.locationWide}, #{entity.locationDeep},
#{entity.locationHeight}, #{entity.locationDefaultHeight}, #{entity.locationTotalHeight},
#{entity.locationTrayHeight}, #{entity.locationStorey}, #{entity.locationType}, #{entity.locationNumber},
#{entity.creator}, #{entity.createTime}, #{entity.updater}, #{entity.updateTime}, #{entity.deleted},
#{entity.tenantId})
insert into ware_house_location(lane_id, lane_name, area_id, area_name, location_no, location_yaw, group_name,
sku_info, sku_batch, sku_number, tray_info, location_enable, location_lock, location_use_status, location_x,
location_y, location_wide, location_deep, location_height, location_default_height, location_total_height,
location_tray_height, location_storey, location_type, location_number, creator, create_time, updater,
update_time, deleted, tenant_id)
values
(#{entity.laneId}, #{entity.laneName}, #{entity.areaId}, #{entity.areaName}, #{entity.locationNo},
#{entity.locationYaw}, #{entity.groupName}, #{entity.skuInfo}, #{entity.skuBatch}, #{entity.skuNumber},
#{entity.trayInfo}, #{entity.locationEnable}, #{entity.locationLock}, #{entity.locationUseStatus},
#{entity.locationX}, #{entity.locationY}, #{entity.locationWide}, #{entity.locationDeep},
#{entity.locationHeight}, #{entity.locationDefaultHeight}, #{entity.locationTotalHeight},
#{entity.locationTrayHeight}, #{entity.locationStorey}, #{entity.locationType}, #{entity.locationNumber},
#{entity.creator}, #{entity.createTime}, #{entity.updater}, #{entity.updateTime}, #{entity.deleted},
#{entity.tenantId})
on duplicate key update
lane_id = values(lane_id),
lane_name = values(lane_name),
area_id = values(area_id),
area_name = values(area_name),
location_no = values(location_no),
location_yaw = values(location_yaw),
group_name = values(group_name),
sku_info = values(sku_info),
sku_batch = values(sku_batch),
sku_number = values(sku_number),
tray_info = values(tray_info),
location_enable = values(location_enable),
location_lock = values(location_lock),
location_use_status = values(location_use_status),
location_x = values(location_x),
location_y = values(location_y),
location_wide = values(location_wide),
location_deep = values(location_deep),
location_height = values(location_height),
location_default_height = values(location_default_height),
location_total_height = values(location_total_height),
location_tray_height = values(location_tray_height),
location_storey = values(location_storey),
location_type = values(location_type),
location_number = values(location_number),
creator = values(creator),
create_time = values(create_time),
updater = values(updater),
update_time = values(update_time),
deleted = values(deleted),
tenant_id = values(tenant_id)
update ware_house_location
lane_id = #{laneId},
lane_name = #{laneName},
area_id = #{areaId},
area_name = #{areaName},
location_no = #{locationNo},
location_yaw = #{locationYaw},
group_name = #{groupName},
sku_info = #{skuInfo},
sku_batch = #{skuBatch},
sku_number = #{skuNumber},
tray_info = #{trayInfo},
location_enable = #{locationEnable},
location_lock = #{locationLock},
location_use_status = #{locationUseStatus},
location_x = #{locationX},
location_y = #{locationY},
location_wide = #{locationWide},
location_deep = #{locationDeep},
location_height = #{locationHeight},
location_default_height = #{locationDefaultHeight},
location_total_height = #{locationTotalHeight},
location_tray_height = #{locationTrayHeight},
location_storey = #{locationStorey},
location_type = #{locationType},
location_number = #{locationNumber},
creator = #{creator},
create_time = #{createTime},
updater = #{updater},
update_time = #{updateTime},
deleted = #{deleted},
tenant_id = #{tenantId},
where id = #{id}
update
ware_house_location
task_id = #{taskId},
location_lock = #{locationLock},
where
id = #{id}
update
ware_house_location
set
location_lock = #{locationLock},
task_id = #{taskId}
where
id in
#{id}