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{