update sim卡信息存库

This commit is contained in:
Lemon
2023-07-08 14:51:13 +08:00
parent 0c4838f3a7
commit b2efff0f21
2 changed files with 3 additions and 2 deletions

View File

@@ -1061,7 +1061,7 @@ public class SpringBootTestController {
@Test
public void testUpdatePileSimInfo() {
String pileSn = "88000000000001";
String iccid = "898604940121C1385725";
String iccid = "89860402102091089943";
pileBasicInfoService.updatePileSimInfo(pileSn, iccid);
}

View File

@@ -558,7 +558,8 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
.build();
}
pileSimInfoService.insertPileSimInfo(simInfo);
// 拿到id
// 拿到新增sim卡的id
simInfo = pileSimInfoService.getBasicInfoByIccId(iccid);
Long simId = simInfo.getId();
log.info("新保存的sim卡id:{}", simId);
// sim_id 更新到pile_basic_info