|
|
@@ -3053,6 +3053,19 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
|
|
|
return userMidMapper.updateByUid(in);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public Object checkUser(String id) {
|
|
|
+ User user = userMapper.queryById(id);
|
|
|
+ OrganizationIdentity oi = organizationIdentityMapper.selectOrgIdentityByUserId(id);
|
|
|
+ if (user==null||user.getNickname()==null||oi.getOrgCode()==null||oi.getContacts()==null||
|
|
|
+ oi.getContactMobile()==null||user.getSocietyTag()==null||oi.getLocationProvince()==null||
|
|
|
+ oi.getLocationCity()==null||oi.getLocationArea()==null||user.getType()==null||oi.getIntendedProject()==null||
|
|
|
+ oi.getBusinessScope()==null||user.getLevel()==null){
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
private List<InputExcelUser> pushUserName(List<InputExcelUser> list) {
|
|
|
List<InputExcelUser> res=new ArrayList<>();
|