set time in stock order
Showing
1 changed file
with
5 additions
and
2 deletions
@@ -299,7 +299,11 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | @@ -299,7 +299,11 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | ||
299 | //离发货截止12小时提醒 | 299 | //离发货截止12小时提醒 |
300 | DeliverNoticeEvent deliverNoticeEvent = DeliverNoticeEvent.builder().skup(sellerOrderGoods.getId()) | 300 | DeliverNoticeEvent deliverNoticeEvent = DeliverNoticeEvent.builder().skup(sellerOrderGoods.getId()) |
301 | .sellerOrderGoods(sellerOrderGoods) | 301 | .sellerOrderGoods(sellerOrderGoods) |
302 | - .sellerUid(sellerUid).buyerUid(uid).prdName(sellerOrderGoods.getProductName()).orderCode(orderCode).build(); | 302 | + .sellerUid(sellerUid).buyerUid(uid) |
303 | + .prdName(sellerOrderGoods.getProductName()) | ||
304 | + .orderCode(orderCode) | ||
305 | + .times(OrderConstant.SellerDeliverNotice.SECOND_TIME) | ||
306 | + .build(); | ||
303 | EventBusPublisher.publishEvent(deliverNoticeEvent); | 307 | EventBusPublisher.publishEvent(deliverNoticeEvent); |
304 | 308 | ||
305 | //现货->卖家36小时不发货取消; | 309 | //现货->卖家36小时不发货取消; |
@@ -334,7 +338,6 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | @@ -334,7 +338,6 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | ||
334 | .orderAttributes(orderInfo.getAttributes()) | 338 | .orderAttributes(orderInfo.getAttributes()) |
335 | .sellerUid(sellerUid).buyerUid(uid) | 339 | .sellerUid(sellerUid).buyerUid(uid) |
336 | .prdName(sellerOrderGoods.getProductName()) | 340 | .prdName(sellerOrderGoods.getProductName()) |
337 | - .times(OrderConstant.SellerDeliverNotice.SECOND_TIME) | ||
338 | .orderCode(orderCode).build(); | 341 | .orderCode(orderCode).build(); |
339 | EventBusPublisher.publishEvent(deliverNoticeEvent); | 342 | EventBusPublisher.publishEvent(deliverNoticeEvent); |
340 | 343 |
-
Please register or login to post a comment