INSERT INTO `users` (username, purse, role, id_creator) VALUES ('super', '123456', 'super', 1); INSERT INTO `users` (username, purse, role, id_creator) VALUES ('admin', '123456', 'admin', 1); INSERT INTO `users` (username, purse, role, id_creator) VALUES ('小白', '123456', 'business', 2); INSERT INTO `users` (username, purse, role, id_creator) VALUES ('小花', '123456', 'business', 2); INSERT INTO `users` (username, purse, role, id_creator) VALUES ('小亮', '123456', 'business', 2); INSERT INTO `users` (username, purse, role, id_creator) VALUES ('小明', '123456', 'business', 2); INSERT INTO `users` (username, purse, role, id_creator) VALUES ('坏蛋', '123456', 'consumer', 2); INSERT INTO `users` (username, purse, role, id_creator) VALUES ('笨蛋', '123456', 'consumer', 2);
INSERT INTO `goods` (`name`, `id_type`, `id_creator`, `current_price`, `origin_price`, `rate`) VALUES ('宫爆鸡丁', 1, 4, 12, 15, 8);
INSERT INTO `orders` (`id_type`, `id_creator`, `id_goods`, `price_unit`, `rate`, `quantity`, `price_total`, `created`, `updated`) VALUES (1, 7, 1, 12, 8, 1, 12, NOW(), NOW()); INSERT INTO `orders` (`id_type`, `id_creator`, `id_goods`, `price_unit`, `rate`, `quantity`, `price_total`, `created`, `updated`) VALUES (1, 8, 1, 12, 8, 2, 24, NOW(), NOW());
INSERT INTO `type_of_goods` (`description`) VALUES ('菜品'); INSERT INTO `type_of_goods` (`description`) VALUES ('主食'); INSERT INTO `type_of_goods` (`description`) VALUES ('酒水'); INSERT INTO `type_of_goods` (`description`) VALUES ('其它');
INSERT INTO `type_of_orders` (`description`) VALUES ('消费'); INSERT INTO `type_of_orders` (`description`) VALUES ('业务办理'); INSERT INTO `type_of_orders` (`description`) VALUES ('理赔');
|