修复缓存没有更新的问题
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m13s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m13s
This commit is contained in:
@@ -382,6 +382,9 @@ func (h *DeviceImportHandler) processBatch(ctx context.Context, task *model.Devi
|
||||
result.failCount++
|
||||
continue
|
||||
}
|
||||
if len(validCards) > 0 && h.iotCardStore != nil {
|
||||
h.iotCardStore.InvalidateListCountCache(ctx)
|
||||
}
|
||||
|
||||
for _, slotICCID := range row.SlotICCIDs {
|
||||
if card, exists := existingCards[slotICCID.ICCID]; exists && !boundCards[slotICCID.ICCID] && card.ShopID == nil {
|
||||
|
||||
Reference in New Issue
Block a user