diff --git a/src/main/java/cn/com/tenlion/commonpopulation/service/overseaspersonnel/impl/OverseasPersonnelServiceImpl.java b/src/main/java/cn/com/tenlion/commonpopulation/service/overseaspersonnel/impl/OverseasPersonnelServiceImpl.java index 7ba9ba8..6819657 100644 --- a/src/main/java/cn/com/tenlion/commonpopulation/service/overseaspersonnel/impl/OverseasPersonnelServiceImpl.java +++ b/src/main/java/cn/com/tenlion/commonpopulation/service/overseaspersonnel/impl/OverseasPersonnelServiceImpl.java @@ -317,7 +317,7 @@ public class OverseasPersonnelServiceImpl extends DefaultBaseService implements } info.setbirthday(params.get("birthday") == null ? "" : params.get("birthday").toString()); info.setkey_of_follow("否"); - if("1".equals(params.get("keyOfFollow").toString())){ + if(params.get("keyOfFollow") != null && "1".equals(params.get("keyOfFollow").toString())){ info.setkey_of_follow("是"); } jObj.put("data", info.saveCheckToJson());