-- 木箱号是木箱实例的业务唯一标识,防止规格绑定并发写入重复记录。 ALTER TABLE wmw_boxinfo ADD UNIQUE INDEX uk_wmw_boxinfo_box_no (box_no);