|
@@ -1,5 +1,6 @@
|
|
|
package com.uas.platform.b2c.prod.product.component.service.impl;
|
|
package com.uas.platform.b2c.prod.product.component.service.impl;
|
|
|
|
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.uas.platform.b2c.common.search.rpc.service.SearchService;
|
|
import com.uas.platform.b2c.common.search.rpc.service.SearchService;
|
|
|
import com.uas.platform.b2c.prod.product.component.dao.ComponentGoodsDao;
|
|
import com.uas.platform.b2c.prod.product.component.dao.ComponentGoodsDao;
|
|
|
import com.uas.platform.b2c.prod.product.component.modal.ComponentGoods;
|
|
import com.uas.platform.b2c.prod.product.component.modal.ComponentGoods;
|
|
@@ -101,6 +102,8 @@ public class ComponentGoodsServiceImpl implements ComponentGoodsService {
|
|
|
if(totalElements > new Long(maxExposeInfo).longValue()) {
|
|
if(totalElements > new Long(maxExposeInfo).longValue()) {
|
|
|
totalElements = maxExposeInfo;
|
|
totalElements = maxExposeInfo;
|
|
|
}
|
|
}
|
|
|
|
|
+ System.out.println(JSON.toJSON(info));
|
|
|
|
|
+ System.out.println(JSON.toJSON(page.getContent()));
|
|
|
page = new PageImpl<>(page.getContent(), info, totalElements);
|
|
page = new PageImpl<>(page.getContent(), info, totalElements);
|
|
|
return page;
|
|
return page;
|
|
|
}
|
|
}
|