|
|
@@ -47,7 +47,7 @@ import java.util.*;
|
|
|
*/
|
|
|
@SuppressWarnings("deprecation")
|
|
|
@Controller("mall2.SaleOrderController")
|
|
|
-@RequestMapping("/mall2/sale/orders")
|
|
|
+@RequestMapping("/sale/orders")
|
|
|
public class SaleOrderController {
|
|
|
|
|
|
@Autowired
|
|
|
@@ -67,7 +67,7 @@ public class SaleOrderController {
|
|
|
* @param params
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/info/search", method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/info/mall2_search", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public SPage<PurchaseOrderAll> getPurchaseOrderItems(PageParams params, String searchFilter) {
|
|
|
logger.log("客户采购单", "查看收到的客户采购订单列表(包括采购明细)(全部)");
|
|
|
@@ -106,7 +106,7 @@ public class SaleOrderController {
|
|
|
* @param params
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/info/search", params = RequestState.END, method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/info/mall2_search", params = RequestState.END, method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public SPage<PurchaseOrderEnd> getEndPurchaseOrderItems(PageParams params, String searchFilter) {
|
|
|
logger.log("客户采购单", "查看收到的客户采购订单列表(包括采购明细)(已结案)");
|
|
|
@@ -144,7 +144,7 @@ public class SaleOrderController {
|
|
|
* @param searchFilter
|
|
|
* @author wangmh 获取已收货的订单 - 搜索
|
|
|
*/
|
|
|
- @RequestMapping(value = "/info/search", params = RequestState.RECEIVED, method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/info/mall2_search", params = RequestState.RECEIVED, method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public SPage<PurchaseOrderReceived> getReceivedPurchaseOrderItems(PageParams params, String searchFilter) {
|
|
|
logger.log("客户采购单", "查看收到的客户采购订单列表(包括采购明细)(已收货)");
|
|
|
@@ -182,7 +182,7 @@ public class SaleOrderController {
|
|
|
* @param searchFilter
|
|
|
* @author yujia 获取待发货的订单 - 搜索
|
|
|
*/
|
|
|
- @RequestMapping(value = "/info/search", params = RequestState.WAITING, method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/info/mall2_search", params = RequestState.WAITING, method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public SPage<PurchaseOrderWaiting> getWaitingPurchaseOrderItems(PageParams params, String searchFilter) {
|
|
|
logger.log("客户采购单", "查看收到的客户采购订单列表(包括采购明细)(待交货)");
|
|
|
@@ -228,7 +228,7 @@ public class SaleOrderController {
|
|
|
* @param params
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/info/nosearch", method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/info/mall2_nosearch", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public SPage<PurchaseOrderAll> getSaleOrders(PageParams params, String searchFilter) {
|
|
|
logger.log("客户采购单", "查看收到的客户采购订单列表(包括采购明细)(全部)");
|
|
|
@@ -262,7 +262,7 @@ public class SaleOrderController {
|
|
|
* @param params
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/info/nosearch", params = RequestState.END, method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/info/mall2_nosearch", params = RequestState.END, method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public SPage<PurchaseOrderEnd> getEndSaleOrders(PageParams params, String searchFilter) {
|
|
|
logger.log("客户采购单", "查看收到的客户采购单列表(已结案)");
|
|
|
@@ -295,7 +295,7 @@ public class SaleOrderController {
|
|
|
* @param searchFilter
|
|
|
* @author wangmh 获取已发货的订单
|
|
|
*/
|
|
|
- @RequestMapping(value = "/info/nosearch", params = RequestState.RECEIVED, method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/info/mall2_nosearch", params = RequestState.RECEIVED, method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public SPage<PurchaseOrderReceived> getReceivedOrders(PageParams params, String searchFilter) {
|
|
|
logger.log("客户采购单", "查看收到的客户采购订单列表(包括采购明细)(待交货)");
|
|
|
@@ -328,7 +328,7 @@ public class SaleOrderController {
|
|
|
* @param searchFilter
|
|
|
* @author yujia 获取待发货的订单
|
|
|
*/
|
|
|
- @RequestMapping(value = "/info/nosearch", params = RequestState.WAITING, method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/info/mall2_nosearch", params = RequestState.WAITING, method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public SPage<PurchaseOrderWaiting> getWaitingOrders(PageParams params, String searchFilter) {
|
|
|
logger.log("客户采购单", "查看收到的客户采购订单列表(包括采购明细)(待交货)");
|
|
|
@@ -360,7 +360,7 @@ public class SaleOrderController {
|
|
|
* 获取单据数据统计
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/counts", method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/mall2_counts", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public ModelMap getCounts() {
|
|
|
ModelMap modelMap = new ModelMap();
|