|  |  | 
 |  |  | import com.doumee.core.haikang.model.param.request.VisitAppointmentRequest; | 
 |  |  | import com.doumee.core.haikang.model.param.respose.VisitAppointmentResponse; | 
 |  |  | import com.doumee.core.haikang.service.HKService; | 
 |  |  | import com.doumee.core.model.LoginUserInfo; | 
 |  |  | import com.doumee.core.model.PageData; | 
 |  |  | import com.doumee.core.model.PageWrap; | 
 |  |  | import com.doumee.service.business.third.model.LoginUserInfo; | 
 |  |  | import com.doumee.service.business.third.model.PageData; | 
 |  |  | import com.doumee.service.business.third.model.PageWrap; | 
 |  |  | import com.doumee.core.utils.*; | 
 |  |  | import com.doumee.core.wx.wxPlat.WxPlatConstants; | 
 |  |  | import com.doumee.core.wx.wxPlat.WxPlatNotice; | 
 |  |  | 
 |  |  |             } | 
 |  |  |             if (Constants.equalsInteger(Constants.ZERO, erpVisitDTO.getIdcardType()) && erpVisitDTO.getIdcardNo().length() != 18 | 
 |  |  |                 //&&!IdcardUtil.isValidCard(visits.getIdcardNo()) | 
 |  |  |             ) { | 
 |  |  |             ){ | 
 |  |  |                 throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(), "对不起,身份证号码有误,请核实后重试!"); | 
 |  |  |             } | 
 |  |  |  | 
 |  |  |             Visits visits = new Visits(); | 
 |  |  |             //根据被访问人ERP主键查询系统内人员主键信息 | 
 |  |  |             Member member = memberMapper.selectOne(new QueryWrapper<Member>().lambda() | 
 |  |  | 
 |  |  |         dto.setPassword(resetPasswordDTO.getPassword()); | 
 |  |  |         dto.setId(systemUser.getId()); | 
 |  |  |         dto.setOperaUserId(systemUser.getId()); | 
 |  |  |         dto.setNeedChangePwd(Constants.ONE); | 
 |  |  |         systemUserBiz.resetPwd(dto); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |                             .selectAll(Retention.class) | 
 |  |  |                             .selectAs(Company::getType,Retention::getCompanyType) | 
 |  |  |                             .leftJoin(Company.class,Company::getId,Retention::getCompanyId) | 
 |  |  |                             .eq(Retention::getIsdeleted,Constants.ZERO) | 
 |  |  |             ); | 
 |  |  |  | 
 |  |  |             InoutDayCount inoutDayCount = inoutDayCountMapper.selectOne(new QueryWrapper<InoutDayCount>() | 
 |  |  | 
 |  |  |                 ); | 
 |  |  |                 for (Company company:companyList) { | 
 |  |  |                     Integer count = retentionList.stream().filter(i->Constants.equalsInteger(i.getCompanyId(),company.getId())).collect(Collectors.toList()).size(); | 
 |  |  |                     InterestedListVO lw = new InterestedListVO(); | 
 |  |  |                     lw.setNum(count); | 
 |  |  |                     lw.setName(company.getName()); | 
 |  |  |                     lwList.add(lw); | 
 |  |  |                     if(count>0){ | 
 |  |  |                         InterestedListVO lw = new InterestedListVO(); | 
 |  |  |                         lw.setNum(count); | 
 |  |  |                         lw.setName(company.getName()); | 
 |  |  |                         lwList.add(lw); | 
 |  |  |                     } | 
 |  |  |                 } | 
 |  |  |             } | 
 |  |  |  |