导出列表
This commit is contained in:
@@ -10,7 +10,7 @@ namespace WMS.Web.Core.Dto
|
||||
public class BoxResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 单据头ID
|
||||
/// 箱ID
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
|
||||
@@ -46,8 +46,15 @@ namespace WMS.Web.Core.Dto
|
||||
/// 非采购上架方式
|
||||
/// </summary>
|
||||
public Dictionary<int, string> ShelfMethod { get; set; } = new Dictionary<int, string>();
|
||||
/// <summary>
|
||||
/// 下载导出订单类型
|
||||
/// </summary>
|
||||
public Dictionary<int, string> FileDownLoadOrderType { get; set; } = new Dictionary<int, string>();
|
||||
/// <summary>
|
||||
/// 下载导出状态
|
||||
/// </summary>
|
||||
public Dictionary<int, string> ExportStatus { get; set; } = new Dictionary<int, string>();
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
37
src/WMS.Web.Core/Dto/FileDownManagerRequest.cs
Normal file
37
src/WMS.Web.Core/Dto/FileDownManagerRequest.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 上传下载列表
|
||||
/// </summary>
|
||||
public class FileDownManagerRequest: PaginationBaseRequestDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 单据类型(任务类型)
|
||||
/// </summary>
|
||||
public int? Type { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public int? Status { get; set; }
|
||||
/// <summary>
|
||||
/// 下单时间 开始
|
||||
/// </summary>
|
||||
public DateTime? BeginDate { get; set; }
|
||||
/// <summary>
|
||||
/// 下单时间 结束
|
||||
/// </summary>
|
||||
public DateTime? EndDate { get; set; }
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
public string User { get; set; }
|
||||
/// <summary>
|
||||
/// 供应商用户Id
|
||||
/// </summary>
|
||||
public int? SupplierId { get; set; } = null;
|
||||
}
|
||||
}
|
||||
73
src/WMS.Web.Core/Dto/FileDownManagerResponse.cs
Normal file
73
src/WMS.Web.Core/Dto/FileDownManagerResponse.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using WMS.Web.Core.Help;
|
||||
|
||||
namespace WMS.Web.Core.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// 上传下载列表
|
||||
/// </summary>
|
||||
public class FileDownManagerResponse
|
||||
{
|
||||
public FileDownManagerResponse(List<FileDownInfoManagerResponse> list, int? total)
|
||||
{
|
||||
this.List = list;
|
||||
this.Total = total;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询列表内容
|
||||
/// </summary>
|
||||
public List<FileDownInfoManagerResponse> List { get; set; } = new List<FileDownInfoManagerResponse>();
|
||||
/// <summary>
|
||||
/// 总条数
|
||||
/// </summary>
|
||||
public int? Total { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 上传下载列表
|
||||
/// </summary>
|
||||
public class FileDownInfoManagerResponse
|
||||
{
|
||||
public FileDownInfoManagerResponse() { }
|
||||
public FileDownInfoManagerResponse(FileDownInfoManagerResponse response)
|
||||
{
|
||||
response.CopyPropertiesToD(this);
|
||||
}
|
||||
/// <summary>
|
||||
/// 主键 订单编号
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// 日期
|
||||
/// </summary>
|
||||
public string Date { get; set; }
|
||||
/// <summary>
|
||||
/// 单据类型(任务类型)
|
||||
/// </summary>
|
||||
public int Type { get; set; }
|
||||
/// <summary>
|
||||
/// 状态(Key)
|
||||
/// </summary>
|
||||
public int StatusKey { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public string Status { get; set; }
|
||||
/// <summary>
|
||||
/// 文件地址
|
||||
/// </summary>
|
||||
public string FilePath { get; set; }
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
public string UserName { get; set; }
|
||||
/// <summary>
|
||||
/// 失败原因
|
||||
/// </summary>
|
||||
public string Reason { get; set; }
|
||||
}
|
||||
}
|
||||
19
src/WMS.Web.Core/Dto/FileDownManagerStatusResponse.cs
Normal file
19
src/WMS.Web.Core/Dto/FileDownManagerStatusResponse.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto
|
||||
{
|
||||
public class FileDownManagerStatusResponse
|
||||
{
|
||||
public FileDownManagerStatusResponse() { }
|
||||
/// <summary>
|
||||
/// 任务类型
|
||||
/// </summary>
|
||||
public Dictionary<int, string> Type { get; set; } = new Dictionary<int, string>();
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public Dictionary<int, string> Status { get; set; } = new Dictionary<int, string>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user