狂野 : 

--MRP功能模块中建立的对应表约束:alter table spaadd constraint uqe unique(idx, spadate);alter table spadadd Constraint fk_spad_invoice foreign key(listpid) references invoice(id);alter table spadadd Constraint fk_spad_invoiceitem foreign key(listid) reference
……