|
|
@@ -269,8 +269,8 @@ public class SearcherServiceImpl implements SearcherService {
|
|
|
|
|
|
SPage<Long> stockPage = (SPage<Long>) ((JSONObject)results.get("stock")).toJavaObject(SPage.class);
|
|
|
SPage<Long> futuresPage = (SPage<Long>) ((JSONObject)results.get("futures")).toJavaObject(SPage.class);
|
|
|
- for (Long goodsId : stockPage.getContent()) {
|
|
|
- goodsList.add(goodsDao.findOne(goodsId));
|
|
|
+ for (Object goodsId : stockPage.getContent()) {
|
|
|
+ goodsList.add(goodsDao.findOne(Long.valueOf(goodsId.toString())));
|
|
|
}
|
|
|
|
|
|
for (Object PrId : futuresPage.getContent()) {
|