Commit f2d0400251c4d724d084c15a2c064754e7fff7a6
1 parent
9a830fa9
去掉get 全封闭
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 | 46 | } |
47 | 47 | |
48 | 48 | public OrderDo createOrder() { |
49 | - return getOrderDo(); | |
49 | + return this.orderDo; | |
50 | 50 | } |
51 | 51 | |
52 | 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 | 113 | OrderQueryResponseDto orderQueryResponseDto = new OrderQueryResponseDto(); |
114 | 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 | } | ... | ... |