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);