Showing
1 changed file
with
4 additions
and
3 deletions
@@ -437,6 +437,8 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ | @@ -437,6 +437,8 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ | ||
437 | 437 | ||
438 | if(status.equals(OPERATE_TYPE_REJECT)) { | 438 | if(status.equals(OPERATE_TYPE_REJECT)) { |
439 | setFinalTimeToEnd(inboxId, fromUid); | 439 | setFinalTimeToEnd(inboxId, fromUid); |
440 | + //清理缓存 | ||
441 | + clearIdentifyCache(tagId, nfcUid); | ||
440 | //“不同意”则拒绝物权占有,短信通知申请⼈人“您发起商品xxxxxx的物权转 移申请,当前物权所有⼈人拒绝转移申请,您可以重新发起物权申请” | 442 | //“不同意”则拒绝物权占有,短信通知申请⼈人“您发起商品xxxxxx的物权转 移申请,当前物权所有⼈人拒绝转移申请,您可以重新发起物权申请” |
441 | messageFacade.ownerReject(String.valueOf(toUid), queryIdentifyRecord(tagId, nfcUid).getOrderCode()); | 443 | messageFacade.ownerReject(String.valueOf(toUid), queryIdentifyRecord(tagId, nfcUid).getOrderCode()); |
442 | return result; | 444 | return result; |
@@ -454,13 +456,12 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ | @@ -454,13 +456,12 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ | ||
454 | //更新identify_record | 456 | //更新identify_record |
455 | result = identifyRecordsMapper.updateOwner(tagId, nfcUid, toUid); | 457 | result = identifyRecordsMapper.updateOwner(tagId, nfcUid, toUid); |
456 | setFinalTimeToEnd(inboxId, fromUid); | 458 | setFinalTimeToEnd(inboxId, fromUid); |
459 | + //清理缓存 | ||
460 | + clearIdentifyCache(tagId, nfcUid); | ||
457 | 461 | ||
458 | //区块链 | 462 | //区块链 |
459 | syncBlockChain(tagId, nfcUid, toUid); | 463 | syncBlockChain(tagId, nfcUid, toUid); |
460 | 464 | ||
461 | - //清理缓存 | ||
462 | - clearIdentifyCache(tagId, nfcUid); | ||
463 | - | ||
464 | return result; | 465 | return result; |
465 | } | 466 | } |
466 | 467 |
-
Please register or login to post a comment