...
|
...
|
@@ -386,7 +386,7 @@ public class DepositServiceImpl implements DepositService { |
|
|
sd.setNewSkup(0);
|
|
|
LOGGER.info("new owner record is sd", sd);
|
|
|
storageDepositMapper.insert(sd);
|
|
|
autoTransfer(orderCode, newUid, buyOrderCode);
|
|
|
autoTransfer(orderCode, newUid);
|
|
|
clearCache(uid, sd.getProductId(), sd.getStorageId());
|
|
|
clearCache(newUid, sd.getProductId(), sd.getStorageId());
|
|
|
return true;
|
...
|
...
|
@@ -497,9 +497,9 @@ public class DepositServiceImpl implements DepositService { |
|
|
.build();
|
|
|
}
|
|
|
|
|
|
private void autoTransfer(Long orderCode, Integer toUid, Long buyOrderCode) {
|
|
|
private void autoTransfer(Long orderCode, Integer toUid) {
|
|
|
try {
|
|
|
ApiResponse resp = ufoServiceCaller.call("ufo.product.autoTransfer", ApiResponse.class, orderCode, toUid, buyOrderCode);
|
|
|
ApiResponse resp = ufoServiceCaller.call("ufo.product.autoTransfer", ApiResponse.class, orderCode, toUid);
|
|
|
LOGGER.info("物权转移接口调用结果:{}", resp);
|
|
|
} catch (Exception e) {
|
|
|
LOGGER.error("物权转移接口调用失败!", e);
|
...
|
...
|
|