|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; | 
|---|
|  |  |  | import com.doumee.biz.system.SystemDictDataBiz; | 
|---|
|  |  |  | import com.doumee.core.constants.ResponseStatus; | 
|---|
|  |  |  | import com.doumee.core.exception.BusinessException; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.HKConstants; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.BaseListPageResponse; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.BaseResponse; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.request.*; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.request.event.visit.EventVisitInfoRequest; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.respose.*; | 
|---|
|  |  |  | import com.doumee.core.haikang.service.HKService; | 
|---|
|  |  |  | import com.doumee.core.utils.Constants; | 
|---|
|  |  |  | 
|---|
|  |  |  | return  null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(StringUtils.isNotBlank(c.getFaceImg())){ | 
|---|
|  |  |  | log.info("===================================="+path+c.getFaceImg()+"======start===="); | 
|---|
|  |  |  | info.setVisitorPhoto(ImageBase64Util.Image2Base64(path+c.getFaceImg())); | 
|---|
|  |  |  | log.info("===================================="+path+c.getFaceImg()+"========end==="); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(info.getVisitorPhoto() == null){ | 
|---|
|  |  |  | log.info("===================================="+path+c.getFaceImg()+"======imgerror====="); | 
|---|
|  |  |  | return  null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(StringUtils.isNotBlank(c.getName())){ | 
|---|
|  |  |  | 
|---|
|  |  |  | info.setVisitorName(c.getName()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if(StringUtils.isNotBlank(c.getCompanyName())){ | 
|---|
|  |  |  | char[] charArray = c.getCompanyName().toCharArray(); | 
|---|
|  |  |  | int length = charArray.length; | 
|---|
|  |  |  | 
|---|
|  |  |  | info.setCertificateType(HKConstants.CertificateType.HUZHAO.getKey()+""); | 
|---|
|  |  |  | info.setCertificateNo(DESUtil.decrypt(Constants.EDS_PWD,  c.getIdcardNo())); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return info; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|