|
|
|
@ -1,77 +1,81 @@
|
|
|
|
|
-- -- 字段新增 (表名,字段名,字段类型,修改方式(1:新增,2:修改,3:删除)
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('io_order', 'fromReceiveBillNo', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('io_order', 'fromThrBillNo', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('io_order', 'syncStatus', 'tinyint ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('io_order', 'busType', 'tinyint ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('io_order', 'deliveryStatus', 'tinyint ', 1);
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('thr_bustype_origin', 'thirdSysName', 'varchar(255) ', 3);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('thr_system_bus_api', 'thirdBuyName', 'varchar(255) ', 3);
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('io_order_detail_biz', 'bindRlIds', 'varchar(255) ', 1);
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('auth_warehouse', 'advanceType', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('auth_warehouse', 'spUse', 'tinyint', 1);
|
|
|
|
|
--
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_udirel', 'relCode', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_udirel', 'lowStockNum', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_udirel', 'useExpireTime', 'int', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_udirel', 'dispatch', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_udirel', 'groupBuy', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_udirel', 'isDateBy', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_udirel', 'needCert', 'tinyint', 1);
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'vailDispatch', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'vailGroupBuy', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'busType', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'inStock', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'actionType', 'tinyint', 1);
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckEnable', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckWebNew', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckPdaUn', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckPdaEd', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckUdims', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckPc', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckSp', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckChange', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckBalance', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckCopy', 'tinyint', 1);
|
|
|
|
|
--
|
|
|
|
|
--
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_delivery_detail', 'batchNo', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_delivery_detail', 'productDate', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_delivery_detail', 'expireDate', 'varchar(255) ', 1);
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_arrival_detail', 'batchNo', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_arrival_detail', 'productDate', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_arrival_detail', 'expireDate', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_arrival_detail', 'arrivalCount', 'int ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_arrival', 'supId', 'varchar(255) ', 1);
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_returned_detail', 'batchNo', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_returned_detail', 'productDate', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_returned_detail', 'expireDate', 'varchar(255) ', 1);
|
|
|
|
|
--
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_delivery', 'supId', 'varchar(255) ', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('pur_returned', 'supId', 'varchar(255) ', 1);
|
|
|
|
|
--
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'targetBusAction', 'varchar(255)', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'busBeforeTime', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'beforeTime', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'auditStatus', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'busAuditStatus', 'tinyint', 1);
|
|
|
|
|
--
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_change', 'auditStatus', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_change', 'busAuditStatus', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_change', 'targetBusAction', 'varchar(255)', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_change', 'beforeTime', 'tinyint', 1);
|
|
|
|
|
-- CALL Pro_Temp_ColumnWork('basic_bustype_change', 'busBeforeTime', 'tinyint', 1);
|
|
|
|
|
# 字段新增 (表名,字段名,字段类型,修改方式(1:新增,2:修改,3:删除)
|
|
|
|
|
CALL Pro_Temp_ColumnWork('io_order', 'fromReceiveBillNo', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('io_order', 'fromThrBillNo', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('io_order', 'syncStatus', 'tinyint ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('io_order', 'busType', 'tinyint ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('io_order', 'deliveryStatus', 'tinyint ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('io_order', 'inCodeStatus', 'tinyint ', 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('thr_bustype_origin', 'thirdSysName', 'varchar(255) ', 3);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('thr_system_bus_api', 'thirdBuyName', 'varchar(255) ', 3);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('io_order_detail_biz', 'bindRlIds', 'varchar(255) ', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('auth_warehouse', 'advanceType', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('auth_warehouse', 'spUse', 'tinyint', 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_udirel', 'relCode', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_udirel', 'lowStockNum', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_udirel', 'useExpireTime', 'int', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_udirel', 'dispatch', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_udirel', 'groupBuy', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_udirel', 'isDateBy', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_udirel', 'needCert', 'tinyint', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'vailDispatch', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'vailGroupBuy', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'busType', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'inStock', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'actionType', 'tinyint', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckEnable', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckWebNew', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckPdaUn', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckPdaEd', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckUdims', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckPc', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckSp', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckChange', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckBalance', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckCopy', 'tinyint', 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_delivery_detail', 'batchNo', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_delivery_detail', 'productDate', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_delivery_detail', 'expireDate', 'varchar(255) ', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_arrival_detail', 'batchNo', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_arrival_detail', 'productDate', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_arrival_detail', 'expireDate', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_arrival_detail', 'arrivalCount', 'int ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_arrival', 'supId', 'varchar(255) ', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_returned_detail', 'batchNo', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_returned_detail', 'productDate', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_returned_detail', 'expireDate', 'varchar(255) ', 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_delivery', 'supId', 'varchar(255) ', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_returned', 'supId', 'varchar(255) ', 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'targetBusAction', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'busBeforeTime', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'beforeTime', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'auditStatus', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'busAuditStatus', 'tinyint', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_change', 'auditStatus', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_change', 'busAuditStatus', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_change', 'targetBusAction', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_change', 'beforeTime', 'tinyint', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('basic_bustype_change', 'busBeforeTime', 'tinyint', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_order', 'emergency', 'varchar(255)', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_order', 'arrivalTime', 'datetime', 1);
|
|
|
|
|
CALL Pro_Temp_ColumnWork('pur_order_detail', 'planCount', 'tinyint', 1);
|
|
|
|
|
|
|
|
|
|
CALL Pro_Temp_ColumnWork('inv_prein_detail', 'status', 'tinyint', 1);
|
|
|
|
|