|
|
@@ -726,7 +726,7 @@ public class PurchaseInquiryServiceImpl implements PurchaseInquiryService {
|
|
|
public List<InquiryMessage> getMessageList() {
|
|
|
String sql = "select * from (select p.id_id id,p.id_prid productId from purc$puinquiryitems p left join purc$puinquiry i on i.in_id = p.id_inid where i.in_isopen = 1 and i.in_enuu <> "
|
|
|
+ SystemSession.getUser().getEnterprise().getUu()
|
|
|
- + "and i.in_enddate > trunc(sysdate) and nvl(p.id_overdue, 0) <> 1 order by id_id desc) where rownum < 6";
|
|
|
+ + "and i.in_enddate > trunc(sysdate) and nvl(p.id_overdue, 0) <> 1 order by id_id desc) where rownum <= 7";
|
|
|
List<PurcInquiryItem> items = commonDao.query(sql, PurcInquiryItem.class);
|
|
|
List<InquiryMessage> messages = new ArrayList<InquiryMessage>();
|
|
|
if (!CollectionUtils.isEmpty(items)) {
|