Bladeren bron

读取读取未删除的号码

zhengbingbing 7 jaren geleden
bovenliggende
commit
f58f061f58

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

403
             ActionResult res = Error("未知错误,请重新登录");
403
             ActionResult res = Error("未知错误,请重新登录");
404
             if (Request.IsAuthenticated)
404
             if (Request.IsAuthenticated)
405
             {
405
             {
406
-                string sql = "";
406
+                string sql = " and F_DeleteFlag=0 ";
407
                 DataTable dt = new DataTable();
407
                 DataTable dt = new DataTable();
408
                 string userid = CurrentUser.UserData.F_UserId.ToString();
408
                 string userid = CurrentUser.UserData.F_UserId.ToString();
409
                 if (userid.Trim() != "")
409
                 if (userid.Trim() != "")
806
             {
806
             {
807
                 sb.Append(" and F_HJJGId=" + hjjgid);
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
             //if (yhfkid != 0)
813
             //if (yhfkid != 0)
814
             //{
814
             //{
815
             //    sb.Append(" and F_YHFKId=" + yhfkid);
815
             //    sb.Append(" and F_YHFKId=" + yhfkid);
856
             {
856
             {
857
                 sb.Append(" and F_HJJGId=" + hjjgid);
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
             //if (yhfkid != 0)
863
             //if (yhfkid != 0)
864
             //{
864
             //{
865
             //    sb.Append(" and F_YHFKId=" + yhfkid);
865
             //    sb.Append(" and F_YHFKId=" + yhfkid);