|
@@ -134,7 +134,7 @@ public class SiteUserImpl implements SiteUserService {
|
|
|
throw new BaseException("500", "该身份证已绑定其他驿站人员");
|
|
|
}
|
|
|
// 社保卡非必填
|
|
|
- if (!data.getSocialSecurityCard().isEmpty() && !data.getSocialSecurityCard().isBlank()) {
|
|
|
+ if (data.getSocialSecurityCard() != null && !data.getSocialSecurityCard().isBlank()) {
|
|
|
if (!bySocialSecurityCard.isEmpty()) {
|
|
|
throw new BaseException("500", "该社保卡已绑定其他驿站人员");
|
|
|
}
|