Files
junhong_cmp_fiber/internal/store/postgres
huang ba1886c314 feat(03-02): DeviceSimBindingStore 新增 UpdateIsCurrentByDeviceID 方法
- 事务两步原子更新:先全部清空 is_current=false,再按 ICCID 设 true
- 通过子查询定位 iot_card_id,避免跨表 JOIN 更新
- currentIccid 为空时仅清空,不做第二步设置
2026-03-28 11:36:40 +08:00
..
2026-02-26 14:55:46 +08:00