web
ouyangqing
2021-01-26 04f7ee68b9d79c499ab70d9d4bd721c6f4f224fe
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>
@@ -77,7 +77,28 @@
        {
            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>
@@ -87,8 +108,30 @@
        [HttpPost]
        public ApiResult SetStationOutBill(StationOutBillView oMain)
        {
            return YqnQbService.SetStationOutBill(oMain);
        }
        /// <summary>
        /// 获取流转卡列表
        /// </summary>
        /// <param name="sWhere"></param>
        /// <returns></returns>
        [Route("api/newBill/getStationMainList")]
        [HttpGet]
        public static ApiResult<DataSet> GetPorcessMainList(string sWhere)
        {
            return YqnQbService.GetPorcessMainList(sWhere);
        }
        /// <summary>
        /// 获取流转卡子表列表
        /// </summary>
        /// <param name="sWhere"></param>
        /// <returns></returns>
        [Route("api/newBill/getPorcessSubList")]
        [HttpGet]
        public static ApiResult<DataSet> GetPorcessSubList(int hInterId)
        {
            return YqnQbService.GetPorcessSubList(hInterId);
        }
    }
}