|
@@ -240,7 +240,6 @@ public class AppInquiryController {
|
|
|
pageParams.getFilters().put("id_inid", new MultiValue(list, true));
|
|
pageParams.getFilters().put("id_inid", new MultiValue(list, true));
|
|
|
}
|
|
}
|
|
|
pageParams.getFilters().put("id_status", Status.REPLIED.value());
|
|
pageParams.getFilters().put("id_status", Status.REPLIED.value());
|
|
|
- pageParams.getFilters().put("id_decidestatus", Status.UNAUDIT.value());
|
|
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
map.put("id_invalid", Constant.YES);
|
|
map.put("id_invalid", Constant.YES);
|
|
|
pageParams.setNotEqualFilters(map);
|
|
pageParams.setNotEqualFilters(map);
|
|
@@ -253,8 +252,8 @@ public class AppInquiryController {
|
|
|
PageInfo pageInfo = new PageInfo(page, size);
|
|
PageInfo pageInfo = new PageInfo(page, size);
|
|
|
pageInfo.filter("status", Status.REPLIED.value());
|
|
pageInfo.filter("status", Status.REPLIED.value());
|
|
|
pageInfo.filter("invalid", Constant.NO);
|
|
pageInfo.filter("invalid", Constant.NO);
|
|
|
|
|
+ pageInfo.filter("overdue", Constant.NO);
|
|
|
pageInfo.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
pageInfo.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
- pageInfo.filter("decideStatus", Status.UNAUDIT.value());
|
|
|
|
|
SearchFilter filter = new SearchFilter();
|
|
SearchFilter filter = new SearchFilter();
|
|
|
SearchFilter distribute = userService.distribute();
|
|
SearchFilter distribute = userService.distribute();
|
|
|
if (distribute != null && distribute.getDistribute() == null) {
|
|
if (distribute != null && distribute.getDistribute() == null) {
|
|
@@ -309,7 +308,7 @@ public class AppInquiryController {
|
|
|
if (distribute != null && !CollectionUtils.isEmpty(distribute.getDistribute())) {
|
|
if (distribute != null && !CollectionUtils.isEmpty(distribute.getDistribute())) {
|
|
|
filter.setDistribute(distribute.getDistribute());
|
|
filter.setDistribute(distribute.getDistribute());
|
|
|
}
|
|
}
|
|
|
- return toPage(detailService.findInvalidByPageInfo(pageInfo, keyword, filter));
|
|
|
|
|
|
|
+ return toPage(detailService.findAppInvalidByPageInfo(pageInfo, keyword, filter));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -343,6 +342,7 @@ public class AppInquiryController {
|
|
|
pageParams.getFilters().put("id_status", Status.REPLIED.value());
|
|
pageParams.getFilters().put("id_status", Status.REPLIED.value());
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
map.put("id_invalid", Constant.YES);
|
|
map.put("id_invalid", Constant.YES);
|
|
|
|
|
+ map.put("id_overdue", Constant.YES);
|
|
|
pageParams.setNotEqualFilters(map);
|
|
pageParams.setNotEqualFilters(map);
|
|
|
List<Sort> sortList = new ArrayList<>();
|
|
List<Sort> sortList = new ArrayList<>();
|
|
|
sortList.add(new Sort("id_id", false, Sort.Type.INT, new Long(1)));
|
|
sortList.add(new Sort("id_id", false, Sort.Type.INT, new Long(1)));
|
|
@@ -355,6 +355,7 @@ public class AppInquiryController {
|
|
|
pageInfo.filter("agreed", Constant.YES);
|
|
pageInfo.filter("agreed", Constant.YES);
|
|
|
pageInfo.filter("status", Status.REPLIED.value());
|
|
pageInfo.filter("status", Status.REPLIED.value());
|
|
|
pageInfo.filter("invalid", Constant.NO);
|
|
pageInfo.filter("invalid", Constant.NO);
|
|
|
|
|
+ pageInfo.filter("overdue", Constant.NO);
|
|
|
SearchFilter filter = new SearchFilter();
|
|
SearchFilter filter = new SearchFilter();
|
|
|
SearchFilter distribute = userService.distribute();
|
|
SearchFilter distribute = userService.distribute();
|
|
|
if (distribute != null && distribute.getDistribute() == null) {
|
|
if (distribute != null && distribute.getDistribute() == null) {
|