liyuanyuan лет назад: 3
Родитель
Сommit
f5b089fac0

+ 1 - 1
RMYY_CallCenter_Api.Dal/T_FaultRepair_Base.cs

@@ -71,7 +71,7 @@ namespace RMYY_CallCenter_Api.DAL
71 71
 			SqlParameter[] parameters = {
72 72
 					new SqlParameter("@F_WorkOrderCode", SqlDbType.NVarChar,50),
73 73
 					new SqlParameter("@F_Applicant", SqlDbType.NVarChar,50),
74
-					new SqlParameter("@F_ApplicationDept", SqlDbType.NChar,10),
74
+					new SqlParameter("@F_ApplicationDept", SqlDbType.NVarChar,50),
75 75
 					new SqlParameter("@F_Applicantsphone", SqlDbType.NVarChar,50),
76 76
 					new SqlParameter("@F_Phone", SqlDbType.NVarChar,50),
77 77
 					new SqlParameter("@F_WorkOrderCategory", SqlDbType.NVarChar,50),

Разница между файлами не показана из-за своего большого размера
+ 13 - 10
RMYY_CallCenter_Api/Controllers/FaultRepairController.cs


+ 3 - 1
RMYY_CallCenter_Api/Controllers/System/UserAccountController.cs

@@ -233,7 +233,7 @@ namespace RMYY_CallCenter_Api.Controllers.System
233 233
         /// <param name="usercode"></param>
234 234
         /// <param name="pwd"></param>
235 235
         /// <returns></returns>
236
-        public ActionResult ResetPwd(string oldpwd, string usercode = "", string pwd = "")
236
+        public ActionResult ResetPwd(string oldpwd, string username, string phone, string usercode = "", string pwd = "")
237 237
         {
238 238
             if (User!=null)
239 239
             {
@@ -249,6 +249,8 @@ namespace RMYY_CallCenter_Api.Controllers.System
249 249
 
250 250
                 }
251 251
                 model.F_Password = pwd;
252
+                model.F_UserName = username;
253
+                model.F_Telephone = phone;
252 254
                 if (userbll.Update(model))
253 255
                     return Success("重置密码成功");
254 256
                 else