|
|
@@ -424,7 +424,7 @@ namespace CallCenterApi.Interface.Controllers.report
|
|
424
|
424
|
{
|
|
425
|
425
|
month = DateTime.Now.ToString("MM");
|
|
426
|
426
|
}
|
|
427
|
|
- string sql = "SELECT * FROM dbo.View_DealList where SUBSTRING(F_RegDate,1,7)='" + (year + "-" + month) + "'";
|
|
|
427
|
+ string sql = "SELECT ROW_NUMBER() OVER (ORDER BY F_RegDate DESC) row,* FROM dbo.View_DealList where SUBSTRING(F_RegDate,1,7)='" + (year + "-" + month) + "'";
|
|
428
|
428
|
|
|
429
|
429
|
if (type != 0)
|
|
430
|
430
|
{
|
|
|
@@ -447,7 +447,7 @@ namespace CallCenterApi.Interface.Controllers.report
|
|
447
|
447
|
dt.Columns.Remove("F_InfoConSmallType");
|
|
448
|
448
|
|
|
449
|
449
|
//string[] cols = { "受理编号", "投诉人及电话", "投诉时间", "办理部门", "办结时间", "内容摘要", "办理结果", "备注" };
|
|
450
|
|
- string[] cols = { "受理编号", "办理部门", "办结时间", "内容摘要", "办理结果", "备注" };
|
|
|
450
|
+ string[] cols = { "序号", "受理编号", "办理部门", "办结时间", "内容摘要", "办理结果", "备注" };
|
|
451
|
451
|
|
|
452
|
452
|
if (isdc > 0)
|
|
453
|
453
|
{
|