Authored by mali

下架库存

... ... @@ -30,7 +30,9 @@ import org.slf4j.helpers.MessageFormatter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
/**
... ... @@ -126,6 +128,10 @@ public class StorageDepositAutoDown implements YhJob {
try {
storagePriceMapper.cancelSaleSkup(storageDeposit.getNewSkup());
LOGGER.info("asyncCallClearCache call ufo-gateway enter storageDeposit is {}", storageDeposit);
Map<String,Integer> request = Collections.singletonMap("id", storageDeposit.getProductId());
serviceCaller.asyncCall("ufo-gateway.clearProductDetailCache", request, JSONObject.class);
SellerOrder sellerOrder = new SellerOrder();
sellerOrder.setSkup(storageDeposit.getNewSkup());
... ...