Przeglądaj źródła

读取读取未删除的号码

zhengbingbing 7 lat temu
rodzic
commit
f58f061f58

+ 9 - 9
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/callout/CallOutPlanController.cs

@@ -403,7 +403,7 @@ namespace CallCenterApi.Interface.Controllers.callout
403 403
             ActionResult res = Error("未知错误,请重新登录");
404 404
             if (Request.IsAuthenticated)
405 405
             {
406
-                string sql = "";
406
+                string sql = " and F_DeleteFlag=0 ";
407 407
                 DataTable dt = new DataTable();
408 408
                 string userid = CurrentUser.UserData.F_UserId.ToString();
409 409
                 if (userid.Trim() != "")
@@ -806,10 +806,10 @@ namespace CallCenterApi.Interface.Controllers.callout
806 806
             {
807 807
                 sb.Append(" and F_HJJGId=" + hjjgid);
808 808
             }
809
-            //else
810
-            //{
811
-            //    sb.Append(" and isnull(F_HJJGId,'')!=''");
812
-            //}
809
+            else
810
+            {
811
+                sb.Append(" and isnull(F_HJJGId,'')!=''");
812
+            }
813 813
             //if (yhfkid != 0)
814 814
             //{
815 815
             //    sb.Append(" and F_YHFKId=" + yhfkid);
@@ -856,10 +856,10 @@ namespace CallCenterApi.Interface.Controllers.callout
856 856
             {
857 857
                 sb.Append(" and F_HJJGId=" + hjjgid);
858 858
             }
859
-            //else
860
-            //{
861
-            //    sb.Append(" and isnull(F_HJJGId,'')!=''");
862
-            //}
859
+            else
860
+            {
861
+                sb.Append(" and isnull(F_HJJGId,'')!=''");
862
+            }
863 863
             //if (yhfkid != 0)
864 864
             //{
865 865
             //    sb.Append(" and F_YHFKId=" + yhfkid);