select warehouse_id, parent_id, category_id, area_id, canteen_id, warehouse_code, warehouse_name, user_id, manager, fetch_user_id, region_province, region_city, region_district, address, warehouse_type, if_use_warehouse_area, if_use_warehouse_location, del_flag, create_by, create_time, update_by, update_time from ims_warehouse_info
insert into ims_warehouse_info
parent_id,
category_id,
area_id,
canteen_id,
warehouse_code,
warehouse_name,
user_id,
manager,
fetch_user_id,
region_province,
region_city,
region_district,
address,
warehouse_type,
if_use_warehouse_area,
if_use_warehouse_location,
del_flag,
create_by,
create_time,
update_by,
update_time,
#{parentId},
#{categoryId},
#{areaId},
#{canteenId},
#{warehouseCode},
#{warehouseName},
#{userId},
#{manager},
#{fetchUserId},
#{regionProvince},
#{regionCity},
#{regionDistrict},
#{address},
#{warehouseType},
#{ifUseWarehouseArea},
#{ifUseWarehouseLocation},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update ims_warehouse_info
parent_id = #{parentId},
category_id = #{categoryId},
area_id = #{areaId},
canteen_id = #{canteenId},
warehouse_code = #{warehouseCode},
warehouse_name = #{warehouseName},
user_id = #{userId},
manager = #{manager},
fetch_user_id = #{fetchUserId},
region_province = #{regionProvince},
region_city = #{regionCity},
region_district = #{regionDistrict},
address = #{address},
warehouse_type = #{warehouseType},
if_use_warehouse_area = #{ifUseWarehouseArea},
if_use_warehouse_location = #{ifUseWarehouseLocation},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where warehouse_id = #{warehouseId}
delete from ims_warehouse_info where warehouse_id = #{warehouseId}
delete from ims_warehouse_info where warehouse_id in
#{warehouseId}