|
|
@@ -156,7 +156,7 @@ public class TenderController {
|
|
|
com.uas.search.b2b.model.PageParams pageParams = searchService.convertPageParams(params, null);
|
|
|
pageParams.getFilters().put("ve_myenuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("ve_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("ve_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
return searchService.searchVendorIds(keyword, pageParams);
|
|
|
}
|
|
|
@@ -246,7 +246,7 @@ public class TenderController {
|
|
|
return null;
|
|
|
}
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("st_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("st_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
map.put("st_ispublish", Constant.NO); // 已发布
|
|
|
@@ -273,7 +273,7 @@ public class TenderController {
|
|
|
return null;
|
|
|
}
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("st_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("st_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
map.put("st_ispublish", Constant.NO); // 已发布
|
|
|
@@ -301,7 +301,7 @@ public class TenderController {
|
|
|
return null;
|
|
|
}
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("st_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("st_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
map.put("st_ispublish", Constant.NO); // 已发布
|
|
|
@@ -330,7 +330,7 @@ public class TenderController {
|
|
|
return null;
|
|
|
}
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("st_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("st_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
map.put("st_ispublish", Constant.NO); // 已发布
|
|
|
@@ -359,7 +359,7 @@ public class TenderController {
|
|
|
// return null;
|
|
|
// }
|
|
|
// List<Sort> sortList = new ArrayList<>();
|
|
|
-// sortList.add(new Sort("pt_id", false, Sort.Type.LONG, 1L));
|
|
|
+// sortList.add(new Sort("pt_id", false, Sort.Type.INT, 1L));
|
|
|
// pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
// pageParams.getFilters().put("tp_ptid", SystemSession.getUser().getEnterprise().getEnName());
|
|
|
// pageParams.getFilters().put("pt_ispublish", Constant.YES);
|
|
|
@@ -383,7 +383,7 @@ public class TenderController {
|
|
|
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("pt_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("pt_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
map.put("pt_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
@@ -414,7 +414,7 @@ public class TenderController {
|
|
|
}
|
|
|
buildFilter(filter, pageParams);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pt_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("pt_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("pt_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
return searchService.erpSearchPurcTenderIds(keyword, pageParams);
|
|
|
@@ -453,7 +453,7 @@ public class TenderController {
|
|
|
}
|
|
|
buildFilter(filter, pageParams);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pt_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("pt_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("pt_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pt_ispublish", Constant.YES);
|
|
|
@@ -482,7 +482,7 @@ public class TenderController {
|
|
|
}
|
|
|
buildFilter(filter, pageParams);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pt_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("pt_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("pt_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pt_ispublish", Constant.YES);
|
|
|
@@ -512,7 +512,7 @@ public class TenderController {
|
|
|
}
|
|
|
buildFilter(filter, pageParams);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pt_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("pt_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("pt_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pt_ispublish", Constant.YES);
|
|
|
@@ -541,7 +541,7 @@ public class TenderController {
|
|
|
}
|
|
|
buildFilter(filter, pageParams);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pt_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("pt_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("pt_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("pt_ispublish", Constant.YES);
|
|
|
@@ -565,7 +565,7 @@ public class TenderController {
|
|
|
// 当前登录企业作为客户
|
|
|
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("pt_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("pt_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("pt_enuu", SystemSession.getUser().getEnterprise().getUu());
|
|
|
SearchFilter filter = userService.distribute();
|
|
|
@@ -865,7 +865,7 @@ public class TenderController {
|
|
|
return null;
|
|
|
}
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("stq_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("stq_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("stq_ptaid", SystemSession.getUser().getEnterprise().getUu());
|
|
|
return searchService.searchSaleTenderQuestion(keyword, pageParams);
|
|
|
@@ -889,7 +889,7 @@ public class TenderController {
|
|
|
return null;
|
|
|
}
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("stq_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("stq_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("stq_ptaid", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("stq_status", Status.REPLIED.value());
|
|
|
@@ -914,7 +914,7 @@ public class TenderController {
|
|
|
return null;
|
|
|
}
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
- sortList.add(new Sort("stq_id", false, Sort.Type.LONG, 1L));
|
|
|
+ sortList.add(new Sort("stq_id", false, Sort.Type.INT, 1L));
|
|
|
pageParams.getFilters().put(SearchConstants.SORT_KEY, sortList);
|
|
|
pageParams.getFilters().put("stq_ptaid", SystemSession.getUser().getEnterprise().getUu());
|
|
|
pageParams.getFilters().put("stq_status", Status.NOT_REPLY.value());
|