40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
|
|
using MyCode.Project.Domain.Message.Request.LxmZHMDReport;
|
|||
|
|
using MyCode.Project.Domain.Message.Request.Report24;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace MyCode.Project.Services.BLL.ReportExport
|
|||
|
|
{
|
|||
|
|
public class YangBanDianJianCeExport : BaseExport
|
|||
|
|
{
|
|||
|
|
#region 初始化
|
|||
|
|
private readonly IApiLogService _apiLogService;
|
|||
|
|
public YangBanDianJianCeExport(IApiLogService apiLogService)
|
|||
|
|
{
|
|||
|
|
_apiLogService = apiLogService;
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region Execute(执行)
|
|||
|
|
public override string Execute()
|
|||
|
|
{
|
|||
|
|
var pageSearch = base.GetPageSearch<YangBanDianJianCeReq>(Condition);
|
|||
|
|
|
|||
|
|
var opList = _apiLogService.GetYangBanDianJianCePageList(pageSearch);
|
|||
|
|
|
|||
|
|
var dataResult = new
|
|||
|
|
{
|
|||
|
|
op = opList.DataList
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
base.AddExcelProcess("样板店打造--数据监测", dataResult);
|
|||
|
|
|
|||
|
|
return base.Execute();
|
|||
|
|
}
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
}
|