You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.8 KiB
33 lines
1.8 KiB
-- 企业/集团信息
|
|
INSERT INTO `enp_info` (`sid`, `name`, `code`) VALUES
|
|
('1001', '中鸿记', '1001');
|
|
-- 企业品牌信息
|
|
INSERT INTO `enp_brand` (`sid`, `name`, `code`, `enpSid`, `enpCode`, `enpName`) VALUES
|
|
('100101', '熟溢香', '100101', '1001', '1001', '中鸿记'),
|
|
('100102', '馍馍卤', '100102', '1001', '1001', '中鸿记');
|
|
-- 企业门店信息
|
|
INSERT INTO `enp_store` (`sid`, `name`, `code`, `enpSid`, `enpCode`, `enpName`, `brandSid`, `brandCode`, `brandName`) VALUES
|
|
('10010101', '熟溢香振头店', '10010101', '1001', '1001', '中鸿记','100101', '100101', '熟溢香'),
|
|
('10010102', '馍馍卤振岗店', '10010102', '1001', '1001', '中鸿记','100102', '100102', '馍馍卤'),
|
|
('10010103', '馍馍卤雅清街店', '10010103', '1001', '1001', '中鸿记','100102', '100102', '馍馍卤');
|
|
|
|
|
|
|
|
INSERT INTO `enp_brand` (`sid`, `name`, `code`, `enpSid`, `enpCode`, `enpName`) VALUES
|
|
('100103', '杨麻子大饼', '100103', '1001', '1001', '中鸿记');
|
|
INSERT INTO `enp_store` (`sid`, `name`, `code`, `enpSid`, `enpCode`, `enpName`, `brandSid`, `brandCode`, `brandName`) VALUES
|
|
('10010301', '(红旗店)桥西区红旗大街分公司', '10010301', '1001', '1001', '中鸿记','100103', '100103', '杨麻子大饼');
|
|
|
|
INSERT INTO `conf_brand_proportion` (`brandSid`, `brandName`, `typeName`, `proportion`) VALUES
|
|
('100101', '熟溢香', '面', '10'),
|
|
('100101', '熟溢香', '米', '2'),
|
|
('100101', '熟溢香', '油', '5'),
|
|
('100102', '馍馍卤', '面', '15'),
|
|
('100102', '馍馍卤', '米', '10'),
|
|
('100102', '馍馍卤', '油', '5');
|
|
|
|
INSERT INTO `conf_brand_proportion` (`brandSid`, `brandName`, `typeName`, `proportion`) VALUES
|
|
('100103', '杨麻子大饼', '面类', '5.36'),
|
|
('100103', '杨麻子大饼', '米类', '0.74'),
|
|
('100103', '杨麻子大饼', '食用油', '4.92');
|
|
|