...
|
...
|
@@ -496,7 +496,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
addTransferRecord(tagId, nfcUid, histroy.getFromUid(), history.getToUid());
|
|
|
|
|
|
//更新identify_record
|
|
|
result = identifyRecordsMapper.updateOwner(tagId, nfcUid, toUid);
|
|
|
result = identifyRecordsMapper.updateOwner(tagId, nfcUid, toUid, null);
|
|
|
setFinalTimeToEnd(inboxId, identifyRecord.getOwner());
|
|
|
|
|
|
//发信息
|
...
|
...
|
@@ -1001,7 +1001,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
* @return
|
|
|
* @throws 不能抛异常,影响订单流程
|
|
|
*/
|
|
|
public void autoTransfer(Long orderCode, Integer toUid) {
|
|
|
public void autoTransfer(Long orderCode, Integer toUid, Long buyerOrderCode) {
|
|
|
IdentifyRecord identifyRecord = selectByOrderCode(orderCode);
|
|
|
|
|
|
logger.info("result autoTransfer of selectByOrderCode is identifyRecord {}, orderCode is {}, toUid is {}", identifyRecord, orderCode, toUid);
|
...
|
...
|
@@ -1015,7 +1015,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
addTransferRecord(tagId, nfcUid, String.valueOf(identifyRecord.getOwner()), String.valueOf(toUid)); //新增转移记录
|
|
|
|
|
|
//更新identify_record
|
|
|
identifyRecordsMapper.updateOwner(tagId, nfcUid, toUid);
|
|
|
identifyRecordsMapper.updateOwner(tagId, nfcUid, toUid, buyerOrderCode);
|
|
|
|
|
|
//发信息
|
|
|
messageFacade.ownerPass(String.valueOf(toUid), identifyRecord.getOrderCode());
|
...
|
...
|
|