Showing
1 changed file
with
5 additions
and
2 deletions
@@ -316,7 +316,7 @@ public class ProductController { | @@ -316,7 +316,7 @@ public class ProductController { | ||
316 | // 批量查询建议价 | 316 | // 批量查询建议价 |
317 | LOG.info("clearCache queryStorageSuggestPrice skup = {}, ", skup); | 317 | LOG.info("clearCache queryStorageSuggestPrice skup = {}, ", skup); |
318 | cacheAop.clearCache( | 318 | cacheAop.clearCache( |
319 | - ProductController.class.getMethod("queryStorageSuggestPrice", new Class[] { Integer.class }), | 319 | + ProductController.class.getMethod("queryStorageSuggestPrice", new Class[] { Integer[].class }), |
320 | new Object[] { storageId }); | 320 | new Object[] { storageId }); |
321 | } | 321 | } |
322 | } catch (Exception e) { | 322 | } catch (Exception e) { |
@@ -324,6 +324,9 @@ public class ProductController { | @@ -324,6 +324,9 @@ public class ProductController { | ||
324 | } | 324 | } |
325 | }); | 325 | }); |
326 | } | 326 | } |
327 | + | ||
328 | + | ||
329 | + | ||
327 | 330 | ||
328 | private void clearBatchProductCache(List<Integer> skupList) { | 331 | private void clearBatchProductCache(List<Integer> skupList) { |
329 | executors.execute(() -> { | 332 | executors.execute(() -> { |
@@ -358,7 +361,7 @@ public class ProductController { | @@ -358,7 +361,7 @@ public class ProductController { | ||
358 | // 再次出售信息 | 361 | // 再次出售信息 |
359 | LOG.info("clearCache queryStorageInfo storageId = {}, ", storageId); | 362 | LOG.info("clearCache queryStorageInfo storageId = {}, ", storageId); |
360 | cacheAop.clearCache( | 363 | cacheAop.clearCache( |
361 | - ProductController.class.getMethod("queryStorageInfo", new Class[] { Integer.class }), | 364 | + ProductController.class.getMethod("queryStorageInfo", new Class[] { Collection.class }), |
362 | new Object[] { storageId }); | 365 | new Object[] { storageId }); |
363 | } | 366 | } |
364 | } | 367 | } |
-
Please register or login to post a comment