@ -28,6 +28,7 @@ using Win.Sfs.SettleAccount.Entities.TaskJobs;
using Win.Sfs.SettleAccount.Entities.Wms ;
using Win.Sfs.SettleAccount.Entities.WMS ;
using Win.Sfs.SettleAccount.FISes ;
using Win.Sfs.SettleAccount.Reports.ReportRequestDto ;
namespace Win.Sfs.SettleAccount.Reports.ReportServices
{
@ -87,35 +88,26 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
/// <param name="sapCode">厂内物料号</param>
/// <param name="estimateTypeDesc">物料组</param>
/// <returns></returns>
[HttpGe t]
[HttpPos t]
[Route("SettleDoorPanel")]
[DisableRequestSizeLimit]
public async Task < string > SettleDoorPanel (
string version ,
string materialCode ,
string begin ,
string end ,
string cp7begin ,
string cp7end ,
string kenncode ,
string chassisNumber ,
string materialGroup ,
string sapCode
BaseRequestDto input
)
{
List < CustomCondition > customConditionList = new List < CustomCondition > ( ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = string . IsNullOrEmpty ( v ersion) ? string . Empty : v ersion } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = string . IsNullOrEmpty ( m aterialCode) ? string . Empty : m aterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BeginTime" , Value = string . IsNullOrEmpty ( b egin) ? string . Empty : b egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = string . IsNullOrEmpty ( e nd) ? string . Empty : e nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7BeginTime" , Value = string . IsNullOrEmpty ( cp7b egin) ? string . Empty : cp7b egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7EndTime" , Value = string . IsNullOrEmpty ( cp7e nd) ? string . Empty : cp7e nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( k enncode) ? string . Empty : k enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( c hassisNumber) ? string . Empty : c hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( s apCode) ? string . Empty : s apCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化结算门板价格差异比对报表" , ExportExtentsion . Excel , v ersion, string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup, CurrentUser , typeof ( SettleDoorPanelExportService ) , customConditionList , ( rs ) = >
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = string . IsNullOrEmpty ( input . Version ) ? string . Empty : input . Version } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = string . IsNullOrEmpty ( input . MaterialCode ) ? string . Empty : input . MaterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BeginTime" , Value = string . IsNullOrEmpty ( input . Begin ) ? string . Empty : input . Begin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = string . IsNullOrEmpty ( input . End ) ? string . Empty : input . End } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7BeginTime" , Value = string . IsNullOrEmpty ( input . Cp7Begin ) ? string . Empty : input . Cp7Begin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7EndTime" , Value = string . IsNullOrEmpty ( input . Cp7End ) ? string . Empty : input . Cp7End } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( input . K enncode) ? string . Empty : input . K enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( input . C hassisNumber) ? string . Empty : input . C hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = string . IsNullOrEmpty ( input . M aterialGroup) ? string . Empty : input . M aterialGroup } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( input . S apCode) ? string . Empty : input . S apCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化结算门板价格差异比对报表" , ExportExtentsion . Excel , input . V ersion , string . IsNullOrEmpty ( input . M aterialGroup) ? string . Empty : input . M aterialGroup, CurrentUser , typeof ( SettleDoorPanelExportService ) , customConditionList , ( rs ) = >
{
} ) ;
return _ taskid ;
@ -133,26 +125,25 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
/// <param name="begin"></param>
/// <param name="end"></param>
/// <returns></returns>
[HttpGe t]
[HttpPos t]
[Route("SettleKanBan-WithCode")]
[DisableRequestSizeLimit]
public async Task < string > SettledKanBanWithCode ( string kanBan , string sapMaterialCode , string version , string customerCode , string customerPartCode , string estimateTypeDesc ,
string state , DateTime begin , DateTime end )
public async Task < string > SettledKanBanWithCode ( BaseKanbanReqestDto input )
{
List < CustomCondition > customConditionList = new List < CustomCondition > ( ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = v ersion ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "CustomerCode" , Value = c ustomerCode ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "CustomerPartCode" , Value = c ustomerPartCode ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "State" , Value = s tate ? ? "0" } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EstimateTypeDesc" , Value = e stimateTypeDesc ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = input . V ersion ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "CustomerCode" , Value = input . C ustomerCode ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "CustomerPartCode" , Value = input . C ustomerPartCode ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "State" , Value = input . S tate ? ? "0" } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EstimateTypeDesc" , Value = input . E stimateTypeDesc ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ProjectName" , Value = "有条码看板结算核对" } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Kanban" , Value = k anBan ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapMaterialCode" , Value = s apMaterialCode ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BegingTime" , Value = b egin. ToString ( ) } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = e nd. ToString ( ) } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Kanban" , Value = input . K anBan ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapMaterialCode" , Value = input . S apMaterialCode ? ? string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BegingTime" , Value = input . B egin. ToString ( ) } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = input . E nd. ToString ( ) } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "大众看板结算与交货核对明细表" , ExportExtentsion . Excel , v ersion , string . Empty , CurrentUser , typeof ( SettleKBWithCodeExportService ) , customConditionList , ( rs ) = >
var _ taskid = await _ service . ExportEnqueueAsync ( "大众看板结算与交货核对明细表" , ExportExtentsion . Excel , input . V ersion , string . Empty , CurrentUser , typeof ( SettleKBWithCodeExportService ) , customConditionList , ( rs ) = >
{
} ) ;
return _ taskid ;
@ -326,7 +317,9 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
[Route("InvoiceSettledDiff-Make")]
[DisableRequestSizeLimit]
public async Task < string > InvoiceSettledDiffMake ( string year , string period , string version , string sapCode , string customerCode , string factory , string matialCode , string state )
public async Task < string > InvoiceSettledDiffMake (
string year , string period , string version , string sapCode , string customerCode , string factory , string matialCode , string state
)
{
//if (!_settleAccountVersionrepository.Any(p => p.Version == version))
//{
@ -354,42 +347,28 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
/// </summary>
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
/// <returns></returns>
[HttpGe t]
[HttpPos t]
[Route("InvoiceSettledDetailDiff-Make")]
[DisableRequestSizeLimit]
public async Task < string > InvoiceSettledDetailDiffMake (
string version ,
string materialCode ,
string begin ,
string end ,
string cp7begin ,
string cp7end ,
string kenncode ,
string chassisNumber ,
string materialGroup ,
string sapCode
BaseRequestDto request
)
{
//string str1 = string.Empty;
//if(materialGroup!=null)
//{
// str1 = string.Join(',', materialGroup.ToArray());
//}
List < CustomCondition > customConditionList = new List < CustomCondition > ( ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = string . IsNullOrEmpty ( v ersion) ? string . Empty : v ersion } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = string . IsNullOrEmpty ( m aterialCode) ? string . Empty : m aterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BeginTime" , Value = string . IsNullOrEmpty ( b egin) ? string . Empty : b egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = string . IsNullOrEmpty ( end ) ? string . Empty : end } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7BeginTime" , Value = string . IsNullOrEmpty ( cp7b egin) ? string . Empty : cp7b egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7EndTime" , Value = string . IsNullOrEmpty ( cp7e nd) ? string . Empty : cp7e nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( k enncode) ? string . Empty : k enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( c hassisNumber) ? string . Empty : c hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( sapCode ) ? string . Empty : sapCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化结算核对明细" , ExportExtentsion . Excel , v ersion, string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup, CurrentUser , typeof ( InvoiceSettledDetailDiffExportService ) , customConditionList , ( rs ) = >
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = string . IsNullOrEmpty ( request . Version ) ? string . Empty : request . Version } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = string . IsNullOrEmpty ( request . MaterialCode ) ? string . Empty : request . MaterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BeginTime" , Value = string . IsNullOrEmpty ( request . Begin ) ? string . Empty : request . Begin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = string . IsNullOrEmpty ( request . End ) ? string . Empty : request . End } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7BeginTime" , Value = string . IsNullOrEmpty ( request . Cp7B egin) ? string . Empty : request . Cp7B egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7EndTime" , Value = string . IsNullOrEmpty ( request . Cp7E nd) ? string . Empty : request . Cp7E nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( request . K enncode) ? string . Empty : request . K enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( request . C hassisNumber) ? string . Empty : request . C hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = string . IsNullOrEmpty ( request . M aterialGroup) ? string . Empty : request . M aterialGroup } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( reque st . S apCode) ? string . Empty : reque st . S apCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化结算核对明细" , ExportExtentsion . Excel , request . V ersion, string . IsNullOrEmpty ( request . M aterialGroup) ? string . Empty : request . M aterialGroup, CurrentUser , typeof ( InvoiceSettledDetailDiffExportService ) , customConditionList , ( rs ) = >
{
} ) ;
return _ taskid ;
@ -400,36 +379,30 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
/// </summary>
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
/// <returns></returns>
[HttpGe t]
[HttpPos t]
[Route("UnInvoiceSettledDetailDiff-Make")]
[DisableRequestSizeLimit]
public async Task < string > UnInvoiceSettledDetailDiffMake (
string version ,
string materialCode ,
string begin ,
string end ,
string cp7begin ,
string cp7end ,
string kenncode ,
string chassisNumber ,
string materialGroup ,
string sapCode
BaseRequestDto request
)
{
List < CustomCondition > customConditionList = new List < CustomCondition > ( ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = string . IsNullOrEmpty ( v ersion) ? string . Empty : v ersion } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = string . IsNullOrEmpty ( m aterialCode) ? string . Empty : m aterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BeginTime" , Value = string . IsNullOrEmpty ( b egin) ? string . Empty : materialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = string . IsNullOrEmpty ( end ) ? string . Empty : materialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7BeginTime" , Value = string . IsNullOrEmpty ( cp7b egin) ? string . Empty : cp7b egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7EndTime" , Value = string . IsNullOrEmpty ( cp7e nd) ? string . Empty : cp7e nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( k enncode) ? string . Empty : k enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( c hassisNumber) ? string . Empty : c hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Mater" , Value = string . IsNullOrEmpty ( chassisNumber ) ? string . Empty : chassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( sapCode ) ? string . Empty : sapCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化结算数量差异比对输出" , ExportExtentsion . Excel , v ersion, string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup, CurrentUser , typeof ( UnInvoiceSettledDetailDiffExportService ) , customConditionList , ( rs ) = >
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = string . IsNullOrEmpty ( request . Version ) ? string . Empty : request . Version } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = string . IsNullOrEmpty ( request . MaterialCode ) ? string . Empty : request . MaterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BeginTime" , Value = string . IsNullOrEmpty ( request . Begin ) ? string . Empty : request . Begin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = string . IsNullOrEmpty ( r equest . E nd) ? string . Empty : request . End } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7BeginTime" , Value = string . IsNullOrEmpty ( request . Cp7B egin) ? string . Empty : request . Cp7B egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Cp7EndTime" , Value = string . IsNullOrEmpty ( request . Cp7E nd) ? string . Empty : request . Cp7E nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( request . K enncode) ? string . Empty : request . K enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( request . C hassisNumber) ? string . Empty : request . C hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = string . IsNullOrEmpty ( request . M aterialGroup) ? string . Empty : request . M aterialGroup } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( reque st . S apCode) ? string . Empty : reque st . S apCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化结算数量差异比对输出" , ExportExtentsion . Excel , request . V ersion, string . IsNullOrEmpty ( request . M aterialGroup) ? string . Empty : request . M aterialGroup, CurrentUser , typeof ( UnInvoiceSettledDetailDiffExportService ) , customConditionList , ( rs ) = >
{
} ) ;
return _ taskid ;
@ -444,33 +417,28 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
/// </summary>
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
/// <returns></returns>
[HttpGe t]
[HttpPos t]
[Route("UnsettledDetailReportService-Make")]
[DisableRequestSizeLimit]
public async Task < string > UnsettledDetailReportServiceMake (
string version ,
string materialCode ,
string begin ,
string end ,
string kenncode ,
string chassisNumber ,
string materialGroup ,
string sapCode
BaseRequestDto input
)
{
List < CustomCondition > customConditionList = new List < CustomCondition > ( ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = ! string . IsNullOrEmpty ( version ) ? v ersion: string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = ! string . IsNullOrEmpty ( input . Version ) ? input . Version : string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "CustomerCode" , Value = string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = ! string . IsNullOrEmpty ( materialCode ) ? materialCode : string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = ! string . IsNullOrEmpty ( materialGroup ) ? materialGroup : string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = ! string . IsNullOrEmpty ( input . MaterialCode ) ? input . MaterialCode : string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = ! string . IsNullOrEmpty ( input . MaterialGroup ) ? input . MaterialGroup : string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapMaterialCode" , Value = string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = ! string . IsNullOrEmpty ( materialCode ) ? materialCode : string . Empty } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Begin" , Value = ! string . IsNullOrEmpty ( b egin) ? string . Empty : b egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "End" , Value = ! string . IsNullOrEmpty ( e nd) ? string . Empty : e nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( k enncode) ? string . Empty : k enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( c hassisNumber) ? string . Empty : c hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( s apCode) ? string . Empty : s apCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化未结明细表" , ExportExtentsion . Excel , v ersion, string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup, CurrentUser , typeof ( UnsettledDetailReportService ) , customConditionList , ( rs ) = >
customConditionList . Add ( new CustomCondition ( ) { Name = "Begin" , Value = ! string . IsNullOrEmpty ( input . B egin) ? string . Empty : input . B egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "End" , Value = ! string . IsNullOrEmpty ( input . E nd) ? string . Empty : input . E nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( input . K enncode) ? string . Empty : input . K enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( input . C hassisNumber) ? string . Empty : input . C hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( input . S apCode) ? string . Empty : input . S apCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化未结明细表" , ExportExtentsion . Excel , input . V ersion , string . IsNullOrEmpty ( input . M aterialGroup) ? string . Empty : input . M aterialGroup, CurrentUser , typeof ( UnsettledDetailReportService ) , customConditionList , ( rs ) = >
{
} ) ;
return _ taskid ;
@ -482,31 +450,24 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices
/// </summary>
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
/// <returns></returns>
[HttpGe t]
[HttpPos t]
[Route("UnSettleDiffExport-Make")]
[DisableRequestSizeLimit]
public async Task < string > UnSettleDiffExportServiceMake (
string version ,
string materialCode ,
string begin ,
string end ,
string kenncode ,
string chassisNumber ,
string materialGroup ,
string sapCode
BaseRequestDto input
)
{
List < CustomCondition > customConditionList = new List < CustomCondition > ( ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = v ersion } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = m aterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BeginTime" , Value = b egin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = e nd } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = m aterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( k enncode) ? string . Empty : k enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( c hassisNumber) ? string . Empty : c hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( s apCode) ? string . Empty : s apCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化未结差异比对输出" , ExportExtentsion . Excel , v ersion, string . IsNullOrEmpty ( m aterialGroup) ? string . Empty : m aterialGroup, CurrentUser , typeof ( UnSettleDiffExportService ) , customConditionList , ( rs ) = >
customConditionList . Add ( new CustomCondition ( ) { Name = "Version" , Value = input . Version } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = input . MaterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "BeginTime" , Value = input . Begin } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "EndTime" , Value = input . End } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialCode" , Value = input . M aterialCode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "KennCode" , Value = string . IsNullOrEmpty ( input . K enncode) ? string . Empty : input . K enncode } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "ChassisNumber" , Value = string . IsNullOrEmpty ( input . C hassisNumber) ? string . Empty : input . C hassisNumber } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "MaterialGroup" , Value = string . IsNullOrEmpty ( input . M aterialGroup) ? string . Empty : input . M aterialGroup } ) ;
customConditionList . Add ( new CustomCondition ( ) { Name = "SapCode" , Value = string . IsNullOrEmpty ( input . S apCode) ? string . Empty : input . S apCode } ) ;
var _ taskid = await _ service . ExportEnqueueAsync ( "准时化未结差异比对输出" , ExportExtentsion . Excel , input . V ersion , string . IsNullOrEmpty ( input . M aterialGroup) ? string . Empty : input . M aterialGroup, CurrentUser , typeof ( UnSettleDiffExportService ) , customConditionList , ( rs ) = >
{
} ) ;
return _ taskid ;