|
|
@@ -194,7 +194,7 @@ public class SaleOrderController {
|
|
|
}
|
|
|
// TODO 其他过滤条件
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 1L));
|
|
|
+ sortList.add(new Sort("pu_id", false, Type.LONG, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
map.put("pu_status", (short) Status.UNAUDIT.value());
|
|
|
@@ -228,7 +228,7 @@ public class SaleOrderController {
|
|
|
}
|
|
|
// 当前登录企业作为供应商
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_venduu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pu_status", Status.NOT_REPLY.value());
|
|
|
@@ -261,7 +261,7 @@ public class SaleOrderController {
|
|
|
}
|
|
|
// 当前登录企业作为供应商
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_venduu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pu_reply", Constant.YES);
|
|
|
@@ -299,7 +299,7 @@ public class SaleOrderController {
|
|
|
}
|
|
|
// 当前登录企业作为供应商
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_venduu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pu_status", Status.WAITSELLERCOMFIRM.value());
|
|
|
@@ -334,7 +334,7 @@ public class SaleOrderController {
|
|
|
}
|
|
|
// 当前登录企业作为供应商
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_venduu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pu_end", Constant.YES);
|
|
|
@@ -366,7 +366,7 @@ public class SaleOrderController {
|
|
|
}
|
|
|
// 当前登录企业作为供应商
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_venduu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pu_end", Constant.NO);
|
|
|
@@ -398,7 +398,7 @@ public class SaleOrderController {
|
|
|
}
|
|
|
// 当前登录企业作为供应商
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_venduu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
List<Object> list = new ArrayList<>();
|
|
|
@@ -1038,7 +1038,7 @@ public class SaleOrderController {
|
|
|
String keyword = jsonObject.getString("keyword");
|
|
|
com.uas.search.b2b.model.PageParams pageParams = searchService.convertPageParams(params, searchFilter);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
|
@@ -1061,7 +1061,7 @@ public class SaleOrderController {
|
|
|
String keyword = jsonObject.getString("keyword");
|
|
|
com.uas.search.b2b.model.PageParams pageParams = searchService.convertPageParams(params, searchFilter);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pu_status", Status.NOT_REPLY);
|
|
|
@@ -1082,7 +1082,7 @@ public class SaleOrderController {
|
|
|
String keyword = jsonObject.getString("keyword");
|
|
|
com.uas.search.b2b.model.PageParams pageParams = searchService.convertPageParams(params, searchFilter);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pu_reply", Constant.YES);
|
|
|
@@ -1103,7 +1103,7 @@ public class SaleOrderController {
|
|
|
String keyword = jsonObject.getString("keyword");
|
|
|
com.uas.search.b2b.model.PageParams pageParams = searchService.convertPageParams(params, searchFilter);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, 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("pu_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pu_end", Constant.YES);
|
|
|
@@ -1123,7 +1123,7 @@ public class SaleOrderController {
|
|
|
String keyword = jsonObject.getString("keyword");
|
|
|
com.uas.search.b2b.model.PageParams pageParams = searchService.convertPageParams(params, searchFilter);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pu_id", false, Type.INT, new Long(1)));
|
|
|
+ sortList.add(new Sort("pu_id", false, Type.LONG, new Long(1)));
|
|
|
List<Object> list = new ArrayList<>();
|
|
|
list.add(Constant.YES);
|
|
|
// 建索引时,将不处于已结案状态,但是货物全部交接完毕的单,end值设为了2
|