|
|
@@ -1214,6 +1214,11 @@ namespace CallCenterApi.Interface.Controllers.Question
|
|
1214
|
1214
|
string enddate = HttpUtility.UrlDecode(RequestString.GetQueryString("enddate"))+ " 23:59:59";
|
|
1215
|
1215
|
//startdate = "2017-11-12 00:00:00";
|
|
1216
|
1216
|
//enddate = "2017-11-14 23:59:59";
|
|
|
1217
|
+ if (HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) == null || HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) == "")
|
|
|
1218
|
+ {
|
|
|
1219
|
+ startdate = DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00";
|
|
|
1220
|
+ enddate = DateTime.Now.ToString("yyyy-MM-dd") + " 23:59:59";
|
|
|
1221
|
+ }
|
|
1217
|
1222
|
DataTable dtnew = new DataTable();
|
|
1218
|
1223
|
dtnew.Columns.Add("xiangzhen",Type.GetType("System.String"));
|
|
1219
|
1224
|
dtnew.Columns.Add("zongshu", Type.GetType("System.Int32"));
|
|
|
@@ -1274,6 +1279,11 @@ namespace CallCenterApi.Interface.Controllers.Question
|
|
1274
|
1279
|
ActionResult res = NoToken("未知错误,请重新登录");
|
|
1275
|
1280
|
string startdate = HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) + " 00:00:00";
|
|
1276
|
1281
|
string enddate = HttpUtility.UrlDecode(RequestString.GetQueryString("enddate")) + " 23:59:59";
|
|
|
1282
|
+ if (HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) == null || HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) == "")
|
|
|
1283
|
+ {
|
|
|
1284
|
+ startdate = DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00";
|
|
|
1285
|
+ enddate = DateTime.Now.ToString("yyyy-MM-dd") + " 23:59:59";
|
|
|
1286
|
+ }
|
|
1277
|
1287
|
//startdate = "2017-11-12 00:00:00";
|
|
1278
|
1288
|
//enddate = "2017-11-14 23:59:59";
|
|
1279
|
1289
|
DataTable dtnew = new DataTable();
|
|
|
@@ -1345,6 +1355,11 @@ namespace CallCenterApi.Interface.Controllers.Question
|
|
1345
|
1355
|
ActionResult res = NoToken("未知错误,请重新登录");
|
|
1346
|
1356
|
string startdate = HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) + " 00:00:00";
|
|
1347
|
1357
|
string enddate = HttpUtility.UrlDecode(RequestString.GetQueryString("enddate")) + " 23:59:59";
|
|
|
1358
|
+ if (HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) == null || HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) == "")
|
|
|
1359
|
+ {
|
|
|
1360
|
+ startdate = DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00";
|
|
|
1361
|
+ enddate = DateTime.Now.ToString("yyyy-MM-dd") + " 23:59:59";
|
|
|
1362
|
+ }
|
|
1348
|
1363
|
//startdate = "2017-11-12 00:00:00";
|
|
1349
|
1364
|
//enddate = "2017-11-14 23:59:59";
|
|
1350
|
1365
|
DataTable dtnew = new DataTable();
|
|
|
@@ -1418,6 +1433,11 @@ namespace CallCenterApi.Interface.Controllers.Question
|
|
1418
|
1433
|
ActionResult res = NoToken("未知错误,请重新登录");
|
|
1419
|
1434
|
string startdate = HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) + " 00:00:00";
|
|
1420
|
1435
|
string enddate = HttpUtility.UrlDecode(RequestString.GetQueryString("enddate")) + " 23:59:59";
|
|
|
1436
|
+ if (HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) == null || HttpUtility.UrlDecode(RequestString.GetQueryString("startdate")) == "")
|
|
|
1437
|
+ {
|
|
|
1438
|
+ startdate = DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00";
|
|
|
1439
|
+ enddate = DateTime.Now.ToString("yyyy-MM-dd") + " 23:59:59";
|
|
|
1440
|
+ }
|
|
1421
|
1441
|
//startdate = "2017-11-12 00:00:00";
|
|
1422
|
1442
|
//enddate = "2017-11-14 23:59:59";
|
|
1423
|
1443
|
DataTable dtnew = new DataTable();
|