|
@@ -54,7 +54,7 @@ public class SaleOrderChangeController {
|
|
|
logger.log("客户采购变更单", "查看收到的客户采购变更单列表(全部)");
|
|
logger.log("客户采购变更单", "查看收到的客户采购变更单列表(全部)");
|
|
|
PageInfo info = new PageInfo(params);
|
|
PageInfo info = new PageInfo(params);
|
|
|
// 我作为卖家,把我的企业ID作为供应商ID传入
|
|
// 我作为卖家,把我的企业ID作为供应商ID传入
|
|
|
- info.filter("order.vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
|
|
|
|
+ info.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
return purchaseOrderChangeService.findAllByPageInfo(info, keyword);
|
|
return purchaseOrderChangeService.findAllByPageInfo(info, keyword);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -72,7 +72,7 @@ public class SaleOrderChangeController {
|
|
|
// 变更单状态为未回复
|
|
// 变更单状态为未回复
|
|
|
info.filter("status", Status.NOT_REPLY.value());
|
|
info.filter("status", Status.NOT_REPLY.value());
|
|
|
// 我作为卖家,把我的企业ID作为供应商ID传入
|
|
// 我作为卖家,把我的企业ID作为供应商ID传入
|
|
|
- info.filter("order.vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
|
|
|
|
+ info.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
return purchaseOrderChangeService.findAllByPageInfo(info, keyword);
|
|
return purchaseOrderChangeService.findAllByPageInfo(info, keyword);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -90,7 +90,7 @@ public class SaleOrderChangeController {
|
|
|
// 变更单状态为已回复
|
|
// 变更单状态为已回复
|
|
|
info.filter("status", Status.REPLIED.value());
|
|
info.filter("status", Status.REPLIED.value());
|
|
|
// 我作为卖家,把我的企业ID作为供应商ID传入
|
|
// 我作为卖家,把我的企业ID作为供应商ID传入
|
|
|
- info.filter("order.vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
|
|
|
|
+ info.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
return purchaseOrderChangeService.findAllByPageInfo(info, keyword);
|
|
return purchaseOrderChangeService.findAllByPageInfo(info, keyword);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -131,7 +131,7 @@ public class SaleOrderChangeController {
|
|
|
public ModelAndView exportChanges(String keyword) {
|
|
public ModelAndView exportChanges(String keyword) {
|
|
|
PageInfo pageInfo = new PageInfo(1, JxlsExcelView.MAX_SIZE, 0);
|
|
PageInfo pageInfo = new PageInfo(1, JxlsExcelView.MAX_SIZE, 0);
|
|
|
pageInfo.sorting("date", Direction.DESC);
|
|
pageInfo.sorting("date", Direction.DESC);
|
|
|
- pageInfo.filter("order.vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
|
|
|
|
+ pageInfo.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日");
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日");
|
|
|
ModelAndView modelAndView = new ModelAndView();
|
|
ModelAndView modelAndView = new ModelAndView();
|
|
|
modelAndView.addObject("dateFormat", dateFormat);
|
|
modelAndView.addObject("dateFormat", dateFormat);
|
|
@@ -152,7 +152,7 @@ public class SaleOrderChangeController {
|
|
|
public ModelAndView exportTodoChanges(String keyword) {
|
|
public ModelAndView exportTodoChanges(String keyword) {
|
|
|
PageInfo pageInfo = new PageInfo(1, JxlsExcelView.MAX_SIZE, 0);
|
|
PageInfo pageInfo = new PageInfo(1, JxlsExcelView.MAX_SIZE, 0);
|
|
|
pageInfo.sorting("date", Direction.DESC);
|
|
pageInfo.sorting("date", Direction.DESC);
|
|
|
- pageInfo.filter("order.vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
|
|
|
|
+ pageInfo.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
// 变更单状态为未回复
|
|
// 变更单状态为未回复
|
|
|
pageInfo.filter("status", Status.NOT_REPLY.value());
|
|
pageInfo.filter("status", Status.NOT_REPLY.value());
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日");
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日");
|
|
@@ -175,7 +175,7 @@ public class SaleOrderChangeController {
|
|
|
public ModelAndView exportDoneChanges(String keyword) {
|
|
public ModelAndView exportDoneChanges(String keyword) {
|
|
|
PageInfo pageInfo = new PageInfo(1, JxlsExcelView.MAX_SIZE, 0);
|
|
PageInfo pageInfo = new PageInfo(1, JxlsExcelView.MAX_SIZE, 0);
|
|
|
pageInfo.sorting("date", Direction.DESC);
|
|
pageInfo.sorting("date", Direction.DESC);
|
|
|
- pageInfo.filter("order.vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
|
|
|
|
+ pageInfo.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
// 变更单状态为已回复
|
|
// 变更单状态为已回复
|
|
|
pageInfo.filter("status", Status.REPLIED.value());
|
|
pageInfo.filter("status", Status.REPLIED.value());
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日");
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy年MM月dd日");
|