zhupei %!s(int64=4) %!d(string=před) roky
rodič
revize
d76f5908d5

+ 7 - 2
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/weixin/WxLoginController.cs

@@ -70,13 +70,18 @@ namespace CallCenterApi.Interface.Controllers.weixin
70 70
             if (userAccount != null)
71 71
             {
72 72
                 userAccount.F_WxOpenId = "";
73
-                userAccountBLL.Update(userAccount);
73
+                //userAccountBLL.Update(userAccount);
74
+                string sql = $"update T_Sys_UserAccount set F_WxOpenId='' where F_UserId=" + userAccount.F_UserId;
75
+                DbHelperSQL.ExecuteSql(sql);
76
+
74 77
             }
75 78
             var modelcustomer = customerBaseBLL.GetModelList(" F_WxOpenId='" + login.OpenId + "'").FirstOrDefault(); //customerBaseBLL.GetModelByOpenid(login.OpenId);
76 79
             if (modelcustomer != null)
77 80
             {
78 81
                 modelcustomer.F_WxOpenId = "";
79
-                customerBaseBLL.Update(modelcustomer);
82
+                //customerBaseBLL.Update(modelcustomer);
83
+                string strsql = $"update T_Cus_CustomerBaseNew set F_WxOpenId='' where F_CustomerId=" + modelcustomer.F_CustomerId;
84
+                DbHelperSQL.ExecuteSql(strsql);
80 85
             }
81 86
             #endregion
82 87
 

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderNewController.cs

@@ -6265,7 +6265,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
6265 6265
         /// </summary>
6266 6266
         /// <param name="input"></param>
6267 6267
         /// <returns></returns>
6268
-        public ActionResult CreatOver(WorkOrderNewInput input ,int overtime,int sms)
6268
+        public ActionResult CreatOver(WorkOrderNewInput input ,int sms, int overtime = 0)
6269 6269
         {
6270 6270
             int userId = CurrentUser.UserData.F_UserId;
6271 6271
             if (userId != 0)