Browse Source

根据ID获取送货提醒的请求

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@534 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
suntg 11 years ago
parent
commit
a4d43f105b

+ 12 - 0
src/main/java/com/uas/platform/b2b/controller/SaleNoticeController.java

@@ -48,6 +48,18 @@ public class SaleNoticeController {
 		info.filter("vendUU", SystemSession.getUser().getEnterprise().getUu());
 		return purchaseNoticeService.findAllByPageInfo(info);
 	}
+	
+	/**
+	 * 作为卖家,收到的送货提醒,对应id
+	 * 
+	 * @param id
+	 * @return
+	 */
+	@RequestMapping(value = "/{id}", method = RequestMethod.GET)
+	@ResponseBody
+	public PurchaseNotice getReceivedPurchaseNoticeById(@PathVariable("id") Long id) {
+		return purchaseNoticeService.findById(id);
+	}
 
 	/**
 	 * 作为卖家,收到的送货提醒(待发货)