Commit 7fb066e0eb19b786081bcba9d37542b2f9bda505
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
3 additions
and
19 deletions
src/main/java/com/diligrp/xtrade/order/domain/builder/DefaultOrderCreator.java
@@ -46,11 +46,11 @@ public class DefaultOrderCreator { | @@ -46,11 +46,11 @@ public class DefaultOrderCreator { | ||
46 | } | 46 | } |
47 | 47 | ||
48 | public OrderDo createOrder() { | 48 | public OrderDo createOrder() { |
49 | - return getOrderDo(); | 49 | + return this.orderDo; |
50 | } | 50 | } |
51 | 51 | ||
52 | public List<OrderItemDo> createOrderItems() { | 52 | public List<OrderItemDo> createOrderItems() { |
53 | - return getItems(); | 53 | + return this.items; |
54 | } | 54 | } |
55 | 55 | ||
56 | /** | 56 | /** |
@@ -113,21 +113,5 @@ public class DefaultOrderCreator { | @@ -113,21 +113,5 @@ public class DefaultOrderCreator { | ||
113 | OrderQueryResponseDto orderQueryResponseDto = new OrderQueryResponseDto(); | 113 | OrderQueryResponseDto orderQueryResponseDto = new OrderQueryResponseDto(); |
114 | return orderQueryResponseDto; | 114 | return orderQueryResponseDto; |
115 | } | 115 | } |
116 | - | ||
117 | - public List<OrderItemDo> getItems() { | ||
118 | - return items; | ||
119 | - } | ||
120 | - | ||
121 | - public OrderDo getOrderDo() { | ||
122 | - return orderDo; | ||
123 | - } | ||
124 | - | ||
125 | - public AccountDto getSaccountDto() { | ||
126 | - return saccountDto; | ||
127 | - } | ||
128 | - | ||
129 | - public OrderCreateRequestDto getOrderCreateDto() { | ||
130 | - return orderCreateDto; | ||
131 | - } | ||
132 | - | 116 | + |
133 | } | 117 | } |