From bdd84cc48ba7b2527584c44d174da8e7d20c5375 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期三, 18 九月 2024 16:37:13 +0800
Subject: [PATCH] 增加对申请入库时对平库库位的校验

---
 Wms/Wms/Controllers/BasisController.cs |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/Wms/Wms/Controllers/BasisController.cs b/Wms/Wms/Controllers/BasisController.cs
index de100a9..87c97b8 100644
--- a/Wms/Wms/Controllers/BasisController.cs
+++ b/Wms/Wms/Controllers/BasisController.cs
@@ -201,7 +201,7 @@
         {
             pwdOld = Md5Tools.CalcMd5(pwdOld);
             pwdNew = Md5Tools.CalcMd5(pwdNew);
-            pwdNewTwo = Md5Tools.CalcMd5(pwdNewTwo);
+            //pwdNewTwo = Md5Tools.CalcMd5(pwdNewTwo);
             //鑾峰彇褰撳墠鎿嶄綔鐢ㄦ埛id
             SysUserInfor user = await _userInforServer.GetUserInfoById(_userManager.UserId);
             if (user == null)
@@ -209,7 +209,7 @@
             if (user.PassWord != pwdOld)
                 throw Oops.Bah("鍘熷瘑鐮佷笉姝g‘");
             //淇敼瀵嗙爜
-            int i = await _userInforServer.UptUserPassWord(pwdNew, _userManager.UserId);
+            int i = await _userInforServer.UptUserPassWord(pwdNew, pwdNewTwo, _userManager.UserId);
             if (i <= 0)
                 throw Oops.Bah("淇敼瀵嗙爜澶辫触");
         }
@@ -325,7 +325,6 @@
         /// </summary>
         /// <returns></returns>
         [HttpGet]
-        [ServiceFilter(typeof(ApiResponseActionFilter))]
         public async Task<List<FunctionMenuDto>> GetRBACLists(int id)
         {
             return await _rBACServer.GetMenuByroleIdNew(id);
@@ -1044,7 +1043,7 @@
         public async Task DelLogisticsInfo(IdVm model)
         {
             await _logisticsSvc.DelLogisticsInfo(model.Id, _userManager.UserId);
-            SysLogisticsInfo logisit = await _logisticsSvc.GetLogisticsInfo(model.Id);
+            SysLogisticsInfo logisit = await _logisticsSvc.GetLogisticsDelInfo(model.Id);
             await _operation.InsertOperation("鍩虹淇℃伅", "鐗╂祦绠$悊", logisit.CarrierName, "鍒犻櫎", "鍒犻櫎鐗╂祦淇℃伅 鍏徃鍚嶇О锛�" + logisit.CarrierName, _userManager.UserId);
         }
         /// <summary>
@@ -1221,7 +1220,6 @@
         /// </summary>
         /// <returns></returns>
         [HttpPost]
-        [ServiceFilter(typeof(ApiResponseActionFilter))]
         public async Task<SqlSugarPagedList> GetSysOperationList(GetOperationVm model)
         {
             return await _operation.GetSysOperationList(model);
@@ -1233,7 +1231,6 @@
         /// <param name="dicName">瀛楀吀鍚嶇О</param>
         /// <returns></returns>
         [HttpGet]
-        [ServiceFilter(typeof(ApiResponseActionFilter))]
         public async Task<List<SysDictionary>> GetDicTypeList(string dicName)
         {
             return await _operation.GetDicTypeList(dicName);

--
Gitblit v1.8.0