往来单位服务在构造函数中清除机构过滤

dev
嵇文龙 1 month ago
parent 0d93da99ae
commit 76a56d3d8a

@ -0,0 +1,90 @@
using System.ComponentModel;
using SqlSugar;
namespace DS.WMS.Core.TaskInteraction.Entity
{
/// <summary>
/// 业务数据源提供程序配置
/// </summary>
[SugarTable("business_data_provider", "业务数据源提供程序配置")]
public class BusinessDataProvider
{
/// <summary>
/// ID
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 数据源程序类型名
/// </summary>
[SugarColumn(ColumnDescription = "数据源程序类型名", Length = 100, IsNullable = true)]
public string TypeName { get; set; } = string.Empty;
/// <summary>
/// 数据源名称
/// </summary>
[SugarColumn(ColumnDescription = "数据源名称", Length = 100, IsNullable = false)]
public string Name { get; set; } = string.Empty;
/// <summary>
/// 数据源描述
/// </summary>
[SugarColumn(ColumnDescription = "数据源描述", Length = 300, IsNullable = true)]
public string? Description { get; set; }
/// <summary>
/// 数据源内容
/// </summary>
[SugarColumn(ColumnDescription = "数据源内容", IsNullable = true)]
public string? Content { get; set; }
/// <summary>
/// 数据源类型
/// </summary>
[SugarColumn(ColumnDescription = "数据源类型")]
public DataProviderType Type { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnDescription = "创建人", IsNullable = false)]
public long CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnDescription = "创建时间", IsNullable = false)]
public DateTime CreateTime { get; set; }
}
/// <summary>
/// 数据源类型
/// </summary>
public enum DataProviderType
{
/// <summary>
/// 自定义
/// </summary>
[Description("自定义")]
Custom = 0,
/// <summary>
/// 固定
/// </summary>
[Description("固定")]
Fixed = 1,
/// <summary>
/// SQL
/// </summary>
[Description("SQL")]
SQL = 2,
/// <summary>
/// 网络
/// </summary>
[Description("网络")]
Network = 3
}
}

@ -83,11 +83,5 @@ namespace DS.WMS.Core.TaskInteraction.Entity
/// </summary> /// </summary>
[SugarColumn(ColumnDescription = "审批驳回理由", Length = 200, IsNullable = true)] [SugarColumn(ColumnDescription = "审批驳回理由", Length = 200, IsNullable = true)]
public string? RejectReason { get; set; } public string? RejectReason { get; set; }
///// <summary>
///// 下一任务配置ID
///// </summary>
//[SugarColumn(ColumnDescription = "下一任务配置ID", IsNullable = true)]
//public long? NextId { get; set; }
} }
} }

@ -40,6 +40,18 @@ namespace DS.WMS.Core.TaskInteraction.Entity
[SugarColumn(ColumnDescription = "客户名称", Length = 200, IsNullable = true)] [SugarColumn(ColumnDescription = "客户名称", Length = 200, IsNullable = true)]
public string? CustomerName { get; set; } public string? CustomerName { get; set; }
/// <summary>
/// 数据源提供程序ID
/// </summary>
[SugarColumn(ColumnDescription = "数据源提供程序ID", IsNullable = true)]
public int? ProviderId { get; set; }
/// <summary>
/// 数据源提供程序
/// </summary>
[Navigate(NavigateType.OneToOne, nameof(ProviderId))]
public BusinessDataProvider? Provider { get; set; }
/// <summary> /// <summary>
/// 接收人设置 /// 接收人设置
/// </summary> /// </summary>

@ -1,10 +0,0 @@
namespace DS.WMS.Core.TaskInteraction.Interface
{
/// <summary>
/// 订单定义
/// </summary>
public interface IOrder
{
}
}
Loading…
Cancel
Save