|
|
@@ -371,7 +371,7 @@ public class PublicInquiryController {
|
|
|
*/
|
|
|
@HttpLog
|
|
|
@RequestMapping(value = "/quotation/list", method = RequestMethod.GET)
|
|
|
- public IPage<PublicInquiryItemInfo> getQuotation(PageInfo pageInfo, String filter, String _state) {
|
|
|
+ public IPage<PublicInquiryItemInfo> getQuotation(PageInfo pageInfo, String filter, String _state, Short overdue) {
|
|
|
Sort sort = new Sort(Sort.Direction.DESC, "date");
|
|
|
if (pageInfo.getOffset() == 0) {
|
|
|
pageInfo.setOffset(pageInfo.getPageSize() * (pageInfo.getPageNumber() - 1));
|
|
|
@@ -386,7 +386,7 @@ public class PublicInquiryController {
|
|
|
throw new IllegalAccessError("请先传入企业信息");
|
|
|
}
|
|
|
if (null != _state) {
|
|
|
- pageInfo = publicInquiryService.covert(pageInfo, _state);
|
|
|
+ pageInfo = publicInquiryService.covert(pageInfo, _state, overdue);
|
|
|
}
|
|
|
logger.log("公共询价", "查询已转报价询价列表信息", "状态: " + _state == null ? "all" : _state, searchFilter.getUserUU(), searchFilter.getEnUU(), InquirySource.PLAIN.name());
|
|
|
return publicInquiryService.findByPageInfo(pageInfo, searchFilter);
|
|
|
@@ -412,7 +412,7 @@ public class PublicInquiryController {
|
|
|
*/
|
|
|
@HttpLog
|
|
|
@RequestMapping(value = "/quotationList", method = RequestMethod.GET)
|
|
|
- public Page<PublicInquiryItemInfo> getQuotationList(PageInfo pageInfo, String filter, String _state) {
|
|
|
+ public Page<PublicInquiryItemInfo> getQuotationList(PageInfo pageInfo, String filter, String _state, Short overdue) {
|
|
|
Sort sort = new Sort(Sort.Direction.DESC, "date");
|
|
|
if (pageInfo.getOffset() == 0) {
|
|
|
pageInfo.setOffset(pageInfo.getPageSize() * (pageInfo.getPageNumber() - 1));
|
|
|
@@ -420,7 +420,7 @@ public class PublicInquiryController {
|
|
|
pageInfo.setSort(sort);
|
|
|
SearchFilter searchFilter = JSONObject.parseObject(filter, SearchFilter.class);
|
|
|
if (null != _state) {
|
|
|
- pageInfo = publicInquiryService.covert(pageInfo, _state);
|
|
|
+ pageInfo = publicInquiryService.covert(pageInfo, _state, overdue);
|
|
|
}
|
|
|
return publicInquiryService.findListByPageInfo(pageInfo, searchFilter);
|
|
|
}
|