...
|
...
|
@@ -128,26 +128,6 @@ public class SellerNoticeFacade extends BaseNoticeFacade { |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 寄存商品下架
|
|
|
*
|
|
|
* @param sellerUid
|
|
|
* @param prdName
|
|
|
*/
|
|
|
public void depositGoodsSaleUnShelf(int sellerUid, String prdName, String sizeName, Integer productId) {
|
|
|
try {
|
|
|
newNotice(sellerUid)
|
|
|
.withLogPrefix("notice seller deposit goods sale shelf")
|
|
|
.withInBox(() -> {
|
|
|
Product product = productMapper.selectByPrimaryKey(productId);
|
|
|
String productCode = product.getProductCode();
|
|
|
return buildInboxContent(InboxBusinessTypeEnum.DEPOSIT_GOODS_SALE_UN_SHELF, prdName, sizeName, productCode);
|
|
|
})
|
|
|
.send();
|
|
|
} catch (Exception e) {
|
|
|
log.warn("notice seller deposit goods sale shelf fail, sellerUid {}, prdName {} ,sizeName {} ", sellerUid, prdName, sizeName, e);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public void buyerCancelBeforeDepotReceive(@NonNull BuyerOrder buyerOrder, SellerOrderGoods sog) {
|
|
|
Integer buyerUid = buyerOrder.getUid();
|
...
|
...
|
|