Showing
1 changed file
with
23 additions
and
12 deletions
@@ -1262,24 +1262,35 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { | @@ -1262,24 +1262,35 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { | ||
1262 | } | 1262 | } |
1263 | 1263 | ||
1264 | private List<Byte> getStatusListByNavStatus(Integer navStatus) { | 1264 | private List<Byte> getStatusListByNavStatus(Integer navStatus) { |
1265 | - switch(navStatus) { | ||
1266 | - case 1: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_BUYER_NOT_PAY.getByteVal()); | ||
1267 | - case 2: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_BUYER_PAYED.getByteVal()); | ||
1268 | - case 3: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_ALLOCATING.getByteVal()); | ||
1269 | - case 4: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_JUDGING.getByteVal()); | ||
1270 | - case 5: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_TO_BE_RECEIVED.getByteVal()); | ||
1271 | - case 6: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_FINISHED.getByteVal()); | ||
1272 | - case 7: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_CANCEL_AFTER_PAY.getByteVal(), | 1265 | + switch (navStatus) { |
1266 | + case 1: | ||
1267 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_BUYER_NOT_PAY.getByteVal()); | ||
1268 | + case 2: | ||
1269 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_BUYER_PAYED.getByteVal()); | ||
1270 | + case 3: | ||
1271 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_ALLOCATING.getByteVal()); | ||
1272 | + case 4: | ||
1273 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_JUDGING.getByteVal()); | ||
1274 | + case 5: | ||
1275 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_TO_BE_RECEIVED.getByteVal()); | ||
1276 | + case 6: | ||
1277 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_FINISHED.getByteVal()); | ||
1278 | + case 7: | ||
1279 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_CANCEL_AFTER_PAY.getByteVal(), | ||
1273 | Constant.BUYER_ORDER_STATUS_CANCEL_SENDGOODS_TIMEOUT.getByteVal(), | 1280 | Constant.BUYER_ORDER_STATUS_CANCEL_SENDGOODS_TIMEOUT.getByteVal(), |
1274 | Constant.BUYER_ORDER_STATUS_JUDGE_NOT_PASS.getByteVal(), | 1281 | Constant.BUYER_ORDER_STATUS_JUDGE_NOT_PASS.getByteVal(), |
1275 | Constant.BUYER_ORDER_STATUS_BUYER_CANCEL_BEFORE_PAY.getByteVal(), | 1282 | Constant.BUYER_ORDER_STATUS_BUYER_CANCEL_BEFORE_PAY.getByteVal(), |
1276 | Constant.BUYER_ORDER_STATUS_CANCEL_PAY_TIMEOUT.getByteVal(), | 1283 | Constant.BUYER_ORDER_STATUS_CANCEL_PAY_TIMEOUT.getByteVal(), |
1277 | Constant.BUYER_ORDER_STATUS_BUYER_CANCEL_AFTER_PAY.getByteVal(), | 1284 | Constant.BUYER_ORDER_STATUS_BUYER_CANCEL_AFTER_PAY.getByteVal(), |
1278 | - Constant.BUYER_ORDER_STATUS_BUYER_CANCEL_AFTER_SELLER_DELIVERY.getByteVal() | 1285 | + Constant.BUYER_ORDER_STATUS_BUYER_CANCEL_AFTER_SELLER_DELIVERY.getByteVal(), |
1286 | + Constant.CS_CANCEL_BEFORE_DEPOT_RECEIVE.getByteVal() | ||
1279 | ); | 1287 | ); |
1280 | - case 8: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_PLATFORM_RECEIVE.getByteVal()); | ||
1281 | - case 9: return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_JUDGE_PASS.getByteVal()); | ||
1282 | - default:return Lists.newArrayList(); | 1288 | + case 8: |
1289 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_PLATFORM_RECEIVE.getByteVal()); | ||
1290 | + case 9: | ||
1291 | + return Lists.newArrayList(Constant.BUYER_ORDER_STATUS_JUDGE_PASS.getByteVal()); | ||
1292 | + default: | ||
1293 | + return Lists.newArrayList(); | ||
1283 | } | 1294 | } |
1284 | } | 1295 | } |
1285 | 1296 |
-
Please register or login to post a comment