修复境外人员推送不成功的问题

This commit is contained in:
wans 2022-02-18 14:35:06 +08:00
parent b3c3c492c6
commit 68d7d4674f

View File

@ -317,7 +317,7 @@ public class OverseasPersonnelServiceImpl extends DefaultBaseService implements
} }
info.setbirthday(params.get("birthday") == null ? "" : params.get("birthday").toString()); info.setbirthday(params.get("birthday") == null ? "" : params.get("birthday").toString());
info.setkey_of_follow(""); 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(""); info.setkey_of_follow("");
} }
jObj.put("data", info.saveCheckToJson()); jObj.put("data", info.saveCheckToJson());