zhengbingbing %!s(int64=7) %!d(string=před) roky
rodič
revize
96f4f24c70

+ 4 - 4
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/report/CallOutReportController.cs

206
                     DataRow dr = dtnew.NewRow();
206
                     DataRow dr = dtnew.NewRow();
207
                     dr["xiangzhen"] = itemconf.F_Name;
207
                     dr["xiangzhen"] = itemconf.F_Name;
208
                     //根据乡镇获取总数
208
                     //根据乡镇获取总数
209
-                    //int totalnum= otnBLL.GetRecordCount(" DATEDIFF(day,ExpandDatField1,'" + sdate + "')<=0 and DATEDIFF(day,ExpandDatField1,'" + edate + "')>=0 and ExpandIntField1='" + itemconf.F_DictionaryValueId+"' ");
210
-                    int totalnum = ansBLL.GetRecordCount(" DATEDIFF(day,F_OptOn,'" + sdate + "')<=0 and DATEDIFF(day,F_OptOn,'" + edate + "')>=0 and F_Answer='" + itemconf.F_Name + "' ");
209
+                    int totalnum= otnBLL.GetRecordCount(" DATEDIFF(day,ExpandDatField1,'" + sdate + "')<=0 and DATEDIFF(day,ExpandDatField1,'" + edate + "')>=0 and ExpandIntField1='" + itemconf.F_DictionaryValueId+"' ");
210
+                    //int totalnum = ansBLL.GetRecordCount(" DATEDIFF(day,F_OptOn,'" + sdate + "')<=0 and DATEDIFF(day,F_OptOn,'" + edate + "')>=0 and F_Answer='" + itemconf.F_Name + "' ");
211
 
211
 
212
                     leiji += totalnum;
212
                     leiji += totalnum;
213
                     dr["zongshu"] = totalnum;
213
                     dr["zongshu"] = totalnum;
252
                     DataRow dr = dtnew.NewRow();
252
                     DataRow dr = dtnew.NewRow();
253
                     dr["xiangzhen"] = itemconf.F_Name;
253
                     dr["xiangzhen"] = itemconf.F_Name;
254
                     //根据乡镇获取总数
254
                     //根据乡镇获取总数
255
-                    //int totalnum = otnBLL.GetRecordCount(" DATEDIFF(day,ExpandDatField1,'" + sdate + "')<=0 and DATEDIFF(day,ExpandDatField1,'" + edate + "')>=0 and ExpandIntField1='" + itemconf.F_DictionaryValueId + "' ");
256
-                    int totalnum = ansBLL.GetRecordCount(" DATEDIFF(day,F_OptOn,'" + sdate + "')<=0 and DATEDIFF(day,F_OptOn,'" + edate + "')>=0 and F_Answer='" + itemconf.F_Name + "' ");
255
+                    int totalnum = otnBLL.GetRecordCount(" DATEDIFF(day,ExpandDatField1,'" + sdate + "')<=0 and DATEDIFF(day,ExpandDatField1,'" + edate + "')>=0 and ExpandIntField1='" + itemconf.F_DictionaryValueId + "' ");
256
+                    //int totalnum = ansBLL.GetRecordCount(" DATEDIFF(day,F_OptOn,'" + sdate + "')<=0 and DATEDIFF(day,F_OptOn,'" + edate + "')>=0 and F_Answer='" + itemconf.F_Name + "' ");
257
 
257
 
258
                     leiji += totalnum;
258
                     leiji += totalnum;
259
                     dr["zongshu"] = totalnum;
259
                     dr["zongshu"] = totalnum;