更新对桩检查状态

This commit is contained in:
panshuling321 2022-06-15 16:21:02 +08:00
parent 524b5e523c
commit 7f17f879a4

View File

@ -135,7 +135,7 @@ public class ChargingController {
public static R<Object> checkPile(Map<String, Object> cachePile) { public static R<Object> checkPile(Map<String, Object> cachePile) {
if (cachePile == null) { if (cachePile == null || cachePile.get("status") == null) {
return R.fail("充电桩未注册"); return R.fail("充电桩未注册");
} }
String status = cachePile.get("status").toString(); String status = cachePile.get("status").toString();