|
@@ -142,7 +142,7 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
|
@@ -142,7 +142,7 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
142
|
* 预售
|
142
|
* 预售
|
143
|
*/
|
143
|
*/
|
144
|
private void processPreSaleOrder(OrderInfo orderInfo,SellerOrderGoods sellerOrderGoods){
|
144
|
private void processPreSaleOrder(OrderInfo orderInfo,SellerOrderGoods sellerOrderGoods){
|
145
|
- //TODO 立即消息通知
|
145
|
+ // 立即消息通知
|
146
|
Integer uid = orderInfo.getUid();
|
146
|
Integer uid = orderInfo.getUid();
|
147
|
long orderCode = orderInfo.getOrderCode();
|
147
|
long orderCode = orderInfo.getOrderCode();
|
148
|
|
148
|
|
|
@@ -153,10 +153,6 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
|
@@ -153,10 +153,6 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
153
|
String unit = TimeUnit.HOURS.equals(tu) ? DateUtil.UNIT_HOURS : DateUtil.UNIT_DAYS;
|
153
|
String unit = TimeUnit.HOURS.equals(tu) ? DateUtil.UNIT_HOURS : DateUtil.UNIT_DAYS;
|
154
|
inBoxFacade.sellerSkupPaidByBuyer(sellerOrderGoods, orderCode, dtl, unit);
|
154
|
inBoxFacade.sellerSkupPaidByBuyer(sellerOrderGoods, orderCode, dtl, unit);
|
155
|
inBoxFacade.buyerFinishPaid(uid, orderCode, dtl, unit);
|
155
|
inBoxFacade.buyerFinishPaid(uid, orderCode, dtl, unit);
|
156
|
- Integer sellerUid = orderInfo.getSellerUid();
|
|
|
157
|
- //TODO 35天不发货取消;
|
|
|
158
|
-
|
|
|
159
|
- //TODO 30天后,从第31天开始到第35天结束,发消息通知卖家
|
|
|
160
|
|
156
|
|
161
|
// 记录此订单的发货超时时间期限点
|
157
|
// 记录此订单的发货超时时间期限点
|
162
|
int ts = DateUtil.getCurrentTimeSecond();
|
158
|
int ts = DateUtil.getCurrentTimeSecond();
|
|
@@ -179,6 +175,8 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
|
@@ -179,6 +175,8 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { |
179
|
OrderAttributes oa = OrderAttributes.getOrderAttributes(oac=orderInfo.getAttributes());
|
175
|
OrderAttributes oa = OrderAttributes.getOrderAttributes(oac=orderInfo.getAttributes());
|
180
|
switch (oa){
|
176
|
switch (oa){
|
181
|
case COMMON_IN_STOCK:
|
177
|
case COMMON_IN_STOCK:
|
|
|
178
|
+ case FLAW:
|
|
|
179
|
+ case SECOND_HAND:
|
182
|
processInStockOrder(orderInfo, buyerOrderGoods, sellerOrderGoods);
|
180
|
processInStockOrder(orderInfo, buyerOrderGoods, sellerOrderGoods);
|
183
|
break;
|
181
|
break;
|
184
|
case ADVANCE_SALE:
|
182
|
case ADVANCE_SALE:
|