From f2b3c45b78bb9fc021869c4ae35e6de039b50bbf Mon Sep 17 00:00:00 2001 From: chengsc <Demo@DESKTOP-CPA90BF> Date: 星期五, 18 十月 2024 18:40:52 +0800 Subject: [PATCH] 修改问题 --- Wms/Wms/Controllers/PdaAsnController.cs | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/Wms/Wms/Controllers/PdaAsnController.cs b/Wms/Wms/Controllers/PdaAsnController.cs index bedbd3d..80c67b6 100644 --- a/Wms/Wms/Controllers/PdaAsnController.cs +++ b/Wms/Wms/Controllers/PdaAsnController.cs @@ -24,6 +24,30 @@ } #endregion + #region MyRegion + + /// <summary> + /// 鑾峰彇鍗曟嵁鏄庣粏鏄剧ず鐨勭墿鏂� + /// </summary> + /// <param name="model">Type:鍗曟嵁绫诲瀷</param> + /// <returns></returns> + [HttpPost] + public IActionResult GetArrivalNoticesInfo(ArrivalNoticeVm model) + { + try + { + var models = _PdaAsnSvc.GetArrivalNoticesInfo(model); + + return Ok(new { code = 0, msg = "鍏ュ簱鍗曚俊鎭�", data = models }); + } + catch (Exception e) + { + return Ok(new { code = 1, msg = e.Message }); + } + } + + #endregion + #region 鍏敤鏂规硶 /// <summary> /// 鑾峰彇鍗曟嵁鍒楄〃 @@ -46,6 +70,33 @@ } /// <summary> + /// 鏍规嵁鍏ュ簱鍗曡幏鍙栧叆搴撴�诲崟淇℃伅 + /// </summary> + /// <param name="model">ASNNo:鍏ュ簱鍗曞彿</param> + /// <returns></returns> + [HttpPost] + public IActionResult GetArrivalNotice(ArrivalNoticeVm model) + { + try + { + var models = _PdaAsnSvc.GetArrivalNotice(model); + + if (models == null) + { + return Ok(new { code = 1, msg = "鍏ュ簱鍗曚俊鎭�", data = models }); + } + else + { + return Ok(new { code = 0, msg = "鍏ュ簱鍗曚俊鎭�", data = models }); + } + } + catch (Exception e) + { + return Ok(new { code = 1, msg = e.Message }); + } + } + + /// <summary> /// 鍒ゆ柇鎵樼洏鏄惁鍙敤 /// </summary> /// <param name="model">PalletNo锛氭墭鐩樻潯鐮�</param> -- Gitblit v1.8.0