Przeglądaj źródła

增加外线号码

zhengbingbing 7 lat temu
rodzic
commit
83e8017f70

+ 10 - 8
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/UserAccountController.cs

90
                         F_RoleName = x.F_RoleName,
90
                         F_RoleName = x.F_RoleName,
91
                         F_DeptName = x.F_DeptName,
91
                         F_DeptName = x.F_DeptName,
92
                         F_WorkNumber = x.F_WorkNumber,
92
                         F_WorkNumber = x.F_WorkNumber,
93
-                        //F_WXNo=x.F_WXNo,
93
+                        F_WXNo=x.F_WXNo,
94
                         F_SeatGroup = x.F_SeartGroup
94
                         F_SeatGroup = x.F_SeartGroup
95
                     }),
95
                     }),
96
                     total = recordCount
96
                     total = recordCount
157
                     F_PId = userModel.F_PId,
157
                     F_PId = userModel.F_PId,
158
                     F_TmId = userModel.F_TmId,
158
                     F_TmId = userModel.F_TmId,
159
                     F_WorkNumber = userModel.F_WorkNumber,
159
                     F_WorkNumber = userModel.F_WorkNumber,
160
-                    //F_WXNo = userModel.F_WXNo,
160
+                    F_WXNo = userModel.F_WXNo,
161
                     F_SeatGroup = userModel.F_SeartGroup,
161
                     F_SeatGroup = userModel.F_SeartGroup,
162
                     zxzname = zxzModel?.F_Name ?? "",
162
                     zxzname = zxzModel?.F_Name ?? "",
163
                     depname = depModel?.F_DeptName ?? ""
163
                     depname = depModel?.F_DeptName ?? ""
215
                     userAccountModel.F_Telephone = input.Telphone;
215
                     userAccountModel.F_Telephone = input.Telphone;
216
                 if (input.Birth != null)
216
                 if (input.Birth != null)
217
                     userAccountModel.F_Birthday = input.Birth;
217
                     userAccountModel.F_Birthday = input.Birth;
218
+                
218
                 userAccountModel.F_CreateOn = DateTime.Now;
219
                 userAccountModel.F_CreateOn = DateTime.Now;
219
                 userAccountModel.F_DeleteFlag = 0;
220
                 userAccountModel.F_DeleteFlag = 0;
220
                 if (input.HjType != null)
221
                 if (input.HjType != null)
221
                     userAccountModel.F_HJType = input.HjType;
222
                     userAccountModel.F_HJType = input.HjType;
222
-                //if (input.IsSeat)
223
-                //{
224
-                //    userAccountModel.F_WXNo = input.WXNo.Trim();
225
-                //}
223
+                if (input.IsSeat)
224
+                {
225
+                    if (input.WXNo != null)
226
+                        userAccountModel.F_WXNo = input.WXNo.Trim();
227
+                }
226
                 //if (input.SeartGroupID != 0)
228
                 //if (input.SeartGroupID != 0)
227
                 if (input.GroupId != 0)
229
                 if (input.GroupId != 0)
228
                 {
230
                 {
294
                     userAccountModel.F_Password = input.Password.Trim();
296
                     userAccountModel.F_Password = input.Password.Trim();
295
                 if (input.Extno != null)
297
                 if (input.Extno != null)
296
                     userAccountModel.F_ExtensionNumber = input.Extno.Trim();
298
                     userAccountModel.F_ExtensionNumber = input.Extno.Trim();
297
-                //if (input.WXNo != null)
298
-                //    userAccountModel.F_WXNo = input.WXNo.Trim();
299
+                if (input.WXNo != null)
300
+                    userAccountModel.F_WXNo = input.WXNo.Trim();
299
                 if (input.DeptId != 0)
301
                 if (input.DeptId != 0)
300
                     userAccountModel.F_DeptId = input.DeptId;
302
                     userAccountModel.F_DeptId = input.DeptId;
301
                 if (input.RoleId != 0)
303
                 if (input.RoleId != 0)