|
|
@@ -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
|
|