hrbtms/Mysqls.sql

18 lines
759 B
MySQL
Raw Normal View History

2024-08-03 17:10:40 +08:00
alter table TMS_SHIPMENT add (ORDER_DATE timestamp);
alter table TMS_ORDER_DETAIL add (ITEM_ID number(19)) ;
alter table TMS_ORDER_DETAIL
add constraint FK39D7EE13EE360h29 foreign key (ITEM_ID)
references wms_item (ID);
alter table TMS_SEPARATE add (SEPARATE_QTY FLOAT) ;
/*分单表添加数量做标识*/
alter table TMS_SEPARATE add (QUANTITY1 FLOAT) ;
alter table TMS_SEPARATE add (QUANTITY2 FLOAT) ;
alter table TMS_SEPARATE add (QUANTITY3 FLOAT) ;
alter table TMS_SEPARATE add (QUANTITY4 FLOAT) ;
alter table TMS_SEPARATE add (QUANTITY5 FLOAT) ;
/**/
update TMS_SEPARATE s set s.separate_qty=0,s.quantity1=0,s.quantity2=0,s.quantity3=0,s.quantity4=0,s.quantity5=0
where s.separate_qty is null