更新对桩检查状态
This commit is contained in:
parent
524b5e523c
commit
7f17f879a4
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user