Showing
1 changed file
with
3 additions
and
8 deletions
@@ -6,8 +6,8 @@ import com.yohobuy.ufo.model.order.bo.GoodsInfo; | @@ -6,8 +6,8 @@ import com.yohobuy.ufo.model.order.bo.GoodsInfo; | ||
6 | import com.yohobuy.ufo.model.order.bo.ProductInfo; | 6 | import com.yohobuy.ufo.model.order.bo.ProductInfo; |
7 | import com.yohobuy.ufo.model.order.common.OrderCodeType; | 7 | import com.yohobuy.ufo.model.order.common.OrderCodeType; |
8 | import com.yohobuy.ufo.model.order.common.SellerOrderListType; | 8 | import com.yohobuy.ufo.model.order.common.SellerOrderListType; |
9 | +import com.yohobuy.ufo.model.order.common.SkupListType; | ||
9 | import com.yohobuy.ufo.model.order.common.SkupStatus; | 10 | import com.yohobuy.ufo.model.order.common.SkupStatus; |
10 | -import com.yohobuy.ufo.model.order.constants.SkupType; | ||
11 | import com.yohobuy.ufo.model.order.req.QuickDeliverOrderSubmitReq; | 11 | import com.yohobuy.ufo.model.order.req.QuickDeliverOrderSubmitReq; |
12 | import com.yohobuy.ufo.model.order.resp.OrderListInfo; | 12 | import com.yohobuy.ufo.model.order.resp.OrderListInfo; |
13 | import com.yohobuy.ufo.model.order.resp.PageResp; | 13 | import com.yohobuy.ufo.model.order.resp.PageResp; |
@@ -34,7 +34,6 @@ import org.springframework.beans.factory.annotation.Autowired; | @@ -34,7 +34,6 @@ import org.springframework.beans.factory.annotation.Autowired; | ||
34 | import org.springframework.stereotype.Service; | 34 | import org.springframework.stereotype.Service; |
35 | 35 | ||
36 | import java.math.BigDecimal; | 36 | import java.math.BigDecimal; |
37 | -import java.util.ArrayList; | ||
38 | import java.util.Arrays; | 37 | import java.util.Arrays; |
39 | import java.util.List; | 38 | import java.util.List; |
40 | 39 | ||
@@ -198,15 +197,11 @@ public class QuickDeliverGoodsService { | @@ -198,15 +197,11 @@ public class QuickDeliverGoodsService { | ||
198 | return respBuilder.build(); | 197 | return respBuilder.build(); |
199 | } | 198 | } |
200 | 199 | ||
201 | - private static final List<Integer> SKUP_TYPE_CODES; | ||
202 | - static { | ||
203 | - SKUP_TYPE_CODES = new ArrayList<>(1); | ||
204 | - SKUP_TYPE_CODES.add(SkupType.QUICK_DELIVER.getCode()); | ||
205 | - } | 200 | + |
206 | 201 | ||
207 | public List<Integer> getSkupTypeCodes(){ | 202 | public List<Integer> getSkupTypeCodes(){ |
208 | 203 | ||
209 | - return SKUP_TYPE_CODES; | 204 | + return SkupListType.QUICK_DELIVER.getSkupTypeCodes(false); |
210 | } | 205 | } |
211 | 206 | ||
212 | /** | 207 | /** |
-
Please register or login to post a comment