duhongyu 4 年之前
父節點
當前提交
0fb60bd2b0

+ 1 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/CallOutOptController.cs

@@ -78,7 +78,7 @@ namespace CallCenterApi.Interface.Controllers
78 78
                 if (phone.Trim().Length == 11 && phone[0] == '1')
79 79
                 {//号码为11位,首位是1,为手机号
80 80
                     BLL.T_Sys_MobileData mobile_Bll = new BLL.T_Sys_MobileData();
81
-                    Model.T_Sys_MobileData mobileModel = mobile_Bll.GetModelList(" F_MobileNum = '" + phone.Substring(0, 7) + "'").FirstOrDefault();
81
+                    Model.T_Sys_MobileData mobileModel = mobile_Bll.GetModelList(" F_MobileNum = '" + phone.Substring(0, 7) + "'  and F_IsDelete =0").FirstOrDefault();
82 82
                     if (mobileModel != null)
83 83
                     {
84 84
                         if (mobileModel.F_ZipCode.Equals(zipcode))

+ 1 - 1
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -5466,7 +5466,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
5466 5466
                 sqlwhere += " and F_LimitTime<getdate() and F_WorkState NOT IN (6,7,9) ";
5467 5467
 
5468 5468
             }
5469
-
5469
+            sql += "and F_MainDeptId is not null and F_MainDeptId !='' ";
5470 5470
             //if (User.F_RoleCode == "ZXLD")
5471 5471
             //{
5472 5472
             //    sqlwhere += " and  F_CreateUser = '" + User.F_UserCode + "' ";

+ 1 - 1
CallCenterApi/CallCenterApi.Model/UserAccount.cs

@@ -308,7 +308,7 @@ namespace CallCenterApi.Model
308 308
         /// </summary>
309 309
         public string F_Post { set; get; }
310 310
 
311
-        public int? F_IsSms { set;get  }
311
+        public int? F_IsSms { set; get; }
312 312
         #endregion Model
313 313
     }
314 314
 }