From 058a898c25ce58074de922d4ac0c7e814f0c5814 Mon Sep 17 00:00:00 2001 From: gaoben Date: Tue, 23 Nov 2021 11:15:56 +0800 Subject: [PATCH] =?UTF-8?q?v3.0.8=201.=E5=88=A4=E6=96=AD=E5=8D=A1=E5=8F=B7?= =?UTF-8?q?=E6=9C=AA=E7=A9=BA=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shapelight/modules/ten/controller/TenPersonController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shapelight-admin/src/main/java/net/shapelight/modules/ten/controller/TenPersonController.java b/shapelight-admin/src/main/java/net/shapelight/modules/ten/controller/TenPersonController.java index ffa9bfb..42a4fdd 100644 --- a/shapelight-admin/src/main/java/net/shapelight/modules/ten/controller/TenPersonController.java +++ b/shapelight-admin/src/main/java/net/shapelight/modules/ten/controller/TenPersonController.java @@ -447,7 +447,8 @@ public class TenPersonController extends AbstractController { } } } - else if(tenPerson.getDoorCardEntity().getDoorCard().trim().equals("")){ + else if(tenPerson.getDoorCardEntity()!=null && tenPerson.getDoorCardEntity().getDoorCard()!=null + && tenPerson.getDoorCardEntity().getDoorCard().trim().equals("")){ } else{