| | |
| | | using System.Data.SqlClient; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | using WebAPI.Utility; |
| | | |
| | | namespace WebAPI.Controllers |
| | | { |
| | | [Permission(HModName = "Gy_SourceWorkStationSet")] |
| | | public class Gy_SourceWorkStationSetController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | |
| | | /// </summary> |
| | | [Route("Gy_SourceWorkStationSet/list")] |
| | | [HttpGet] |
| | | [Permission(HModName = "Gy_SourceWorkStationSet", Operate = "_Query")] |
| | | public object list(string sWhere, string user) |
| | | { |
| | | try |
| | |
| | | #region 产线工位保存 |
| | | [Route("Gy_SourceWorkStationSet/Save")] |
| | | [HttpPost] |
| | | [Permission(HModName = "Gy_SourceWorkStationSet", Operate = "_Edit")] |
| | | public object set_SaveBill([FromBody] JObject oMain) |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | |
| | | /// <returns></returns> |
| | | [Route("DeltetGy_SourceWorkStation")] |
| | | [HttpGet] |
| | | [Permission(HModName = "Gy_SourceWorkStationSet", Operate = "_Del")] |
| | | public object DeltetGy_SourceWorkStation(string HItemID, string user) |
| | | { |
| | | DataSet ds; |