Authored by caoyan

物权转移

... ... @@ -437,6 +437,8 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
if(status.equals(OPERATE_TYPE_REJECT)) {
setFinalTimeToEnd(inboxId, fromUid);
//清理缓存
clearIdentifyCache(tagId, nfcUid);
//“不同意”则拒绝物权占有,短信通知申请⼈人“您发起商品xxxxxx的物权转 移申请,当前物权所有⼈人拒绝转移申请,您可以重新发起物权申请”
messageFacade.ownerReject(String.valueOf(toUid), queryIdentifyRecord(tagId, nfcUid).getOrderCode());
return result;
... ... @@ -454,13 +456,12 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
//更新identify_record
result = identifyRecordsMapper.updateOwner(tagId, nfcUid, toUid);
setFinalTimeToEnd(inboxId, fromUid);
//清理缓存
clearIdentifyCache(tagId, nfcUid);
//区块链
syncBlockChain(tagId, nfcUid, toUid);
//清理缓存
clearIdentifyCache(tagId, nfcUid);
return result;
}
... ...