...
|
...
|
@@ -370,12 +370,16 @@ public class SellerOrderService implements IOrderListService, IOrderDetailServic |
|
|
}
|
|
|
|
|
|
|
|
|
public boolean offShelveByErp(int skup){
|
|
|
public boolean offShelveByErp(SellerOrderCancelReq req){
|
|
|
int skup = req.getSkup();
|
|
|
if (skup <= 0 ){
|
|
|
log.warn("in offShelveByErp, skup illegal, skup {}", skup);
|
|
|
return false;
|
|
|
}
|
|
|
ErpCancelSellerOrderEvent event = ErpCancelSellerOrderEvent.builder().skup(skup).build();
|
|
|
ErpCancelSellerOrderEvent event = ErpCancelSellerOrderEvent.builder()
|
|
|
.skup(skup)
|
|
|
.noNeedNotice(req.isNoNeedNotice())
|
|
|
.build();
|
|
|
OffShelveCancelCase offShelveCancelCase = new OffShelveCancelCase(event);
|
|
|
offShelveCancelCase.accept(sellerOrderCancelService);
|
|
|
return true;
|
...
|
...
|
|