|
@@ -102,6 +102,8 @@ public class SaleNoticeController {
|
|
|
PageInfo info = new PageInfo(params);
|
|
PageInfo info = new PageInfo(params);
|
|
|
// 送货提醒状态为待发货
|
|
// 送货提醒状态为待发货
|
|
|
info.filter("status", Status.NOT_REPLY.value());
|
|
info.filter("status", Status.NOT_REPLY.value());
|
|
|
|
|
+ // 无需等待发货
|
|
|
|
|
+ info.filter("waiting", Constant.NO);
|
|
|
// 我作为卖家,把我的企业ID作为供应商ID传入
|
|
// 我作为卖家,把我的企业ID作为供应商ID传入
|
|
|
info.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
info.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
return purchaseNoticeService.findAllByPageInfo(info, keyword);
|
|
return purchaseNoticeService.findAllByPageInfo(info, keyword);
|
|
@@ -125,6 +127,24 @@ public class SaleNoticeController {
|
|
|
return purchaseNoticeService.findDoneByPageInfo(info, keyword);
|
|
return purchaseNoticeService.findDoneByPageInfo(info, keyword);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 作为卖家,收到的送货提醒(备料中)
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param params
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ @RequestMapping(params = "_state=waiting", method = RequestMethod.GET)
|
|
|
|
|
+ @ResponseBody
|
|
|
|
|
+ public Page<PurchaseNotice> getWaitingPurchaseNotices(PageParams params, String keyword) {
|
|
|
|
|
+ logger.log("客户送货提醒", "查看收到的客户送货提醒列表(备料中)");
|
|
|
|
|
+ PageInfo info = new PageInfo(params);
|
|
|
|
|
+ // 需要等待发货
|
|
|
|
|
+ info.filter("waiting", Constant.YES);
|
|
|
|
|
+ // 我作为卖家,把我的企业ID作为供应商ID传入
|
|
|
|
|
+ info.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
|
|
|
|
|
+ return purchaseNoticeService.findAllByPageInfo(info, keyword);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 作为卖家,收到的送货提醒(已结案)
|
|
* 作为卖家,收到的送货提醒(已结案)
|
|
|
*
|
|
*
|