update st_ivt_structattr
    set is_used = false,lock_type = false,is_emptyvehicle = false,storagevehicle_code = '',storagevehicle_qty = null,inv_id = null,inv_code = null,inv_type = null
where stor_id='1528627995269533696'and sect_id='1528631043496742912'; -- 更新成品库仓位为禁用状态 --
delete from st_ivt_structivt_cp; -- 库存表 --
delete from st_ivt_iostorinv_cp; -- 出入单主表 --
delete from st_ivt_iostorinvdtl_cp; -- 出入库明细表 --
delete from st_ivt_iostorinvdis_cp; -- 出入库分配表 --
delete from st_ivt_iostorinvdisdtl_cp; -- 出入库分配明细表 --
delete from md_pb_bucketrecord; -- 箱记录表 --
delete from st_ivt_structivtflow_cp; -- 成品库存变动记录表 --
