标签:one ima web user 图片 table sping enc inf
1 use book; 2 3 create table t_order( 4 `order_id` varchar(50) primary key, 5 `create_time` datetime, 6 `price` decimal(11,2), 7 `status` int, 8 `user_id` int, 9 foreign key(`user_id`) references t_user(`id`) 10 ); 11 12 13 create table t_order_item( 14 `id` int primary key auto_increment, 15 `name` varchar(100), 16 `count` int, 17 `price` decimal(11,2), 18 `total_price` decimal(11,2), 19 `order_id` varchar(50), 20 foreign key(`order_id`) references t_order(`order_id`) 21 );
D16 Sping Boot 入门 Sping框架--Java Web之书城项目(七) dingda模块
标签:one ima web user 图片 table sping enc inf
原文地址:https://www.cnblogs.com/nuister/p/13048726.html