From e2a89167822924c1d0b555a694867e3d09c488f3 Mon Sep 17 00:00:00 2001 From: zgq <519541279@qq.com> Date: 星期四, 21 一月 2021 11:39:29 +0800 Subject: [PATCH] 添加从斯莫尔项目复制的列表 --- WebAPI/Controllers/NewApiController.cs | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/NewApiController.cs b/WebAPI/Controllers/NewApiController.cs index 3bc5b04..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; @@ -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,18 @@ { return YqnQbService.SetStationInBill(oMain); } + + /// <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