From 718585e8cd435a20d2555f35b320f7840260a35d Mon Sep 17 00:00:00 2001
From: ouyangqing <ouyangqing@DESKTOP-B85SG1D>
Date: 星期四, 21 一月 2021 17:22:21 +0800
Subject: [PATCH] nothing

---
 WebAPI/Controllers/NewApiController.cs |   41 ++++++++++++++++++++++++++++++++++++-----
 1 files changed, 36 insertions(+), 5 deletions(-)

diff --git a/WebAPI/Controllers/NewApiController.cs b/WebAPI/Controllers/NewApiController.cs
index 3bc5b04..db83415 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;
@@ -19,9 +17,9 @@
         /// <returns></returns>
         [Route("api/newBill/getNewInterBillNo")]
         [HttpGet]
-        public ApiResult<DocumentsView> GetNewInterBillNo()
+        public ApiResult<DocumentsView> GetNewInterBillNo(string billType)
         {
-            var model = YqnQbService.GetInterBillNo();
+            var model = YqnQbService.GetInterBillNo(billType);
             return model;
         }
         /// <summary>
@@ -62,7 +60,7 @@
         /// </summary>
         /// <param name="sWhere"></param>
         /// <returns></returns>
-        [Route("api/newBill/getSourceList")]
+        [Route("api/newBill/getWorkCenterList")]
         [HttpGet]
         public ApiResult<DataSet> GetWorkCenterList(string sWhere)
         {
@@ -79,5 +77,38 @@
         {
             return YqnQbService.SetStationInBill(oMain);
         }
+        /// <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>
+        /// <returns></returns>
+        [Route("api/newBill/setStationOutBill")]
+        [HttpPost]
+        public ApiResult SetStationOutBill(StationOutBillView oMain)
+        {
+            return YqnQbService.SetStationOutBill(oMain);
+        }
     }
 }

--
Gitblit v1.9.1