提交 7f0356fe authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 1756eb51
......@@ -363,11 +363,11 @@ public class FgEbookServiceImpl extends BaseServiceImpl<Ebook, String> implement
@Override
public FgEbookVO getInfoBysolrDocument(SolrDocument solrDocument) {
FgEbookVO vo = new FgEbookVO();
if (StringUtils.isNotBlank(solrDocument.get("pdfFile").toString())) {
/*if (StringUtils.isNotBlank(solrDocument.get("pdfFile").toString())) {
vo.setIsPdf(1);
} else {
vo.setIsPdf(0);
}
}*/
// 未上架、未定价
if (!EbookStatusEnum._1.getCode().equals(solrDocument.get("bookStatus"))
|| solrDocument.get("realPrice") == null) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论