|
|
@@ -211,6 +211,25 @@ public class PurcInquiryController {
|
|
|
return searchService.searchPurchaseInquiryItemIds(keyword, pageParams);
|
|
|
}
|
|
|
|
|
|
+ // /**
|
|
|
+ // * 未提交(主表查询,不建索引)
|
|
|
+ // *
|
|
|
+ // * @return
|
|
|
+ // */
|
|
|
+ // @RequestMapping(value = "/unapply", method = RequestMethod.GET)
|
|
|
+ // private SPage<PurcInquiry> getUnapply(PageParams params, String keyword)
|
|
|
+ // {
|
|
|
+ // com.uas.search.b2b.model.PageParams pageParams =
|
|
|
+ // searchService.convertPageParams(params, null);
|
|
|
+ // pageParams.getFilters().put("in_enuu",
|
|
|
+ // SystemSession.getUser().getEnterprise().getUu());
|
|
|
+ // pageParams.getFilters().put("in_enterystatus", Status.UNAPPLY.value());
|
|
|
+ // List<Sort> sortList = new ArrayList<>();
|
|
|
+ // sortList.add(new Sort("in_id", false, Type.LONG, new Long(1)));
|
|
|
+ // pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
+ // return searchService.searchPurcInquiryCheckIds(keyword, pageParams);
|
|
|
+ // }
|
|
|
+
|
|
|
/**
|
|
|
* 未提交(主表查询,不建索引)
|
|
|
*
|
|
|
@@ -218,13 +237,31 @@ public class PurcInquiryController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/unapply", method = RequestMethod.GET)
|
|
|
private Page<PurcInquiry> getUnapply(PageParams params) {
|
|
|
- Page<PurcInquiry> inquiry = purcInquiryService.getUnapply(params);
|
|
|
- return inquiry;
|
|
|
+ return purcInquiryService.getUnapply(params);
|
|
|
}
|
|
|
|
|
|
+ // /**
|
|
|
+ // * 已发布
|
|
|
+ // *
|
|
|
+ // * @param params
|
|
|
+ // * @return
|
|
|
+ // */
|
|
|
+ // @RequestMapping(value = "/submit", method = RequestMethod.GET)
|
|
|
+ // private SPage<PurcInquiry> getSubmit(PageParams params, String keyword) {
|
|
|
+ // com.uas.search.b2b.model.PageParams pageParams =
|
|
|
+ // searchService.convertPageParams(params, null);
|
|
|
+ // pageParams.getFilters().put("in_enuu",
|
|
|
+ // SystemSession.getUser().getEnterprise().getUu());
|
|
|
+ // pageParams.getFilters().put("in_enterystatus", Status.ENABLED.value());
|
|
|
+ // List<Sort> sortList = new ArrayList<>();
|
|
|
+ // sortList.add(new Sort("in_id", false, Type.LONG, new Long(1)));
|
|
|
+ // pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
+ // return searchService.searchPurcInquiryCheckIds(keyword, pageParams);
|
|
|
+ // }
|
|
|
+
|
|
|
/**
|
|
|
* 已发布
|
|
|
- *
|
|
|
+ *
|
|
|
* @param params
|
|
|
* @return
|
|
|
*/
|
|
|
@@ -232,7 +269,6 @@ public class PurcInquiryController {
|
|
|
private Page<PurcInquiry> getSubmit(PageParams params) {
|
|
|
return purcInquiryService.getSubmit(params);
|
|
|
}
|
|
|
-
|
|
|
/**
|
|
|
* 采纳
|
|
|
*
|