mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-06 11:00:13 +08:00
update sim卡信息存库
This commit is contained in:
@@ -1061,7 +1061,7 @@ public class SpringBootTestController {
|
|||||||
@Test
|
@Test
|
||||||
public void testUpdatePileSimInfo() {
|
public void testUpdatePileSimInfo() {
|
||||||
String pileSn = "88000000000001";
|
String pileSn = "88000000000001";
|
||||||
String iccid = "898604940121C1385725";
|
String iccid = "89860402102091089943";
|
||||||
pileBasicInfoService.updatePileSimInfo(pileSn, iccid);
|
pileBasicInfoService.updatePileSimInfo(pileSn, iccid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -558,7 +558,8 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
|
|||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
pileSimInfoService.insertPileSimInfo(simInfo);
|
pileSimInfoService.insertPileSimInfo(simInfo);
|
||||||
// 拿到id
|
// 拿到新增sim卡的id
|
||||||
|
simInfo = pileSimInfoService.getBasicInfoByIccId(iccid);
|
||||||
Long simId = simInfo.getId();
|
Long simId = simInfo.getId();
|
||||||
log.info("新保存的sim卡id:{}", simId);
|
log.info("新保存的sim卡id:{}", simId);
|
||||||
// sim_id 更新到pile_basic_info
|
// sim_id 更新到pile_basic_info
|
||||||
|
|||||||
Reference in New Issue
Block a user