From 99c042dbb0449d7bf89c28d19a248b7376f5ab9d Mon Sep 17 00:00:00 2001 From: ouyangqing <ouyangqing@DESKTOP-B85SG1D> Date: 星期三, 20 一月 2021 13:11:08 +0800 Subject: [PATCH] Revert "nothing" --- WebAPI/Controllers/NewApiController.cs | 28 +++------------------------- 1 files changed, 3 insertions(+), 25 deletions(-) diff --git a/WebAPI/Controllers/NewApiController.cs b/WebAPI/Controllers/NewApiController.cs index d272d15..d1626a1 100644 --- a/WebAPI/Controllers/NewApiController.cs +++ b/WebAPI/Controllers/NewApiController.cs @@ -2,8 +2,6 @@ using System.Collections.Generic; using System.Data; using System.Linq; -using System.Net; -using System.Net.Http; using System.Web.Http; using WebAPI.Models; using WebAPI.Service; @@ -69,28 +67,6 @@ return YqnQbService.GetWorkCenterList(sWhere); } /// <summary> - /// 鑾峰彇杩涚珯鍗曞垪琛� - /// </summary> - /// <param name="sWhere"></param> - /// <returns></returns> - [Route("api/newBill/getStationInBillList")] - [HttpGet] - public ApiResult<DataSet> GetStationInBillList(string sWhere) - { - return YqnQbService.GetStationInBillList(sWhere); - } - /// <summary> - /// 鑾峰彇鍑虹珯鍗曞垪琛� - /// </summary> - /// <param name="sWhere"></param> - /// <returns></returns> - [Route("api/newBill/getStationOutBillList")] - [HttpGet] - public ApiResult<DataSet> GetStationOutBillList(string sWhere) - { - return YqnQbService.GetStationOutBillList(sWhere); - } - /// <summary> /// 杩涚珯鎺ユ敹鍗� /// </summary> /// <param name="oMain"></param> @@ -101,6 +77,7 @@ { return YqnQbService.SetStationInBill(oMain); } + /// <summary> /// 鍑虹珯绔欐帴鏀跺崟 /// </summary> @@ -108,8 +85,9 @@ /// <returns></returns> [Route("api/newBill/setStationOutBill")] [HttpPost] - public ApiResult SetStationOutBill(Model.ClsSc_StationOutBillMain oMain) + public ApiResult SetStationOutBill(StationOutBillView oMain) { + return YqnQbService.SetStationOutBill(oMain); } } -- Gitblit v1.9.1