ouyangqing
2021-01-21 718585e8cd435a20d2555f35b320f7840260a35d
WebAPI/Controllers/NewApiController.cs
@@ -17,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>
@@ -67,6 +67,17 @@
            return YqnQbService.GetWorkCenterList(sWhere);
        }
        /// <summary>
        /// 进站接收单
        /// </summary>
        /// <param name="oMain"></param>
        /// <returns></returns>
        [Route("api/newBill/setStationInBill")]
        [HttpPost]
        public ApiResult SetStationInBill(ClsSc_StationInBillMain oMain)
        {
            return YqnQbService.SetStationInBill(oMain);
        }
        /// <summary>
        /// 获取进站单列表
        /// </summary>
        /// <param name="sWhere"></param>
@@ -89,18 +100,6 @@
            return YqnQbService.GetStationOutBillList(sWhere);
        }
        /// <summary>
        /// 进站接收单
        /// </summary>
        /// <param name="oMain"></param>
        /// <returns></returns>
        [Route("api/newBill/setStationInBill")]
        [HttpPost]
        public ApiResult SetStationInBill(ClsSc_StationInBillMain oMain)
        {
            return YqnQbService.SetStationInBill(oMain);
        }
        /// <summary>
        /// 出站站接收单
        /// </summary>
        /// <param name="oMain"></param>
@@ -109,7 +108,6 @@
        [HttpPost]
        public ApiResult SetStationOutBill(StationOutBillView oMain)
        {
            return YqnQbService.SetStationOutBill(oMain);
        }
    }