|
@@ -243,7 +243,7 @@ public class SaleOrderController {
|
|
|
sortList.add(new Sort("pu_id", false, Type.LONG, new Long(1)));
|
|
sortList.add(new Sort("pu_id", false, Type.LONG, new Long(1)));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("pu_venduu", SystemSession.getUser().getEnterprise().getUu());
|
|
pageParams.getFilters().put("pu_venduu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
- pageParams.getFilters().put("pu_reply", Constant.YES);
|
|
|
|
|
|
|
+ pageParams.getFilters().put("pu_status", Status.REPLIED.value());
|
|
|
ModelMap map = new ModelMap();
|
|
ModelMap map = new ModelMap();
|
|
|
map.put("pu_end", Constant.YES); // 过滤掉已结案状态的
|
|
map.put("pu_end", Constant.YES); // 过滤掉已结案状态的
|
|
|
pageParams.setNotEqualFilters(map);
|
|
pageParams.setNotEqualFilters(map);
|
|
@@ -959,7 +959,7 @@ public class SaleOrderController {
|
|
|
sortList.add(new Sort("pu_id", false, Type.LONG, new Long(1)));
|
|
sortList.add(new Sort("pu_id", false, Type.LONG, new Long(1)));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("pu_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
pageParams.getFilters().put("pu_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
- pageParams.getFilters().put("pu_reply", Constant.YES);
|
|
|
|
|
|
|
+ pageParams.getFilters().put("pu_status", Status.REPLIED.value());
|
|
|
return searchService.searchPurchaseDoneOrderIds(keyword, pageParams);
|
|
return searchService.searchPurchaseDoneOrderIds(keyword, pageParams);
|
|
|
}
|
|
}
|
|
|
|
|
|