mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-01 04:28:02 +08:00
update 桩登录时更新sim卡信息方法
This commit is contained in:
@@ -202,7 +202,8 @@ public class LoginRequestHandler extends AbstractHandler{
|
|||||||
// 充电桩使用的sim卡,把信息存库
|
// 充电桩使用的sim卡,把信息存库
|
||||||
if (StringUtils.equals("00", internetConnection)) {
|
if (StringUtils.equals("00", internetConnection)) {
|
||||||
try {
|
try {
|
||||||
pileBasicInfoService.updatePileSimInfo(pileSn, iccid);
|
// pileBasicInfoService.updatePileSimInfo(pileSn, iccid);
|
||||||
|
pileBasicInfoService.updatePileSimInfoV2(pileSn, iccid);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("更新充电桩sim卡信息失败", e);
|
log.error("更新充电桩sim卡信息失败", e);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ public interface IPileBasicInfoService {
|
|||||||
// 更新充电桩的sim卡信息
|
// 更新充电桩的sim卡信息
|
||||||
void updatePileSimInfo(String pileSn, String iccid);
|
void updatePileSimInfo(String pileSn, String iccid);
|
||||||
|
|
||||||
|
void updatePileSimInfoV2(String pileSn, String iccid);
|
||||||
/**
|
/**
|
||||||
* 后管首页基本信息查询
|
* 后管首页基本信息查询
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -554,6 +554,7 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
|
|||||||
return stringBuilder.toString();
|
return stringBuilder.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void updatePileSimInfoV2(String pileSn, String iccid) {
|
public void updatePileSimInfoV2(String pileSn, String iccid) {
|
||||||
// 清缓存
|
// 清缓存
|
||||||
cleanRedisCache(pileSn);
|
cleanRedisCache(pileSn);
|
||||||
|
|||||||
Reference in New Issue
Block a user