...
|
...
|
@@ -407,6 +407,8 @@ public class DepositServiceImpl implements DepositService { |
|
|
}
|
|
|
|
|
|
public int changeStorageStatus(String depositCode, int status, int orderStatus, int uid) {
|
|
|
int result = storageDepositMapper.updateStorageStatus(depositCode, status, orderStatus, DepositOutTypeEnum.OUTTYPE_FLASH_PURCHASE.getCode());
|
|
|
|
|
|
try {
|
|
|
ufoServiceCaller.call("ufo.deposit.clearOrderCache", uid, depositCode); // 清理库存详情缓存
|
|
|
|
...
|
...
|
@@ -415,7 +417,7 @@ public class DepositServiceImpl implements DepositService { |
|
|
LOGGER.warn("clearOrderCache execute wrong, depositCode is {}", depositCode);
|
|
|
}
|
|
|
|
|
|
return storageDepositMapper.updateStorageStatus(depositCode, status, orderStatus, DepositOutTypeEnum.OUTTYPE_FLASH_PURCHASE.getCode());
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
public void clearCache(Integer uid, Integer productId, Integer storageId) {
|
...
|
...
|
|