Browse Source

删除重复的控制器方法

suntg 7 years ago
parent
commit
d4bdf3fc4d

+ 1 - 17
src/main/java/com/uas/platform/b2c/logistics/controller/InvoiceController.java

@@ -251,6 +251,7 @@ public class InvoiceController {
         logger.log("平台出货单管理", "查看待出货");
         PageInfo info = new PageInfo(params);
         info.filter("status", Status.TOBESHIPPED.value());
+		info.filter("sellerenuu", SystemSession.getUser().getEnterprise().getUu());
         return invoiceService.findPageByStatus(info, keyword, Type.Invoice_Vender_code.value());
     }
 
@@ -288,23 +289,6 @@ public class InvoiceController {
         return invoiceService.findAdminInFpu(pageInfo, keyword, status, Type.Invoice_Vender_code.value());
     }
 
-    /**
-     * 查看企业待出货
-     *
-     * @param params  the params 分页参数
-     * @param keyword the keyword 搜索字符串
-     * @return page 返回InvoiceFPurchase的page对象
-     */
-    @RequestMapping(value = "/inFpu/tobeshipped", method = RequestMethod.GET)
-    @ApiOperation(value = "查看企业待出货", httpMethod = "GET")
-    public Page<Invoice> findEntToBeShipped(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
-        logger.log("平台出货单管理", "查看企业待出货");
-        PageInfo info = new PageInfo(params);
-        info.filter("status", Status.TOBESHIPPED.value());
-        info.filter("sellerenuu", SystemSession.getUser().getEnterprise().getUu());
-        return invoiceService.findPageByStatus(info, keyword, Type.Invoice_B2c_code.value());
-    }
-
     /**
      * 查看企业已收货
      *