|
@@ -790,7 +790,7 @@ public class InquiryServiceImpl implements InquiryService {
|
|
|
}, pageInfo);
|
|
}, pageInfo);
|
|
|
if (!CollectionUtils.isEmpty(items.getContent())) {
|
|
if (!CollectionUtils.isEmpty(items.getContent())) {
|
|
|
for (PurcInquiryItemInfo itemInfo : items.getContent()) {
|
|
for (PurcInquiryItemInfo itemInfo : items.getContent()) {
|
|
|
- List<PublicInquiryItem> itemList = itemDao.findBySourceId(itemInfo.getId());
|
|
|
|
|
|
|
+ List<PublicInquiryItem> itemList = itemDao.findBySourceIdOrderByOfferTimeDesc(itemInfo.getId());
|
|
|
itemInfo.setQutations(itemList);
|
|
itemInfo.setQutations(itemList);
|
|
|
itemInfo.setQuotation(itemList.get(0));
|
|
itemInfo.setQuotation(itemList.get(0));
|
|
|
itemInfo.setAgreed(Constant.NO);
|
|
itemInfo.setAgreed(Constant.NO);
|