Commit 88309b95fb9135ffb6b157c44b94759271b1a1a8
1 parent
d9cca3f5
私有方法
Showing
1 changed file
with
4 additions
and
4 deletions
src/main/java/com/diligrp/xtrade/order/domain/builder/DefaultOrderCreator.java
... | ... | @@ -117,14 +117,14 @@ public class DefaultOrderCreator { |
117 | 117 | items.add(orderItemDo); |
118 | 118 | } |
119 | 119 | |
120 | - public boolean isBuildBuyerInfo() { | |
120 | + private boolean isBuildBuyerInfo() { | |
121 | 121 | return this.baccountDto == null ? false : true; |
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
125 | 125 | * 构建卖家信息 |
126 | 126 | */ |
127 | - public void buildSeller() { | |
127 | + private void buildSeller() { | |
128 | 128 | orderDo.setSaccount(saccountDto.getAccountId()); |
129 | 129 | orderDo.setSname(saccountDto.getAccountName()); |
130 | 130 | orderDo.setSmobile(saccountDto.getMobile()); |
... | ... | @@ -134,7 +134,7 @@ public class DefaultOrderCreator { |
134 | 134 | /** |
135 | 135 | * 构建买家信息 |
136 | 136 | */ |
137 | - public void buildBuyer() { | |
137 | + private void buildBuyer() { | |
138 | 138 | orderDo.setBaccount(baccountDto.getAccountId()); |
139 | 139 | orderDo.setBname(baccountDto.getAccountName()); |
140 | 140 | orderDo.setBmobile(baccountDto.getMobile()); |
... | ... | @@ -144,7 +144,7 @@ public class DefaultOrderCreator { |
144 | 144 | /** |
145 | 145 | * 构建基本信息 |
146 | 146 | */ |
147 | - public void buildBaseInfo() { | |
147 | + private void buildBaseInfo() { | |
148 | 148 | orderDo.setOrderId(orderCreateDto.getOrderId()); |
149 | 149 | orderDo.setOrderType(OrderType.NORMAL.getCode()); |
150 | 150 | orderDo.setTradeType(TradeType.NORMAL.getCode()); | ... | ... |