|
|
@ -143,7 +143,6 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "SapMaterialCode", Value = input.SapMaterialCode ?? string.Empty }); |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "BegingTime", Value = input.Begin ?? string.Empty }); |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "EndTime", Value = input.End ?? string.Empty }); |
|
|
|
|
|
|
|
var _taskid = await _service.ExportEnqueueAsync("看板结算输出", ExportExtentsion.Excel,input.Version ,string.Empty,CurrentUser, typeof(SettleKBWithCodeExportService), customConditionList, (rs) => |
|
|
|
{ |
|
|
|
}); |
|
|
@ -167,7 +166,6 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "SapMaterialCode", Value = input.SapMaterialCode ?? string.Empty }); |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "BegingTime", Value = input.Begin ?? string.Empty }); |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "EndTime", Value = input.End ?? string.Empty }); |
|
|
|
|
|
|
|
var _taskid = await _service.ExportEnqueueAsync("无条码看板结算输出", ExportExtentsion.Excel, input.Version,string.Empty, CurrentUser, typeof(SettleKBWithOutCodeExportService), customConditionList, (rs) => |
|
|
|
{ |
|
|
|
}); |
|
|
@ -312,7 +310,6 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices |
|
|
|
public async Task<string> SettledSparePartExtend(string purchaseOrderNo, string sapCode, string version, string customerCode, string factory, string matialCode, |
|
|
|
string state, DateTime begin, DateTime end) |
|
|
|
{ |
|
|
|
|
|
|
|
List<CustomCondition> customConditionList = new List<CustomCondition>(); |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "Version", Value = version ?? string.Empty }); |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "PurchaseOrderNo", Value = purchaseOrderNo ?? string.Empty }); |
|
|
@ -323,7 +320,6 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "ProjectName", Value = "大众备件结算核对" }); |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "BegingTime", Value = begin.ToString() }); |
|
|
|
customConditionList.Add(new CustomCondition() { Name = "EndTime", Value = end.ToString() }); |
|
|
|
|
|
|
|
var _taskid = await _service.ExportEnqueueAsync("无订单备件结算输出", ExportExtentsion.Excel, version, string.Empty, CurrentUser, typeof(SettleSparePartExportService), customConditionList, (rs) => |
|
|
|
{ |
|
|
|
|
|
|
@ -903,211 +899,6 @@ namespace Win.Sfs.SettleAccount.Reports.ReportServices |
|
|
|
return _taskid; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region F及M平台已经合并入H平台
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///红旗F平台核对明细
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
//[HttpPost]
|
|
|
|
//[Route("HQFSettledDetailDiffExportService")]
|
|
|
|
//[DisableRequestSizeLimit]
|
|
|
|
//public async Task<string> HQFSettledDetailDiffExportServiceMake(
|
|
|
|
// HQKanbanRequestDto input
|
|
|
|
// )
|
|
|
|
//{
|
|
|
|
|
|
|
|
// List<CustomCondition> customConditionList = new List<CustomCondition>();
|
|
|
|
// 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.MaterialCode });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "AcceptNo", Value = input.AcceptNo });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "WarehouseDesc", Value = input.WarehouseDesc });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Kanban", Value = input.Kanban });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "MaterialGroup", Value = string.IsNullOrEmpty(input.MaterialGroup) ? string.Empty : input.MaterialGroup });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "SapCode", Value = string.IsNullOrEmpty(input.SapCode) ? string.Empty : input.SapCode });
|
|
|
|
// var _taskid = await _service.ExportEnqueueAsync("F平台核对明细", ExportExtentsion.Excel, input.Version, string.IsNullOrEmpty(input.MaterialGroup) ? string.Empty : input.MaterialGroup, CurrentUser, typeof(HQFSettledDetailDiffExportService), customConditionList, (rs) =>
|
|
|
|
// {
|
|
|
|
// });
|
|
|
|
// return _taskid;
|
|
|
|
//}
|
|
|
|
/// <summary>
|
|
|
|
/// 红旗F平台备件结算出库
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
//[HttpPost]
|
|
|
|
//[Route("HQFSharePartSettledDetailDiffExportService")]
|
|
|
|
//[DisableRequestSizeLimit]
|
|
|
|
//public async Task<string> HQFSharePartSettledDetailDiffExportServiceMake(
|
|
|
|
// HQKanbanRequestDto input
|
|
|
|
// )
|
|
|
|
//{
|
|
|
|
// List<CustomCondition> customConditionList = new List<CustomCondition>();
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Version", Value = input.Version });
|
|
|
|
|
|
|
|
// 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.MaterialCode });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "AcceptNo", Value = input.AcceptNo });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "WarehouseDesc", Value = input.WarehouseDesc });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Kanban", Value = input.Kanban });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "MaterialGroup", Value = string.IsNullOrEmpty(input.MaterialGroup) ? string.Empty : input.MaterialGroup });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "SapCode", Value = string.IsNullOrEmpty(input.SapCode) ? string.Empty : input.SapCode });
|
|
|
|
// var _taskid = await _service.ExportEnqueueAsync("F平台备件核对明细", ExportExtentsion.Excel, input.Version, string.IsNullOrEmpty(input.MaterialGroup) ? string.Empty : input.MaterialGroup, CurrentUser, typeof(HQFSharePartSettledDetailDiffExportService), customConditionList, (rs) =>
|
|
|
|
// {
|
|
|
|
// });
|
|
|
|
// return _taskid;
|
|
|
|
//}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
///红旗M平台核对明细
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="files">上传的文件(前端已经限制只能上传一个附件)</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
//[HttpPost]
|
|
|
|
//[Route("HQMSettledDetailDiffExportService")]
|
|
|
|
//[DisableRequestSizeLimit]
|
|
|
|
//public async Task<string> HQMSettledDetailDiffExportServiceMake(
|
|
|
|
// HQKanbanRequestDto input
|
|
|
|
// )
|
|
|
|
//{
|
|
|
|
|
|
|
|
// List<CustomCondition> customConditionList = new List<CustomCondition>();
|
|
|
|
// 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.MaterialCode });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "AcceptNo", Value = input.AcceptNo });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "WarehouseDesc", Value = input.WarehouseDesc });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Kanban", Value = input.Kanban });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "MaterialGroup", Value = string.IsNullOrEmpty(input.MaterialGroup) ? string.Empty : input.MaterialGroup });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "SapCode", Value = string.IsNullOrEmpty(input.SapCode) ? string.Empty : input.SapCode });
|
|
|
|
// var _taskid = await _service.ExportEnqueueAsync("M平台核对明细", ExportExtentsion.Excel, input.Version, string.IsNullOrEmpty(input.MaterialGroup) ? string.Empty : input.MaterialGroup, CurrentUser, typeof(HQMSettledDetailDiffExportService), customConditionList, (rs) =>
|
|
|
|
// {
|
|
|
|
// });
|
|
|
|
// return _taskid;
|
|
|
|
//}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 红旗M平台备件结算出库
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
//[HttpPost]
|
|
|
|
//[Route("HQMSharePartSettledDetailDiffExportService")]
|
|
|
|
//[DisableRequestSizeLimit]
|
|
|
|
//public async Task<string> HQMSharePartSettledDetailDiffExportServiceMake(
|
|
|
|
// HQKanbanRequestDto input
|
|
|
|
// )
|
|
|
|
//{
|
|
|
|
// List<CustomCondition> customConditionList = new List<CustomCondition>();
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Version", Value = input.Version });
|
|
|
|
|
|
|
|
// 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.MaterialCode });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "AcceptNo", Value = input.AcceptNo });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "WarehouseDesc", Value = input.WarehouseDesc });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Kanban", Value = input.Kanban });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "MaterialGroup", Value = string.IsNullOrEmpty(input.MaterialGroup) ? string.Empty : input.MaterialGroup });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "SapCode", Value = string.IsNullOrEmpty(input.SapCode) ? string.Empty : input.SapCode });
|
|
|
|
// var _taskid = await _service.ExportEnqueueAsync("M平台备件核对明细", ExportExtentsion.Excel, input.Version, string.IsNullOrEmpty(input.MaterialGroup) ? string.Empty : input.MaterialGroup, CurrentUser, typeof(HQMSharePartSettledDetailDiffExportService), customConditionList, (rs) =>
|
|
|
|
// {
|
|
|
|
// });
|
|
|
|
// return _taskid;
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// H平台未结明细
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
//[HttpPost]
|
|
|
|
//[Route("HQHShippingExportService")]
|
|
|
|
//[DisableRequestSizeLimit]
|
|
|
|
//public async Task<string> HQHShippingExportServiceMake(
|
|
|
|
// HQKanbanRequestDto input
|
|
|
|
// )
|
|
|
|
//{
|
|
|
|
// List<CustomCondition> customConditionList = new List<CustomCondition>();
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Version", Value = input.Version });
|
|
|
|
// 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.MaterialCode });
|
|
|
|
// var _taskid = await _service.ExportEnqueueAsync("H平台发运核对输出", ExportExtentsion.Excel, input.Version, null, CurrentUser, typeof(HQHShippingExportService), customConditionList, (rs) =>
|
|
|
|
// {
|
|
|
|
// });
|
|
|
|
// return _taskid;
|
|
|
|
//}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// F平台未结明细
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
//[HttpPost]
|
|
|
|
//[Route("HQHShippingExportService")]
|
|
|
|
//[DisableRequestSizeLimit]
|
|
|
|
//public async Task<string> HQFShippingExportServiceMake(
|
|
|
|
// HQKanbanRequestDto input
|
|
|
|
// )
|
|
|
|
//{
|
|
|
|
// List<CustomCondition> customConditionList = new List<CustomCondition>();
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Version", Value = input.Version });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "BeginTime", Value = input.Begin });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "EndTime", Value = input.End });
|
|
|
|
// var _taskid = await _service.ExportEnqueueAsync("F平台未结明细", ExportExtentsion.Excel, input.Version, null, CurrentUser, typeof(HQFShippingExportService), customConditionList, (rs) =>
|
|
|
|
// {
|
|
|
|
// });
|
|
|
|
// return _taskid;
|
|
|
|
//}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// M平台未明细
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="input"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
//[HttpPost]
|
|
|
|
//[Route("HQMShippingExportService")]
|
|
|
|
//[DisableRequestSizeLimit]
|
|
|
|
//public async Task<string> HQMShippingExportServiceMake(
|
|
|
|
// HQKanbanRequestDto input
|
|
|
|
// )
|
|
|
|
//{
|
|
|
|
// List<CustomCondition> customConditionList = new List<CustomCondition>();
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "Version", Value = input.Version });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "BeginTime", Value = input.Begin });
|
|
|
|
// customConditionList.Add(new CustomCondition() { Name = "EndTime", Value = input.End });
|
|
|
|
// var _taskid = await _service.ExportEnqueueAsync("M平台未明细", ExportExtentsion.Excel, input.Version, null, CurrentUser, typeof(HQMShippingExportService), customConditionList, (rs) =>
|
|
|
|
// {
|
|
|
|
// });
|
|
|
|
// return _taskid;
|
|
|
|
//}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
} |
|
|
|