还是接着之前的内容,我贴出代码来
数据库
drop table if exists ap_order;
CREATE TABLE `ap_order` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`user_id` bigint(20) DEFAULT NULL COMMENT '创建用户id',
`customer_id` bigint(20) DEFAULT NULL COMMENT '客户id',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`total_money` decimal(10,2) DEFAULT NULL COMMENT '总金额',
`already_pay` decimal(10,2) DEFAULT NULL COMMENT '已经支付的钱数',
`next_pay_time` datetime DEFAULT NULL COMMENT '下次支付时间',
`discount` decimal(10,2) DEFAULT NULL COMMENT '回扣',
`product_state` tinyint(2) DEFAULT NULL COMMENT '0未发货 1
本文介绍了一个基于SpringBoot的销售管理系统中订单明细的实现。涵盖了后端数据库设计,包括orderDetails相关实体类、Mapper接口及XML文件、Service与ServiceImpl、Controller以及前端Vue的router和orderDetail组件。
订阅专栏 解锁全文
561

被折叠的 条评论
为什么被折叠?



