From ac5d7463836c42c4202a05fc6d4fcb30a3a960e0 Mon Sep 17 00:00:00 2001 From: wangtongzhou Date: Sat, 15 Jun 2019 16:24:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=84=E8=AE=BA=E8=B6=85?= =?UTF-8?q?=E5=AE=9E=E4=BD=93=E6=9B=B4=E6=94=B9=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/iocoder/mall/order/api/bo/OrderCommentTimeOutBO.java | 6 ++++++ .../iocoder/mall/order/biz/convert/OrderCommentConvert.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/order/order-service-api/src/main/java/cn/iocoder/mall/order/api/bo/OrderCommentTimeOutBO.java b/order/order-service-api/src/main/java/cn/iocoder/mall/order/api/bo/OrderCommentTimeOutBO.java index 3fbcb6d7..d3c68076 100644 --- a/order/order-service-api/src/main/java/cn/iocoder/mall/order/api/bo/OrderCommentTimeOutBO.java +++ b/order/order-service-api/src/main/java/cn/iocoder/mall/order/api/bo/OrderCommentTimeOutBO.java @@ -1,5 +1,9 @@ package cn.iocoder.mall.order.api.bo; +import lombok.Data; +import lombok.experimental.Accessors; +import org.springframework.beans.factory.annotation.Autowired; + import java.io.Serializable; @@ -9,6 +13,8 @@ import java.io.Serializable; * @author wtz * @time 2019-06-15 13:52 */ +@Data +@Accessors(chain = true) public class OrderCommentTimeOutBO implements Serializable { /** diff --git a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/convert/OrderCommentConvert.java b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/convert/OrderCommentConvert.java index 56b00dd3..5c9144e6 100644 --- a/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/convert/OrderCommentConvert.java +++ b/order/order-service-impl/src/main/java/cn/iocoder/mall/order/biz/convert/OrderCommentConvert.java @@ -40,7 +40,7 @@ public interface OrderCommentConvert { OrderCommentInfoBO convertOrderCommentInfoBO(OrderCommentDO orderCommentDO); @Mappings({}) - OrderCommentTimeOutBO convertOrderCommentTimeOutBO(OrderCommentTimeOutBO orderCommentTimeOutBO); + OrderCommentTimeOutBO convertOrderCommentTimeOutBO(OrderCommentDO orderCommentDO); @Mappings({}) List convertOrderCommentTimeOutBOList(List orderCommentDOList);