Pārlūkot izejas kodu

导入号码 查重去掉

liyuanyuan 1 gadu atpakaļ
vecāks
revīzija
acd5b9e441

+ 12 - 12
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/AutomaticCallController.cs

@@ -180,19 +180,19 @@ namespace CallCenterApi.Interface.Controllers
180 180
                                             modelPhoneImport.fix = "";
181 181
                                             #endregion
182 182
 
183
-                                            #region 查重 一个月内未接通的可以再导入  
184
-                                            string strwhere = " taskId='" + taskid + "' and phone='" + modelPhoneImport.phone + "' and isconnect=1 and   DATEDIFF(day, calltime, GETDATE()) <= 30;";
185
-                                            DataSet ds = phonebll.GetList(strwhere);
186
-                                            if (ds != null && ds.Tables.Count > 0)
187
-                                            {
188
-                                                if (ds.Tables[0].Rows.Count > 0)
189
-                                                {
190
-                                                    rcount = rcount - 1;
191
-                                                    continue;
183
+                                            //#region 查重 一个月内未接通的可以再导入  
184
+                                            //string strwhere = " taskId='" + taskid + "' and phone='" + modelPhoneImport.phone + "' and isconnect=1 and   DATEDIFF(day, calltime, GETDATE()) <= 30;";
185
+                                            //DataSet ds = phonebll.GetList(strwhere);
186
+                                            //if (ds != null && ds.Tables.Count > 0)
187
+                                            //{
188
+                                            //    if (ds.Tables[0].Rows.Count > 0)
189
+                                            //    {
190
+                                            //        rcount = rcount - 1;
191
+                                            //        continue;
192 192
                                                   
193
-                                                }
194
-                                            }
195
-                                            #endregion
193
+                                            //    }
194
+                                            //}
195
+                                            //#endregion
196 196
 
197 197
                                             int rmw = phonebll.Add(modelPhoneImport);
198 198
                                             if (rmw > 0)