1.迁移order service 代码
2.先注释掉提示错误的代码,后续相关人员开发功能时自行解开
This commit is contained in:
parent
bea0228357
commit
e04798d48a
@ -0,0 +1,176 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计算订单价格结果 BO
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class CalcOrderPriceBO {
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * 商品分组数组
|
||||||
|
// */
|
||||||
|
// private List<ItemGroup> itemGroups;
|
||||||
|
// /**
|
||||||
|
// * 优惠劵编号
|
||||||
|
// */
|
||||||
|
// private Integer couponCardId;
|
||||||
|
// /**
|
||||||
|
// * 优惠劵减少的金额
|
||||||
|
// *
|
||||||
|
// * 1. 若未使用优惠劵,返回 null
|
||||||
|
// * 2. 该金额,已经分摊到每个 Item 的 discountTotal ,需要注意。
|
||||||
|
// */
|
||||||
|
// private Integer couponCardDiscountTotal;
|
||||||
|
// /**
|
||||||
|
// * 邮费信息
|
||||||
|
// *
|
||||||
|
// * TODO 芋艿,暂时未弄
|
||||||
|
// */
|
||||||
|
// private Postage postage;
|
||||||
|
// /**
|
||||||
|
// * 费用
|
||||||
|
// */
|
||||||
|
// private Fee fee;
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 商品分组
|
||||||
|
// *
|
||||||
|
// * 多个商品,参加同一个活动,从而形成分组。
|
||||||
|
// */
|
||||||
|
// @Data
|
||||||
|
// @Accessors(chain = true)
|
||||||
|
// public static class ItemGroup {
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 优惠活动
|
||||||
|
// */
|
||||||
|
// // TODO 芋艿,目前只会有【满减送】的情况,未来有新的促销方式,可能需要改成数组
|
||||||
|
// private PromotionActivityBO activity;
|
||||||
|
// /**
|
||||||
|
// * 促销减少的金额
|
||||||
|
// *
|
||||||
|
// * 1. 若未参与促销活动,或不满足促销条件,返回 null
|
||||||
|
// * 2. 该金额,已经分摊到每个 Item 的 discountTotal ,需要注意。
|
||||||
|
// */
|
||||||
|
// private Integer activityDiscountTotal;
|
||||||
|
// /**
|
||||||
|
// * 商品数组
|
||||||
|
// */
|
||||||
|
// private List<Item> items;
|
||||||
|
//// /**
|
||||||
|
//// * 费用
|
||||||
|
//// *
|
||||||
|
//// * TODO 芋艿,这里先偷懒,postageTotal 字段用不到。
|
||||||
|
//// */
|
||||||
|
//// private Fee fee; // 注释原因,不用这里了
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// @Data
|
||||||
|
// @Accessors(chain = true)
|
||||||
|
// public static class Item extends ProductSkuDetailBO { // TODO 芋艿,此处先偷懒继承
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 是否选中
|
||||||
|
// */
|
||||||
|
// private Boolean selected;
|
||||||
|
// /**
|
||||||
|
// * 购买数量
|
||||||
|
// */
|
||||||
|
// private Integer buyQuantity;
|
||||||
|
// /**
|
||||||
|
// * 优惠活动
|
||||||
|
// */
|
||||||
|
// private PromotionActivityBO activity;
|
||||||
|
// /**
|
||||||
|
// * 原始单价,单位:分。
|
||||||
|
// */
|
||||||
|
// private Integer originPrice;
|
||||||
|
// /**
|
||||||
|
// * 购买单价,单位:分
|
||||||
|
// */
|
||||||
|
// private Integer buyPrice;
|
||||||
|
// /**
|
||||||
|
// * 最终价格,单位:分。
|
||||||
|
// */
|
||||||
|
// private Integer presentPrice;
|
||||||
|
// /**
|
||||||
|
// * 购买总金额,单位:分
|
||||||
|
// *
|
||||||
|
// * 用途类似 {@link #presentTotal}
|
||||||
|
// */
|
||||||
|
// private Integer buyTotal;
|
||||||
|
// /**
|
||||||
|
// * 优惠总金额,单位:分。
|
||||||
|
// */
|
||||||
|
// private Integer discountTotal;
|
||||||
|
// /**
|
||||||
|
// * 最终总金额,单位:分。
|
||||||
|
// *
|
||||||
|
// * 注意,presentPrice * quantity 不一定等于 presentTotal 。
|
||||||
|
// * 因为,存在无法整除的情况。
|
||||||
|
// * 举个例子,presentPrice = 8.33 ,quantity = 3 的情况,presentTotal 有可能是 24.99 ,也可能是 25 。
|
||||||
|
// * 所以,需要存储一个该字段。
|
||||||
|
// */
|
||||||
|
// private Integer presentTotal;
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 费用(合计)
|
||||||
|
// */
|
||||||
|
// @Data
|
||||||
|
// @Accessors(chain = true)
|
||||||
|
// public static class Fee {
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 购买总价
|
||||||
|
// */
|
||||||
|
// private Integer buyTotal;
|
||||||
|
// /**
|
||||||
|
// * 优惠总价
|
||||||
|
// *
|
||||||
|
// * 注意,满多少元包邮,不算在优惠中。
|
||||||
|
// */
|
||||||
|
// private Integer discountTotal;
|
||||||
|
// /**
|
||||||
|
// * 邮费 TODO 芋艿,将 postage 改成 logistics
|
||||||
|
// */
|
||||||
|
// private Integer postageTotal;
|
||||||
|
// /**
|
||||||
|
// * 最终价格
|
||||||
|
// *
|
||||||
|
// * 计算公式 = 总价 - 优惠总价 + 邮费
|
||||||
|
// */
|
||||||
|
// private Integer presentTotal;
|
||||||
|
//
|
||||||
|
// public Fee() {
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// public Fee(Integer buyTotal, Integer discountTotal, Integer postageTotal, Integer presentTotal) {
|
||||||
|
// this.buyTotal = buyTotal;
|
||||||
|
// this.discountTotal = discountTotal;
|
||||||
|
// this.postageTotal = postageTotal;
|
||||||
|
// this.presentTotal = presentTotal;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 邮费信息
|
||||||
|
// */
|
||||||
|
// @Data
|
||||||
|
// @Accessors(chain = true)
|
||||||
|
// public static class Postage {
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 需要满足多少钱,可以包邮。单位:分
|
||||||
|
// */
|
||||||
|
// private Integer threshold;
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计算商品 SKU 价格结果 BO
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class CalcSkuPriceBO implements Serializable {
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * 满减送促销活动
|
||||||
|
// */
|
||||||
|
// private PromotionActivityBO fullPrivilege;
|
||||||
|
// /**
|
||||||
|
// * 限时折扣促销活动
|
||||||
|
// */
|
||||||
|
// private PromotionActivityBO timeLimitedDiscount;
|
||||||
|
// /**
|
||||||
|
// * 原价格,单位:分。
|
||||||
|
// */
|
||||||
|
// private Integer originalPrice;
|
||||||
|
// /**
|
||||||
|
// * 购买价格,单位:分。
|
||||||
|
// */
|
||||||
|
// private Integer buyPrice;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,100 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 购物车的商品信息 DO
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class CartItemBO {
|
||||||
|
|
||||||
|
// ========= 基础字段 BEGIN =========
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号,唯一自增。
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 状态
|
||||||
|
*
|
||||||
|
* 1-正常
|
||||||
|
* 2-主动删除
|
||||||
|
* 3-下单删除
|
||||||
|
*/
|
||||||
|
private Integer status;
|
||||||
|
/**
|
||||||
|
* 是否选中
|
||||||
|
*/
|
||||||
|
private Boolean selected;
|
||||||
|
|
||||||
|
// ========= 基础字段 END =========
|
||||||
|
|
||||||
|
// ========= 买家信息 BEGIN =========
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户编号
|
||||||
|
*/
|
||||||
|
private Integer userId;
|
||||||
|
// /**
|
||||||
|
// * 会话 key
|
||||||
|
// */
|
||||||
|
// private String nobody;
|
||||||
|
|
||||||
|
// ========= 买家信息 END =========
|
||||||
|
|
||||||
|
// ========= 商品信息 BEGIN =========
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品 SPU 编号
|
||||||
|
*/
|
||||||
|
private Integer spuId;
|
||||||
|
/**
|
||||||
|
* 商品 SKU 编号
|
||||||
|
*/
|
||||||
|
private Integer skuId;
|
||||||
|
/**
|
||||||
|
* 商品购买数量
|
||||||
|
*/
|
||||||
|
private Integer quantity;
|
||||||
|
|
||||||
|
// TODO 冗余字段
|
||||||
|
|
||||||
|
|
||||||
|
// ========= 商品信息 END =========
|
||||||
|
|
||||||
|
// ========= 交易信息 BEGIN =========
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private Integer orderId;
|
||||||
|
/**
|
||||||
|
* 订单创建时间
|
||||||
|
*/
|
||||||
|
private Date orderCreateTime;
|
||||||
|
|
||||||
|
// ========= 交易信息 BEGIN =========
|
||||||
|
|
||||||
|
// ========= 优惠信息 BEGIN =========
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * 商品营销活动编号
|
||||||
|
// */
|
||||||
|
// private Integer activityId;
|
||||||
|
// /**
|
||||||
|
// * 商品营销活动类型
|
||||||
|
// */
|
||||||
|
// private Integer activityType;
|
||||||
|
|
||||||
|
// ========= 优惠信息 END =========
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,115 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单 page
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-03-23 14:30
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 用户编号
|
||||||
|
*/
|
||||||
|
private Integer userId;
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 购买(商品)总金额,单位:分
|
||||||
|
*/
|
||||||
|
private Integer buyPrice;
|
||||||
|
/**
|
||||||
|
* 优惠总金额,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer discountPrice;
|
||||||
|
/**
|
||||||
|
* 物流金额 (分)
|
||||||
|
*/
|
||||||
|
private Integer logisticsPrice;
|
||||||
|
/**
|
||||||
|
* 最终金额,单位:分
|
||||||
|
*
|
||||||
|
* buyPrice + logisticsPrice - discountPrice = presentPrice
|
||||||
|
*/
|
||||||
|
private Integer presentPrice;
|
||||||
|
/**
|
||||||
|
* 实际已支付金额,单位:分
|
||||||
|
*
|
||||||
|
* 初始时,金额为 0 。等到支付成功后,会进行更新。
|
||||||
|
*/
|
||||||
|
private Integer payAmount;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 时间信息
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 付款时间(待发货)
|
||||||
|
*/
|
||||||
|
private Date paymentTime;
|
||||||
|
/**
|
||||||
|
* 发货时间(待收货)
|
||||||
|
*/
|
||||||
|
private Date deliveryTime;
|
||||||
|
/**
|
||||||
|
* 收货时间(已签收)
|
||||||
|
*/
|
||||||
|
private Date receiverTime;
|
||||||
|
/**
|
||||||
|
* 成交时间(用户确认收货 -> status = 已完成)
|
||||||
|
*/
|
||||||
|
private Date closingTime;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 其他
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否退货
|
||||||
|
*
|
||||||
|
* - 0、没有
|
||||||
|
* - 1、换货
|
||||||
|
* - 2、退货
|
||||||
|
* - 3、换货 + 退货
|
||||||
|
*/
|
||||||
|
private Integer hasReturnExchange;
|
||||||
|
/**
|
||||||
|
* 状态(如果有多个商品分开发货需要全部商品发完才会改变状态)
|
||||||
|
*
|
||||||
|
* - 0、待付款
|
||||||
|
* - 1、待发货
|
||||||
|
* - 2、待收获
|
||||||
|
* - 3、已完成
|
||||||
|
* - 4、已关闭
|
||||||
|
*/
|
||||||
|
private Integer status;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 关联信息
|
||||||
|
|
||||||
|
/**
|
||||||
|
* orderItem
|
||||||
|
*/
|
||||||
|
private List<OrderItemBO> orderItems;
|
||||||
|
/**
|
||||||
|
* 订单物流信息
|
||||||
|
*/
|
||||||
|
private OrderRecipientBO orderRecipient;
|
||||||
|
}
|
@ -0,0 +1,30 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单创建 BO
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-03-16 14:38
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderCreateBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 订单金额
|
||||||
|
*/
|
||||||
|
private Integer payAmount;
|
||||||
|
}
|
@ -0,0 +1,233 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单 info
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-04-14 15:36
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderInfoBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 购买(商品)总金额,单位:分
|
||||||
|
*/
|
||||||
|
private Integer buyPrice;
|
||||||
|
/**
|
||||||
|
* 优惠总金额,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer discountPrice;
|
||||||
|
/**
|
||||||
|
* 物流金额 (分)
|
||||||
|
*/
|
||||||
|
private Integer logisticsPrice;
|
||||||
|
/**
|
||||||
|
* 最终金额,单位:分
|
||||||
|
*
|
||||||
|
* buyPrice + logisticsPrice - discountPrice = presentPrice
|
||||||
|
*/
|
||||||
|
private Integer presentPrice;
|
||||||
|
/**
|
||||||
|
* 实际已支付金额,单位:分
|
||||||
|
*
|
||||||
|
* 初始时,金额为 0 。等到支付成功后,会进行更新。
|
||||||
|
*/
|
||||||
|
private Integer payAmount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 付款时间(待发货)
|
||||||
|
*/
|
||||||
|
private Date paymentTime;
|
||||||
|
/**
|
||||||
|
* 发货时间(待收货)
|
||||||
|
*/
|
||||||
|
private Date deliveryTime;
|
||||||
|
/**
|
||||||
|
* 收货时间(已签收)
|
||||||
|
*/
|
||||||
|
private Date receiverTime;
|
||||||
|
/**
|
||||||
|
* 成交时间(用户确认收货 -> status = 已完成)
|
||||||
|
*/
|
||||||
|
private Date closingTime;
|
||||||
|
/**
|
||||||
|
* 是否退货
|
||||||
|
*
|
||||||
|
* - 1、没有
|
||||||
|
* - 2、换货
|
||||||
|
* - 3、退货
|
||||||
|
* - 4、换货 + 退货
|
||||||
|
*/
|
||||||
|
private Integer hasReturnExchange;
|
||||||
|
/**
|
||||||
|
* 状态(如果有多个商品分开发货需要全部商品发完才会改变状态)
|
||||||
|
*
|
||||||
|
* - 1、待付款
|
||||||
|
* - 2、待发货
|
||||||
|
* - 3、待收获
|
||||||
|
* - 4、已完成
|
||||||
|
* - 5、已关闭
|
||||||
|
*/
|
||||||
|
private Integer status;
|
||||||
|
/**
|
||||||
|
* 转换的字典值
|
||||||
|
*/
|
||||||
|
private String statusText;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 其他信息
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手机人信息
|
||||||
|
*/
|
||||||
|
private Recipient recipient;
|
||||||
|
/**
|
||||||
|
* 最新物流信息
|
||||||
|
*/
|
||||||
|
private LogisticsDetail latestLogisticsDetail;
|
||||||
|
/**
|
||||||
|
* 订单 item
|
||||||
|
*/
|
||||||
|
private List<OrderItem> orderItems;
|
||||||
|
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 其他字段
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否退货
|
||||||
|
*/
|
||||||
|
private Integer hasOrderReturn;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class OrderItem {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品编号
|
||||||
|
*/
|
||||||
|
private Integer skuId;
|
||||||
|
/**
|
||||||
|
* 商品名称
|
||||||
|
*/
|
||||||
|
private String skuName;
|
||||||
|
/**
|
||||||
|
* 商品图片
|
||||||
|
*/
|
||||||
|
private String skuImage;
|
||||||
|
/**
|
||||||
|
* 数量
|
||||||
|
*/
|
||||||
|
private Integer quantity;
|
||||||
|
/**
|
||||||
|
* 原始单价,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer originPrice;
|
||||||
|
/**
|
||||||
|
* 购买单价,单位:分
|
||||||
|
*/
|
||||||
|
private Integer buyPrice;
|
||||||
|
/**
|
||||||
|
* 最终价格,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer presentPrice;
|
||||||
|
/**
|
||||||
|
* 购买总金额,单位:分
|
||||||
|
*
|
||||||
|
* 用途类似 {@link #presentTotal}
|
||||||
|
*/
|
||||||
|
private Integer buyTotal;
|
||||||
|
/**
|
||||||
|
* 优惠总金额,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer discountTotal;
|
||||||
|
/**
|
||||||
|
* 最终总金额,单位:分。
|
||||||
|
*
|
||||||
|
* 注意,presentPrice * quantity 不一定等于 presentTotal 。
|
||||||
|
* 因为,存在无法整除的情况。
|
||||||
|
* 举个例子,presentPrice = 8.33 ,quantity = 3 的情况,presentTotal 有可能是 24.99 ,也可能是 25 。
|
||||||
|
* 所以,需要存储一个该字段。
|
||||||
|
*/
|
||||||
|
private Integer presentTotal;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class Recipient {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 订单id
|
||||||
|
*/
|
||||||
|
private Integer orderId;
|
||||||
|
/**
|
||||||
|
* 收件区域编号
|
||||||
|
*/
|
||||||
|
private String areaNo;
|
||||||
|
/**
|
||||||
|
* 收件人名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 收件手机号
|
||||||
|
*/
|
||||||
|
private String mobile;
|
||||||
|
/**
|
||||||
|
* 配送类型
|
||||||
|
*
|
||||||
|
* - 1 快递
|
||||||
|
*/
|
||||||
|
private Integer type;
|
||||||
|
/**
|
||||||
|
* 收件详细地址
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class LogisticsDetail {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 物流id
|
||||||
|
*/
|
||||||
|
private Integer orderLogisticsId;
|
||||||
|
/**
|
||||||
|
* 物流时间
|
||||||
|
*/
|
||||||
|
private Date logisticsTime;
|
||||||
|
/**
|
||||||
|
* 物流信息
|
||||||
|
*/
|
||||||
|
private String logisticsInformation;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,143 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单 item
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-03-28 21:11
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderItemBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private Integer orderId;
|
||||||
|
/**
|
||||||
|
* 订单号
|
||||||
|
*/
|
||||||
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 商品编号
|
||||||
|
*/
|
||||||
|
private Integer skuId;
|
||||||
|
/**
|
||||||
|
* 商品名称
|
||||||
|
*/
|
||||||
|
private String skuName;
|
||||||
|
/**
|
||||||
|
* 商品图片
|
||||||
|
*/
|
||||||
|
private String skuImage;
|
||||||
|
/**
|
||||||
|
* 数量
|
||||||
|
*/
|
||||||
|
private Integer quantity;
|
||||||
|
/**
|
||||||
|
* 原始单价,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer originPrice;
|
||||||
|
/**
|
||||||
|
* 购买单价,单位:分
|
||||||
|
*/
|
||||||
|
private Integer buyPrice;
|
||||||
|
/**
|
||||||
|
* 最终价格,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer presentPrice;
|
||||||
|
/**
|
||||||
|
* 购买总金额,单位:分
|
||||||
|
*
|
||||||
|
* 用途类似 {@link #presentTotal}
|
||||||
|
*/
|
||||||
|
private Integer buyTotal;
|
||||||
|
/**
|
||||||
|
* 优惠总金额,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer discountTotal;
|
||||||
|
/**
|
||||||
|
* 最终总金额,单位:分。
|
||||||
|
*
|
||||||
|
* 注意,presentPrice * quantity 不一定等于 presentTotal 。
|
||||||
|
* 因为,存在无法整除的情况。
|
||||||
|
* 举个例子,presentPrice = 8.33 ,quantity = 3 的情况,presentTotal 有可能是 24.99 ,也可能是 25 。
|
||||||
|
* 所以,需要存储一个该字段。
|
||||||
|
*/
|
||||||
|
private Integer presentTotal;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 时间信息
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 付款时间
|
||||||
|
*/
|
||||||
|
private Date paymentTime;
|
||||||
|
/**
|
||||||
|
* 发货时间
|
||||||
|
*/
|
||||||
|
private Date deliveryTime;
|
||||||
|
/**
|
||||||
|
* 收货时间
|
||||||
|
*/
|
||||||
|
private Date receiverTime;
|
||||||
|
/**
|
||||||
|
* 成交时间
|
||||||
|
*/
|
||||||
|
private Date closingTime;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 其他
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否退货
|
||||||
|
*
|
||||||
|
* - 1、没有
|
||||||
|
* - 2、换货
|
||||||
|
* - 3、退货
|
||||||
|
* - 4、换货 + 退货
|
||||||
|
*/
|
||||||
|
private Integer hasReturnExchange;
|
||||||
|
/**
|
||||||
|
* 发货方式
|
||||||
|
*
|
||||||
|
* - 1 未选择
|
||||||
|
* - 2 在线下单
|
||||||
|
* - 3 自己联系快递
|
||||||
|
* - 4 无物流
|
||||||
|
*/
|
||||||
|
private Integer deliveryType;
|
||||||
|
/**
|
||||||
|
* 状态
|
||||||
|
*
|
||||||
|
* - 1、待付款
|
||||||
|
* - 2、待发货
|
||||||
|
* - 3、已发货
|
||||||
|
* - 4、已完成
|
||||||
|
* - 5、已关闭
|
||||||
|
*/
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 删除状态
|
||||||
|
*/
|
||||||
|
private Integer deleted;
|
||||||
|
}
|
@ -0,0 +1,85 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单物流 - 最后一个物流信息
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-04-12 22:03
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderLastLogisticsInfoBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 收件区域编号
|
||||||
|
*/
|
||||||
|
private String areaNo;
|
||||||
|
/**
|
||||||
|
* 收件人名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 收件手机号
|
||||||
|
*/
|
||||||
|
private String mobile;
|
||||||
|
/**
|
||||||
|
* 收件详细地址
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 物流 (字典)
|
||||||
|
*/
|
||||||
|
private Integer logistics;
|
||||||
|
/**
|
||||||
|
* 物流 (字典) 转换后的值
|
||||||
|
*/
|
||||||
|
private String logisticsText;
|
||||||
|
/**
|
||||||
|
* 物流编号
|
||||||
|
*/
|
||||||
|
private String logisticsNo;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 物流信息
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 最后一个物流信息
|
||||||
|
*/
|
||||||
|
private LogisticsDetail lastLogisticsDetail;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class LogisticsDetail {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 物流id
|
||||||
|
*/
|
||||||
|
private Integer orderLogisticsId;
|
||||||
|
/**
|
||||||
|
* 物流时间
|
||||||
|
*/
|
||||||
|
private Date logisticsTime;
|
||||||
|
/**
|
||||||
|
* 物流时间 text
|
||||||
|
*/
|
||||||
|
private String logisticsTimeText;
|
||||||
|
/**
|
||||||
|
* 物流信息
|
||||||
|
*/
|
||||||
|
private String logisticsInformation;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,41 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import cn.iocoder.mall.mybatis.dataobject.BaseDO;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单物流信息
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-03-19 20:47
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderLogisticsBO extends BaseDO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 收件区域编号
|
||||||
|
*/
|
||||||
|
private String areaNo;
|
||||||
|
/**
|
||||||
|
* 收件人名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 收件手机号
|
||||||
|
*/
|
||||||
|
private String mobile;
|
||||||
|
/**
|
||||||
|
* 收件详细地址
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 物流编号
|
||||||
|
*/
|
||||||
|
private String logisticsNo;
|
||||||
|
}
|
@ -0,0 +1,82 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单物流 - 详细信息
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-04-12 22:03
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderLogisticsInfoBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 收件区域编号
|
||||||
|
*/
|
||||||
|
private String areaNo;
|
||||||
|
/**
|
||||||
|
* 收件人名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 收件手机号
|
||||||
|
*/
|
||||||
|
private String mobile;
|
||||||
|
/**
|
||||||
|
* 收件详细地址
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 物流 (字典)
|
||||||
|
*/
|
||||||
|
private Integer logistics;
|
||||||
|
/**
|
||||||
|
* 物流 (字典) 转换后的值
|
||||||
|
*/
|
||||||
|
private String logisticsText;
|
||||||
|
/**
|
||||||
|
* 物流编号
|
||||||
|
*/
|
||||||
|
private String logisticsNo;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 物流信息
|
||||||
|
|
||||||
|
private List<LogisticsDetail> details;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class LogisticsDetail {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 物流id
|
||||||
|
*/
|
||||||
|
private Integer orderLogisticsId;
|
||||||
|
/**
|
||||||
|
* 物流时间
|
||||||
|
*/
|
||||||
|
private Date logisticsTime;
|
||||||
|
/**
|
||||||
|
* 物流时间 text
|
||||||
|
*/
|
||||||
|
private String logisticsTimeText;
|
||||||
|
/**
|
||||||
|
* 物流信息
|
||||||
|
*/
|
||||||
|
private String logisticsInformation;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,100 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单物流 - 详细信息
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-04-12 22:03
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderLogisticsInfoWithOrderBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单id
|
||||||
|
*/
|
||||||
|
private Integer orderId;
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 物流信息
|
||||||
|
*/
|
||||||
|
private List<Logistics> logistics;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class Logistics {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 收件区域编号
|
||||||
|
*/
|
||||||
|
private String areaNo;
|
||||||
|
/**
|
||||||
|
* 收件人名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 收件手机号
|
||||||
|
*/
|
||||||
|
private String mobile;
|
||||||
|
/**
|
||||||
|
* 收件详细地址
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 物流 (字典)
|
||||||
|
*/
|
||||||
|
private Integer logistics;
|
||||||
|
/**
|
||||||
|
* 物流 (字典) 转换后的值
|
||||||
|
*/
|
||||||
|
private String logisticsText;
|
||||||
|
/**
|
||||||
|
* 物流编号
|
||||||
|
*/
|
||||||
|
private String logisticsNo;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 物流信息
|
||||||
|
|
||||||
|
private List<LogisticsDetail> details;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class LogisticsDetail {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 物流id
|
||||||
|
*/
|
||||||
|
private Integer orderLogisticsId;
|
||||||
|
/**
|
||||||
|
* 物流时间
|
||||||
|
*/
|
||||||
|
private Date logisticsTime;
|
||||||
|
/**
|
||||||
|
* 物流时间 text
|
||||||
|
*/
|
||||||
|
private String logisticsTimeText;
|
||||||
|
/**
|
||||||
|
* 物流信息
|
||||||
|
*/
|
||||||
|
private String logisticsInformation;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单分页
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-03-27 21:27
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderPageBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 总条数
|
||||||
|
*/
|
||||||
|
private Integer total;
|
||||||
|
/**
|
||||||
|
* 订单列表
|
||||||
|
*/
|
||||||
|
private List<OrderBO> orders;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单支付信息返回
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-04-08 19:39
|
||||||
|
*/
|
||||||
|
public class OrderPayBO implements Serializable {
|
||||||
|
}
|
@ -0,0 +1,45 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import cn.iocoder.mall.mybatis.dataobject.BaseDO;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单收件人信息 order_recipient
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-03-31 11:37
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderRecipientBO extends BaseDO { // TODO FROM 芋艿 TO 小范,不要继承 BaseDO
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 订单id
|
||||||
|
*/
|
||||||
|
private Integer orderId;
|
||||||
|
/**
|
||||||
|
* 收件区域编号
|
||||||
|
*/
|
||||||
|
private String areaNo;
|
||||||
|
/**
|
||||||
|
* 收件人名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 收件手机号
|
||||||
|
*/
|
||||||
|
private String mobile;
|
||||||
|
/**
|
||||||
|
* 手机方式
|
||||||
|
*/
|
||||||
|
private Integer type;
|
||||||
|
/**
|
||||||
|
* 收件详细地址
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
}
|
@ -0,0 +1,141 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单退货 info
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-04-27 10:19
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderReturnInfoBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 退货信息
|
||||||
|
*/
|
||||||
|
private ReturnInfo returnInfo;
|
||||||
|
/**
|
||||||
|
* 订单 item
|
||||||
|
*/
|
||||||
|
private List<OrderItem> orderItems;
|
||||||
|
/**
|
||||||
|
* 最后一个物流信息/最新物流信息
|
||||||
|
*/
|
||||||
|
private OrderLastLogisticsInfoBO lastLogisticsInfo;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class OrderItem {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商品编号
|
||||||
|
*/
|
||||||
|
private Integer skuId;
|
||||||
|
/**
|
||||||
|
* 商品名称
|
||||||
|
*/
|
||||||
|
private String skuName;
|
||||||
|
/**
|
||||||
|
* 商品图片
|
||||||
|
*/
|
||||||
|
private String skuImage;
|
||||||
|
/**
|
||||||
|
* 数量
|
||||||
|
*/
|
||||||
|
private Integer quantity;
|
||||||
|
/**
|
||||||
|
* 最终总金额,单位:分。
|
||||||
|
*/
|
||||||
|
private Integer presentTotal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class ReturnInfo {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号自动增长
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 服务号
|
||||||
|
*/
|
||||||
|
private String serviceNumber;
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private Integer orderId;
|
||||||
|
/**
|
||||||
|
* 订单号 (保存一个冗余)
|
||||||
|
*/
|
||||||
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 物流id
|
||||||
|
*/
|
||||||
|
private Integer orderLogisticsId;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 退货原因
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 退货金额
|
||||||
|
*/
|
||||||
|
private Integer refundPrice;
|
||||||
|
/**
|
||||||
|
* 退货原因(字典值)
|
||||||
|
*/
|
||||||
|
private Integer reason;
|
||||||
|
/**
|
||||||
|
* 问题描述
|
||||||
|
*/
|
||||||
|
private String describe;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 时间信息
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 同意时间
|
||||||
|
*/
|
||||||
|
private Date approvalTime;
|
||||||
|
/**
|
||||||
|
* 物流时间(填写物流单号时间)
|
||||||
|
*/
|
||||||
|
private Date logisticsTime;
|
||||||
|
/**
|
||||||
|
* 收货时间
|
||||||
|
*/
|
||||||
|
private Date receiverTime;
|
||||||
|
/**
|
||||||
|
* 成交时间(确认时间)
|
||||||
|
*/
|
||||||
|
private Date closingTime;
|
||||||
|
/**
|
||||||
|
* 退款类型
|
||||||
|
*
|
||||||
|
* - 1、退货退款
|
||||||
|
* - 2、退款
|
||||||
|
*/
|
||||||
|
private Integer serviceType;
|
||||||
|
/**
|
||||||
|
* 退款类型 转换值
|
||||||
|
*/
|
||||||
|
private String serviceTypeText;
|
||||||
|
/**
|
||||||
|
* 状态
|
||||||
|
*
|
||||||
|
* - 1、退货申请
|
||||||
|
* - 2、申请成功
|
||||||
|
* - 3、申请失败
|
||||||
|
* - 4、退货中
|
||||||
|
* - 5、退货成功
|
||||||
|
*/
|
||||||
|
private Integer status;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,122 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单退货 list
|
||||||
|
*
|
||||||
|
* @author Sin
|
||||||
|
* @time 2019-05-06 21:54
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class OrderReturnListBO implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页当前 index
|
||||||
|
*/
|
||||||
|
private Integer index;
|
||||||
|
/**
|
||||||
|
* pageSize
|
||||||
|
*/
|
||||||
|
private Integer pageSize;
|
||||||
|
/**
|
||||||
|
* totalCount
|
||||||
|
*/
|
||||||
|
private Integer totalCount;
|
||||||
|
/**
|
||||||
|
* data
|
||||||
|
*/
|
||||||
|
private List<OrderReturn> data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class OrderReturn {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编号自动增长
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* 服务号
|
||||||
|
*/
|
||||||
|
private String serviceNumber;
|
||||||
|
/**
|
||||||
|
* 订单编号
|
||||||
|
*/
|
||||||
|
private Integer orderId;
|
||||||
|
/**
|
||||||
|
* 订单号 (保存一个冗余)
|
||||||
|
*/
|
||||||
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 物流id
|
||||||
|
*/
|
||||||
|
private Integer orderLogisticsId;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 退货原因
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 退货金额
|
||||||
|
*/
|
||||||
|
private Integer refundPrice;
|
||||||
|
/**
|
||||||
|
* 退货原因(字典值)
|
||||||
|
*/
|
||||||
|
private Integer reason;
|
||||||
|
/**
|
||||||
|
* 问题描述
|
||||||
|
*/
|
||||||
|
private String describe;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// 时间信息
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 同意时间
|
||||||
|
*/
|
||||||
|
private Date approvalTime;
|
||||||
|
/**
|
||||||
|
* 物流时间(填写物流单号时间)
|
||||||
|
*/
|
||||||
|
private Date logisticsTime;
|
||||||
|
/**
|
||||||
|
* 收货时间
|
||||||
|
*/
|
||||||
|
private Date receiverTime;
|
||||||
|
/**
|
||||||
|
* 成交时间(确认时间)
|
||||||
|
*/
|
||||||
|
private Date closingTime;
|
||||||
|
/**
|
||||||
|
* 服务类型
|
||||||
|
*
|
||||||
|
* - 1、退货退款
|
||||||
|
* - 2、退款
|
||||||
|
*/
|
||||||
|
private Integer serviceType;
|
||||||
|
/**
|
||||||
|
* 状态
|
||||||
|
*
|
||||||
|
* - 1、退货申请
|
||||||
|
* - 2、申请成功
|
||||||
|
* - 3、申请失败
|
||||||
|
* - 4、退货中
|
||||||
|
* - 5、退货成功
|
||||||
|
*/
|
||||||
|
private Integer status;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.iocoder.mall.order.biz.bo;
|
||||||
|
|
||||||
|
public class PostageDetailBO {
|
||||||
|
|
||||||
|
// "description": "有品甄选商品,即有品配送和第三方商家发货的商品,2018年1月1日起,单笔订单满99元免运费,不满99元收10元运费。",
|
||||||
|
// "leftTotal": "0.00",
|
||||||
|
// "merchantName": "有品配送",
|
||||||
|
// "postFee": "0.00",
|
||||||
|
// "postage": "10.00",
|
||||||
|
// "postageType": 0,
|
||||||
|
// "selCount": 14,
|
||||||
|
// "threshold": "99.00"
|
||||||
|
|
||||||
|
}
|
@ -1,12 +1,8 @@
|
|||||||
package cn.iocoder.mall.order.biz.bo.order;
|
package cn.iocoder.mall.order.biz.bo.order;
|
||||||
|
|
||||||
import cn.iocoder.mall.product.api.bo.ProductSkuDetailBO;
|
|
||||||
import cn.iocoder.mall.promotion.api.bo.PromotionActivityBO;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 计算订单价格结果 BO
|
* 计算订单价格结果 BO
|
||||||
*/
|
*/
|
||||||
@ -14,167 +10,167 @@ import java.util.List;
|
|||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
public class CalcOrderPriceBO {
|
public class CalcOrderPriceBO {
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* 商品分组数组
|
// * 商品分组数组
|
||||||
*/
|
// */
|
||||||
private List<ItemGroup> itemGroups;
|
// private List<ItemGroup> itemGroups;
|
||||||
/**
|
// /**
|
||||||
* 优惠劵编号
|
// * 优惠劵编号
|
||||||
*/
|
// */
|
||||||
private Integer couponCardId;
|
// private Integer couponCardId;
|
||||||
/**
|
// /**
|
||||||
* 优惠劵减少的金额
|
// * 优惠劵减少的金额
|
||||||
*
|
// *
|
||||||
* 1. 若未使用优惠劵,返回 null
|
// * 1. 若未使用优惠劵,返回 null
|
||||||
* 2. 该金额,已经分摊到每个 Item 的 discountTotal ,需要注意。
|
// * 2. 该金额,已经分摊到每个 Item 的 discountTotal ,需要注意。
|
||||||
*/
|
// */
|
||||||
private Integer couponCardDiscountTotal;
|
// private Integer couponCardDiscountTotal;
|
||||||
/**
|
// /**
|
||||||
* 邮费信息
|
// * 邮费信息
|
||||||
*
|
// *
|
||||||
* TODO 芋艿,暂时未弄
|
// * TODO 芋艿,暂时未弄
|
||||||
*/
|
// */
|
||||||
private Postage postage;
|
// private Postage postage;
|
||||||
/**
|
// /**
|
||||||
* 费用
|
// * 费用
|
||||||
*/
|
// */
|
||||||
private Fee fee;
|
// private Fee fee;
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 商品分组
|
// * 商品分组
|
||||||
*
|
// *
|
||||||
* 多个商品,参加同一个活动,从而形成分组。
|
// * 多个商品,参加同一个活动,从而形成分组。
|
||||||
*/
|
// */
|
||||||
@Data
|
// @Data
|
||||||
@Accessors(chain = true)
|
// @Accessors(chain = true)
|
||||||
public static class ItemGroup {
|
// public static class ItemGroup {
|
||||||
|
//
|
||||||
/**
|
|
||||||
* 优惠活动
|
|
||||||
*/
|
|
||||||
// TODO 芋艿,目前只会有【满减送】的情况,未来有新的促销方式,可能需要改成数组
|
|
||||||
private PromotionActivityBO activity;
|
|
||||||
/**
|
|
||||||
* 促销减少的金额
|
|
||||||
*
|
|
||||||
* 1. 若未参与促销活动,或不满足促销条件,返回 null
|
|
||||||
* 2. 该金额,已经分摊到每个 Item 的 discountTotal ,需要注意。
|
|
||||||
*/
|
|
||||||
private Integer activityDiscountTotal;
|
|
||||||
/**
|
|
||||||
* 商品数组
|
|
||||||
*/
|
|
||||||
private List<Item> items;
|
|
||||||
// /**
|
// /**
|
||||||
// * 费用
|
// * 优惠活动
|
||||||
// *
|
|
||||||
// * TODO 芋艿,这里先偷懒,postageTotal 字段用不到。
|
|
||||||
// */
|
// */
|
||||||
// private Fee fee; // 注释原因,不用这里了
|
// // TODO 芋艿,目前只会有【满减送】的情况,未来有新的促销方式,可能需要改成数组
|
||||||
|
// private PromotionActivityBO activity;
|
||||||
}
|
// /**
|
||||||
|
// * 促销减少的金额
|
||||||
@Data
|
// *
|
||||||
@Accessors(chain = true)
|
// * 1. 若未参与促销活动,或不满足促销条件,返回 null
|
||||||
public static class Item extends ProductSkuDetailBO { // TODO 芋艿,此处先偷懒继承
|
// * 2. 该金额,已经分摊到每个 Item 的 discountTotal ,需要注意。
|
||||||
|
// */
|
||||||
/**
|
// private Integer activityDiscountTotal;
|
||||||
* 是否选中
|
// /**
|
||||||
*/
|
// * 商品数组
|
||||||
private Boolean selected;
|
// */
|
||||||
/**
|
// private List<Item> items;
|
||||||
* 购买数量
|
//// /**
|
||||||
*/
|
//// * 费用
|
||||||
private Integer buyQuantity;
|
//// *
|
||||||
/**
|
//// * TODO 芋艿,这里先偷懒,postageTotal 字段用不到。
|
||||||
* 优惠活动
|
//// */
|
||||||
*/
|
//// private Fee fee; // 注释原因,不用这里了
|
||||||
private PromotionActivityBO activity;
|
//
|
||||||
/**
|
// }
|
||||||
* 原始单价,单位:分。
|
//
|
||||||
*/
|
// @Data
|
||||||
private Integer originPrice;
|
// @Accessors(chain = true)
|
||||||
/**
|
// public static class Item extends ProductSkuDetailBO { // TODO 芋艿,此处先偷懒继承
|
||||||
* 购买单价,单位:分
|
//
|
||||||
*/
|
// /**
|
||||||
private Integer buyPrice;
|
// * 是否选中
|
||||||
/**
|
// */
|
||||||
* 最终价格,单位:分。
|
// private Boolean selected;
|
||||||
*/
|
// /**
|
||||||
private Integer presentPrice;
|
// * 购买数量
|
||||||
/**
|
// */
|
||||||
* 购买总金额,单位:分
|
// private Integer buyQuantity;
|
||||||
*
|
// /**
|
||||||
* 用途类似 {@link #presentTotal}
|
// * 优惠活动
|
||||||
*/
|
// */
|
||||||
private Integer buyTotal;
|
// private PromotionActivityBO activity;
|
||||||
/**
|
// /**
|
||||||
* 优惠总金额,单位:分。
|
// * 原始单价,单位:分。
|
||||||
*/
|
// */
|
||||||
private Integer discountTotal;
|
// private Integer originPrice;
|
||||||
/**
|
// /**
|
||||||
* 最终总金额,单位:分。
|
// * 购买单价,单位:分
|
||||||
*
|
// */
|
||||||
* 注意,presentPrice * quantity 不一定等于 presentTotal 。
|
// private Integer buyPrice;
|
||||||
* 因为,存在无法整除的情况。
|
// /**
|
||||||
* 举个例子,presentPrice = 8.33 ,quantity = 3 的情况,presentTotal 有可能是 24.99 ,也可能是 25 。
|
// * 最终价格,单位:分。
|
||||||
* 所以,需要存储一个该字段。
|
// */
|
||||||
*/
|
// private Integer presentPrice;
|
||||||
private Integer presentTotal;
|
// /**
|
||||||
|
// * 购买总金额,单位:分
|
||||||
}
|
// *
|
||||||
|
// * 用途类似 {@link #presentTotal}
|
||||||
/**
|
// */
|
||||||
* 费用(合计)
|
// private Integer buyTotal;
|
||||||
*/
|
// /**
|
||||||
@Data
|
// * 优惠总金额,单位:分。
|
||||||
@Accessors(chain = true)
|
// */
|
||||||
public static class Fee {
|
// private Integer discountTotal;
|
||||||
|
// /**
|
||||||
/**
|
// * 最终总金额,单位:分。
|
||||||
* 购买总价
|
// *
|
||||||
*/
|
// * 注意,presentPrice * quantity 不一定等于 presentTotal 。
|
||||||
private Integer buyTotal;
|
// * 因为,存在无法整除的情况。
|
||||||
/**
|
// * 举个例子,presentPrice = 8.33 ,quantity = 3 的情况,presentTotal 有可能是 24.99 ,也可能是 25 。
|
||||||
* 优惠总价
|
// * 所以,需要存储一个该字段。
|
||||||
*
|
// */
|
||||||
* 注意,满多少元包邮,不算在优惠中。
|
// private Integer presentTotal;
|
||||||
*/
|
//
|
||||||
private Integer discountTotal;
|
// }
|
||||||
/**
|
//
|
||||||
* 邮费 TODO 芋艿,将 postage 改成 logistics
|
// /**
|
||||||
*/
|
// * 费用(合计)
|
||||||
private Integer postageTotal;
|
// */
|
||||||
/**
|
// @Data
|
||||||
* 最终价格
|
// @Accessors(chain = true)
|
||||||
*
|
// public static class Fee {
|
||||||
* 计算公式 = 总价 - 优惠总价 + 邮费
|
//
|
||||||
*/
|
// /**
|
||||||
private Integer presentTotal;
|
// * 购买总价
|
||||||
|
// */
|
||||||
public Fee() {
|
// private Integer buyTotal;
|
||||||
}
|
// /**
|
||||||
|
// * 优惠总价
|
||||||
public Fee(Integer buyTotal, Integer discountTotal, Integer postageTotal, Integer presentTotal) {
|
// *
|
||||||
this.buyTotal = buyTotal;
|
// * 注意,满多少元包邮,不算在优惠中。
|
||||||
this.discountTotal = discountTotal;
|
// */
|
||||||
this.postageTotal = postageTotal;
|
// private Integer discountTotal;
|
||||||
this.presentTotal = presentTotal;
|
// /**
|
||||||
}
|
// * 邮费 TODO 芋艿,将 postage 改成 logistics
|
||||||
}
|
// */
|
||||||
|
// private Integer postageTotal;
|
||||||
/**
|
// /**
|
||||||
* 邮费信息
|
// * 最终价格
|
||||||
*/
|
// *
|
||||||
@Data
|
// * 计算公式 = 总价 - 优惠总价 + 邮费
|
||||||
@Accessors(chain = true)
|
// */
|
||||||
public static class Postage {
|
// private Integer presentTotal;
|
||||||
|
//
|
||||||
/**
|
// public Fee() {
|
||||||
* 需要满足多少钱,可以包邮。单位:分
|
// }
|
||||||
*/
|
//
|
||||||
private Integer threshold;
|
// public Fee(Integer buyTotal, Integer discountTotal, Integer postageTotal, Integer presentTotal) {
|
||||||
|
// this.buyTotal = buyTotal;
|
||||||
}
|
// this.discountTotal = discountTotal;
|
||||||
|
// this.postageTotal = postageTotal;
|
||||||
|
// this.presentTotal = presentTotal;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 邮费信息
|
||||||
|
// */
|
||||||
|
// @Data
|
||||||
|
// @Accessors(chain = true)
|
||||||
|
// public static class Postage {
|
||||||
|
//
|
||||||
|
// /**
|
||||||
|
// * 需要满足多少钱,可以包邮。单位:分
|
||||||
|
// */
|
||||||
|
// private Integer threshold;
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
package cn.iocoder.mall.order.biz.bo.order;
|
package cn.iocoder.mall.order.biz.bo.order;
|
||||||
|
|
||||||
import cn.iocoder.mall.promotion.api.bo.PromotionActivityBO;
|
import java.io.Serializable;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 计算商品 SKU 价格结果 BO
|
* 计算商品 SKU 价格结果 BO
|
||||||
*/
|
*/
|
||||||
@ -13,21 +11,21 @@ import java.io.Serializable;
|
|||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
public class CalcSkuPriceBO implements Serializable {
|
public class CalcSkuPriceBO implements Serializable {
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* 满减送促销活动
|
// * 满减送促销活动
|
||||||
*/
|
// */
|
||||||
private PromotionActivityBO fullPrivilege;
|
// private PromotionActivityBO fullPrivilege;
|
||||||
/**
|
// /**
|
||||||
* 限时折扣促销活动
|
// * 限时折扣促销活动
|
||||||
*/
|
// */
|
||||||
private PromotionActivityBO timeLimitedDiscount;
|
// private PromotionActivityBO timeLimitedDiscount;
|
||||||
/**
|
// /**
|
||||||
* 原价格,单位:分。
|
// * 原价格,单位:分。
|
||||||
*/
|
// */
|
||||||
private Integer originalPrice;
|
// private Integer originalPrice;
|
||||||
/**
|
// /**
|
||||||
* 购买价格,单位:分。
|
// * 购买价格,单位:分。
|
||||||
*/
|
// */
|
||||||
private Integer buyPrice;
|
// private Integer buyPrice;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package cn.iocoder.mall.order.biz.bo.order;
|
package cn.iocoder.mall.order.biz.bo.order;
|
||||||
|
|
||||||
import cn.iocoder.common.framework.dataobject.BaseDO;
|
import cn.iocoder.mall.mybatis.dataobject.BaseDO;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package cn.iocoder.mall.order.biz.bo.order;
|
package cn.iocoder.mall.order.biz.bo.order;
|
||||||
|
|
||||||
import cn.iocoder.common.framework.dataobject.BaseDO;
|
import cn.iocoder.mall.mybatis.dataobject.BaseDO;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
package cn.iocoder.mall.order.biz.bo.order;
|
package cn.iocoder.mall.order.biz.bo.order;
|
||||||
|
|
||||||
import cn.iocoder.common.framework.dataobject.BaseDO;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单退货 list
|
* 订单退货 list
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
package cn.iocoder.mall.order.biz.dao.order;
|
package cn.iocoder.mall.order.biz.dao.order;
|
||||||
|
|
||||||
import cn.iocoder.mall.order.api.dto.OrderReturnQueryDTO;
|
|
||||||
import cn.iocoder.mall.order.biz.dataobject.OrderReturnDO;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
|
||||||
import org.springframework.stereotype.Repository;
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 订单退货 mapper
|
* 订单退货 mapper
|
||||||
*
|
*
|
||||||
@ -16,53 +11,53 @@ import java.util.List;
|
|||||||
@Repository
|
@Repository
|
||||||
public interface OrderReturnMapper {
|
public interface OrderReturnMapper {
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* 插入 - 退货信息
|
// * 插入 - 退货信息
|
||||||
*
|
// *
|
||||||
* @param orderReturnDO
|
// * @param orderReturnDO
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
int insert(OrderReturnDO orderReturnDO);
|
// int insert(OrderReturnDO orderReturnDO);
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 更新 - 根据 orderId
|
// * 更新 - 根据 orderId
|
||||||
*
|
// *
|
||||||
* @param orderReturnDO
|
// * @param orderReturnDO
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
int updateById(OrderReturnDO orderReturnDO);
|
// int updateById(OrderReturnDO orderReturnDO);
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 查询 - 根据 orderId
|
// * 查询 - 根据 orderId
|
||||||
*
|
// *
|
||||||
* @param orderId
|
// * @param orderId
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
OrderReturnDO selectByOrderId(
|
// OrderReturnDO selectByOrderId(
|
||||||
@Param("orderId") Integer orderId
|
// @Param("orderId") Integer orderId
|
||||||
);
|
// );
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 列表查询 - queryDTO
|
// * 列表查询 - queryDTO
|
||||||
*
|
// *
|
||||||
* @param queryDTO
|
// * @param queryDTO
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
int selectListCount(OrderReturnQueryDTO queryDTO);
|
// int selectListCount(OrderReturnQueryDTO queryDTO);
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 列表查询 - queryDTO
|
// * 列表查询 - queryDTO
|
||||||
*
|
// *
|
||||||
* @param queryDTO
|
// * @param queryDTO
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
List<OrderReturnDO> selectList(OrderReturnQueryDTO queryDTO);
|
// List<OrderReturnDO> selectList(OrderReturnQueryDTO queryDTO);
|
||||||
|
//
|
||||||
/**
|
// /**
|
||||||
* 查询 - 根据 id 查询
|
// * 查询 - 根据 id 查询
|
||||||
*
|
// *
|
||||||
* @param id
|
// * @param id
|
||||||
* @return
|
// * @return
|
||||||
*/
|
// */
|
||||||
OrderReturnDO selectById(Integer id);
|
// OrderReturnDO selectById(Integer id);
|
||||||
}
|
}
|
||||||
|
6
pom.xml
6
pom.xml
@ -25,12 +25,6 @@
|
|||||||
<!-- <module>search</module>-->
|
<!-- <module>search</module>-->
|
||||||
<!-- <module>demo</module>-->
|
<!-- <module>demo</module>-->
|
||||||
<module>mall-dependencies</module>
|
<module>mall-dependencies</module>
|
||||||
<module>order-biz</module>
|
|
||||||
<module>order/order-biz</module>
|
|
||||||
<module>order/order-biz-api</module>
|
|
||||||
<module>order/order-rpc</module>
|
|
||||||
<module>order/order-rpc-api</module>
|
|
||||||
<module>order-rest</module>
|
|
||||||
<module>mall-spring-boot-starter-cache</module>
|
<module>mall-spring-boot-starter-cache</module>
|
||||||
</modules>
|
</modules>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
Loading…
Reference in New Issue
Block a user