Authored by chenchao

fix bug

... ... @@ -316,7 +316,7 @@ public class ProductController {
// 批量查询建议价
LOG.info("clearCache queryStorageSuggestPrice skup = {}, ", skup);
cacheAop.clearCache(
ProductController.class.getMethod("queryStorageSuggestPrice", new Class[] { Integer.class }),
ProductController.class.getMethod("queryStorageSuggestPrice", new Class[] { Integer[].class }),
new Object[] { storageId });
}
} catch (Exception e) {
... ... @@ -325,6 +325,9 @@ public class ProductController {
});
}
private void clearBatchProductCache(List<Integer> skupList) {
executors.execute(() -> {
try {
... ... @@ -358,7 +361,7 @@ public class ProductController {
// 再次出售信息
LOG.info("clearCache queryStorageInfo storageId = {}, ", storageId);
cacheAop.clearCache(
ProductController.class.getMethod("queryStorageInfo", new Class[] { Integer.class }),
ProductController.class.getMethod("queryStorageInfo", new Class[] { Collection.class }),
new Object[] { storageId });
}
}
... ...