mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
update异常后删除连接
This commit is contained in:
@@ -59,10 +59,16 @@ public class PileChannelEntity {
|
||||
}
|
||||
|
||||
public static void removeByPileSn(String pileSn){
|
||||
if (StringUtils.isBlank(pileSn)) {
|
||||
return;
|
||||
}
|
||||
manager.remove(pileSn);
|
||||
}
|
||||
|
||||
public static void removeByChannelId(String channelId){
|
||||
if (StringUtils.isBlank(channelId)) {
|
||||
return;
|
||||
}
|
||||
String pileSn = getPileSnByChannelId(channelId);
|
||||
if (StringUtils.isNotBlank(pileSn)) {
|
||||
manager.remove(pileSn);
|
||||
|
||||
Reference in New Issue
Block a user