| | |
| | | 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; |
| | |
| | | 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> |
| | |
| | | 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> |
| | | /// <returns></returns> |
| | | [Route("api/newBill/setStationOutBill")] |
| | | [HttpPost] |
| | | public ApiResult SetStationOutBill(Model.ClsSc_StationOutBillMain oMain) |
| | | public ApiResult SetStationOutBill(StationOutBillView oMain) |
| | | { |
| | | return YqnQbService.SetStationOutBill(oMain); |
| | | } |