| | |
| | | import com.java110.po.owner.OwnerPo; |
| | | import com.java110.user.dao.IOwnerServiceDao; |
| | | import com.java110.utils.cache.MappingCache; |
| | | import com.java110.utils.constant.MappingConstant; |
| | | import com.java110.utils.constant.OwnerTypeConstant; |
| | | import com.java110.utils.constant.StatusConstant; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | |
| | | return true; |
| | | } |
| | | |
| | | String imgUrl = MappingCache.getValue("IMG_PATH"); |
| | | String imgUrl = MappingCache.getValue(MappingConstant.FILE_DOMAIN,"IMG_PATH"); |
| | | |
| | | for (OwnerDto tmpOwnerDto : owners) { |
| | | for (FileRelDto tmpFileRelDto : fileRelDtos) { |
| | |
| | | continue; |
| | | } |
| | | |
| | | if (fileRelDtos.get(0).getFileSaveName().startsWith("http")) { |
| | | tmpOwnerDto.setUrl(fileRelDtos.get(0).getFileSaveName()); |
| | | if (tmpFileRelDto.getFileSaveName().startsWith("http")) { |
| | | tmpOwnerDto.setUrl(tmpFileRelDto.getFileSaveName()); |
| | | } else { |
| | | tmpOwnerDto.setUrl(imgUrl + fileRelDtos.get(0).getFileSaveName()); |
| | | tmpOwnerDto.setUrl(imgUrl + tmpFileRelDto.getFileSaveName()); |
| | | } |
| | | } |
| | | } |