zhoufan 7 yıl önce
ebeveyn
işleme
19889ff591

+ 2 - 2
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/report/BusinessController.cs

@@ -77,8 +77,8 @@ namespace CallCenterApi.Interface.Controllers.report
77 77
             {
78 78
                 stime = new DateTime(stime.Year, stime.Month, 1);
79 79
             }
80
-            string where = " F_IsDelete=0 and datediff(day,F_CreateTime,'" + stime + "')>=0 "
81
-                + " and datediff(day,F_CreateTime,'" + etime + "')<=0 and F_Type=F_DictionaryValueId ";
80
+            string where = " F_IsDelete=0 and datediff(day,F_CreateTime,'" + stime + "')<=0 "
81
+                + " and datediff(day,F_CreateTime,'" + etime + "')>=0 and F_Type=F_DictionaryValueId ";
82 82
             if (!string.IsNullOrEmpty(userModel.groupcode))
83 83
             {
84 84
                 where += " and F_GroupCode = '" + userModel.groupcode + "' ";