using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core; using WIDESEA_DTO; namespace WIDESEA_StoragIntegrationServices { public partial class MCSService { /// /// 获取库位信息 /// /// /// public WebResponseContent RequsetCellInfo(object json) { WebResponseContent content = new WebResponseContent(); try { if (string.IsNullOrEmpty(json.ToString())) throw new Exception("上传参数为空"); var result = JsonConvert.DeserializeObject(json.ToString()); //_stockInfoRepository.QueryFirst(x=>x.LocationCode == result.LocationID && x) //todo return content.OK(); } catch (Exception ex) { return content.Error(ex.Message); } } } }