仓储更新
This commit is contained in:
parent
77691fcaaa
commit
886dfcae38
71
src/SJZY.Track.Repository/Order/Entitys/OrderEntity.cs
Normal file
71
src/SJZY.Track.Repository/Order/Entitys/OrderEntity.cs
Normal file
@ -0,0 +1,71 @@
|
||||
namespace SJZY.Track.Repository.Order.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹订单主表
|
||||
/// </summary>
|
||||
[SugarTable("t_order")]
|
||||
public class OrderEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户id(外部主体id)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "CustomId")]
|
||||
public int CustomId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单是否完结(异步维护)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "IsCompleted")]
|
||||
public bool IsCompleted { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最新轨迹内容(异步维护)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "LatestTraceContent")]
|
||||
public string LatestTraceContent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最新轨迹内容英文(异步维护)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "LatestTraceEnContent")]
|
||||
public string LatestTraceEnContent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最新轨迹时间(异步维护)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "LatestTraceTime")]
|
||||
public DateTime? LatestTraceTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单明细(json字符串)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "OrderDetails")]
|
||||
public string OrderDetails { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "OrderNo")]
|
||||
public string OrderNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单类型(主数据枚举TrackOrderType)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "OrderType")]
|
||||
public int OrderType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子系统id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SubSystemId")]
|
||||
public int SubSystemId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.Order.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.Order.Services
|
||||
{
|
||||
public interface IOrderRepository : ISimpleClient<OrderEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.Order.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.Order.Services
|
||||
{
|
||||
public class OrderRepository : BasicRepository<OrderEntity>, IOrderRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
namespace SJZY.Track.Repository.OrderLink.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹订单关联表(1:N)
|
||||
/// </summary>
|
||||
[SugarTable("t_order_link")]
|
||||
public class OrderLinkEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关联的订单id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "LinkOrderId")]
|
||||
public int LinkOrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "OrderId")]
|
||||
public int OrderId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.OrderLink.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.OrderLink.Services
|
||||
{
|
||||
public interface IOrderLinkRepository : ISimpleClient<OrderLinkEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.OrderLink.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.OrderLink.Services
|
||||
{
|
||||
public class OrderLinkRepository : BasicRepository<OrderLinkEntity>, IOrderLinkRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
namespace SJZY.Track.Repository.OrderTemplate.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹订单模板表(1:N)
|
||||
/// </summary>
|
||||
[SugarTable("t_order_template")]
|
||||
public class OrderTemplateEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "OrderId")]
|
||||
public int OrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务商id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ServiceProviderId")]
|
||||
public int ServiceProviderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackTemplateId")]
|
||||
public int TrackTemplateId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.OrderTemplate.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.OrderTemplate.Services
|
||||
{
|
||||
public interface IOrderTemplateRepository : ISimpleClient<OrderTemplateEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.OrderTemplate.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.OrderTemplate.Services
|
||||
{
|
||||
public class OrderTemplateRepository : BasicRepository<OrderTemplateEntity>, IOrderTemplateRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -20,4 +20,24 @@
|
||||
<PackageReference Include="Volo.Abp.Autofac" Version="7.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="OrderLink\ValueObjects\" />
|
||||
<Folder Include="OrderTemplate\ValueObjects\" />
|
||||
<Folder Include="Order\ValueObjects\" />
|
||||
<Folder Include="TrackContentMap\ValueObjects\" />
|
||||
<Folder Include="TrackContent\ValueObjects\" />
|
||||
<Folder Include="TrackFlag\ValueObjects\" />
|
||||
<Folder Include="TrackPullConfig\ValueObjects\" />
|
||||
<Folder Include="TrackPullContentConfig\ValueObjects\" />
|
||||
<Folder Include="TrackPushConfig\ValueObjects\" />
|
||||
<Folder Include="TrackPushContentConfig\ValueObjects\" />
|
||||
<Folder Include="TrackPushPullParamsConfig\ValueObjects\" />
|
||||
<Folder Include="TrackPushRecordDetails\ValueObjects\" />
|
||||
<Folder Include="TrackPushRecord\ValueObjects\" />
|
||||
<Folder Include="TrackStatus\ValueObjects\" />
|
||||
<Folder Include="TrackTemplateContent\ValueObjects\" />
|
||||
<Folder Include="TrackTemplate\ValueObjects\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@ -0,0 +1,53 @@
|
||||
namespace SJZY.Track.Repository.TrackContent.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹内容
|
||||
/// </summary>
|
||||
[SugarTable("t_track_content")]
|
||||
public class TrackContentEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Content")]
|
||||
public string Content { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容英文
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "EnContent")]
|
||||
public string EnContent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子系统id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SubSystemId")]
|
||||
public int SubSystemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹标记id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackFlagId")]
|
||||
public int TrackFlagId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属轨迹状态id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackStatusId")]
|
||||
public int TrackStatusId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackContent.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackContent.Services
|
||||
{
|
||||
public interface ITrackContentRepository : ISimpleClient<TrackContentEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackContent.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackContent.Services
|
||||
{
|
||||
public class TrackContentRepository : BasicRepository<TrackContentEntity>, ITrackContentRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
namespace SJZY.Track.Repository.TrackContentMap.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹内容映射表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_content_map")]
|
||||
public class TrackContentMapEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 映射轨迹内容id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "MapTrackContentId")]
|
||||
public int MapTrackContentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源轨迹内容id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentId")]
|
||||
public int TrackContentId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackContentMap.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackContentMap.Services
|
||||
{
|
||||
public interface ITrackContentMapRepository : ISimpleClient<TrackContentMapEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackContentMap.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackContentMap.Services
|
||||
{
|
||||
public class TrackContentMapRepository : BasicRepository<TrackContentMapEntity>, ITrackContentMapRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
namespace SJZY.Track.Repository.TrackFlag.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹标记表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_flag")]
|
||||
public class TrackFlagEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标记代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标记名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子系统id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SubSystemId")]
|
||||
public int SubSystemId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackFlag.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackFlag.Services
|
||||
{
|
||||
public interface ITrackFlagRepository : ISimpleClient<TrackFlagEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackFlag.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackFlag.Services
|
||||
{
|
||||
public class TrackFlagRepository : BasicRepository<TrackFlagEntity>, ITrackFlagRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
namespace SJZY.Track.Repository.TrackPullConfig.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹拉取配置表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_pull_config")]
|
||||
public class TrackPullConfigEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 解析方式,1取接口通返参映射后的,2取服务商原返参
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ParseMethod")]
|
||||
public int ParseMethod { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务商拉取频率(分钟)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PullInterval")]
|
||||
public int PullInterval { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务商id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ServiceProviderId")]
|
||||
public int ServiceProviderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子系统id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SubSystemId")]
|
||||
public int SubSystemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackTemplateId")]
|
||||
public int TrackTemplateId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPullConfig.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPullConfig.Services
|
||||
{
|
||||
public interface ITrackPullConfigRepository : ISimpleClient<TrackPullConfigEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
using SJZY.Track.Repository.TrackPullConfig.Entitys;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPullConfig.Services
|
||||
{
|
||||
public class TrackPullConfigRepository : BasicRepository<TrackPullConfigEntity>, ITrackPullConfigRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,71 @@
|
||||
namespace SJZY.Track.Repository.TrackPullContentConfig.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹拉取内容配置表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_pull_content_config")]
|
||||
public class TrackPullContentConfigEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务商轨迹代码参数值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentCodeValue")]
|
||||
public string TrackContentCodeValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentId")]
|
||||
public int TrackContentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务商轨迹内容参数值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentValue")]
|
||||
public string TrackContentValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹关键词(正向),多个逗分隔
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackKeyword")]
|
||||
public string TrackKeyword { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹关键词(反向),多个逗分隔
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackKeywordReverse")]
|
||||
public string TrackKeywordReverse { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹发生地参数值(主数据枚举)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackPlaceValue")]
|
||||
public int? TrackPlaceValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹拉取配置id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackPullConfigId")]
|
||||
public int TrackPullConfigId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务商轨迹状态参数值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackStatusValue")]
|
||||
public string TrackStatusValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹时区GMT
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackTimeZone")]
|
||||
public string TrackTimeZone { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPullContentConfig.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPullContentConfig.Services
|
||||
{
|
||||
public interface ITrackPullContentConfigRepository : ISimpleClient<TrackPullContentConfigEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPullContentConfig.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPullContentConfig.Services
|
||||
{
|
||||
public class TrackPullContentConfigRepository : BasicRepository<TrackPullContentConfigEntity>, ITrackPullContentConfigRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
namespace SJZY.Track.Repository.TrackPushConfig.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹推送配置表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_push_config")]
|
||||
public class TrackPushConfigEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户id(外部主体id)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "CustomId")]
|
||||
public int CustomId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否自动推送
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "IsAutoPush")]
|
||||
public bool IsAutoPush { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务商id(客户:服务商 1:1)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ServiceProviderId")]
|
||||
public int ServiceProviderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子系统id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SubSystemId")]
|
||||
public int SubSystemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板id(多个之间英文逗号分隔)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackTemplateId")]
|
||||
public string TrackTemplateId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushConfig.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushConfig.Services
|
||||
{
|
||||
public interface ITrackPushConfigRepository : ISimpleClient<TrackPushConfigEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushConfig.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushConfig.Services
|
||||
{
|
||||
public class TrackPushConfigRepository : BasicRepository<TrackPushConfigEntity>, ITrackPushConfigRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,77 @@
|
||||
namespace SJZY.Track.Repository.TrackPushContentConfig.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹推送内容配置表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_push_content_config")]
|
||||
public class TrackPushContentConfigEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展字段参数值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ExpandFieldsValue")]
|
||||
public string ExpandFieldsValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推送单号类型(主数据枚举TrackOrderType)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "OrderNoType")]
|
||||
public int OrderNoType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推送轨迹排序
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Sort")]
|
||||
public int Sort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹代码参数值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentCodeValue")]
|
||||
public string TrackContentCodeValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentId")]
|
||||
public int TrackContentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容参数值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentValue")]
|
||||
public string TrackContentValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容英文参数值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackEnContentValue")]
|
||||
public string TrackEnContentValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹推送配置id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackPushConfigId")]
|
||||
public int TrackPushConfigId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹状态参数值
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackStatusValue")]
|
||||
public string TrackStatusValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹时区GMT
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackTimeZone")]
|
||||
public string TrackTimeZone { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushContentConfig.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushContentConfig.Services
|
||||
{
|
||||
public interface ITrackPushContentConfigRepository : ISimpleClient<TrackPushContentConfigEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushContentConfig.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushContentConfig.Services
|
||||
{
|
||||
public class TrackPushContentConfigRepository : BasicRepository<TrackPushContentConfigEntity>, ITrackPushContentConfigRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,83 @@
|
||||
namespace SJZY.Track.Repository.TrackPushPullParamsConfig.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹拉取/推送参数配置
|
||||
/// </summary>
|
||||
[SugarTable("t_track_push_pull_params_config")]
|
||||
public class TrackPushPullParamsConfigEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展字段参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ExpandFieldsName")]
|
||||
public string ExpandFieldsName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推拉模式,0拉取,1推送
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "IsPush")]
|
||||
public bool IsPush { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单号参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "OrderNoName")]
|
||||
public string OrderNoName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推拉配置id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PullOrPushConfigId")]
|
||||
public int PullOrPushConfigId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹时区参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TackTimeZoneName")]
|
||||
public string TackTimeZoneName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹代码参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentCodeName")]
|
||||
public string TrackContentCodeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentName")]
|
||||
public string TrackContentName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容英文参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackEnContentName")]
|
||||
public string TrackEnContentName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹发生地参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackPlaceName")]
|
||||
public string TrackPlaceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹状态参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackStatusName")]
|
||||
public string TrackStatusName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹发生时间参数名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackTimeName")]
|
||||
public string TrackTimeName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushPullParamsConfig.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushPullParamsConfig.Services
|
||||
{
|
||||
public interface ITrackPushPullParamsConfigRepository : ISimpleClient<TrackPushPullParamsConfigEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
using SJZY.Track.Repository.TrackPushPullParamsConfig.Entitys;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushPullParamsConfig.Services
|
||||
{
|
||||
public class TrackPushPullParamsConfigRepository : BasicRepository<TrackPushPullParamsConfigEntity>, ITrackPushPullParamsConfigRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
namespace SJZY.Track.Repository.TrackPushRecord.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹推送记录
|
||||
/// </summary>
|
||||
[SugarTable("t_track_push_record")]
|
||||
public class TrackPushRecordEntity
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间(推送时间)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "CreateTime")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人(推送人)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "CreateUserId")]
|
||||
public int CreateUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否自动推送
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "IsAutoPush")]
|
||||
public bool IsAutoPush { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推送内容
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PushContent")]
|
||||
public string PushContent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 接口通请求id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "RequestId")]
|
||||
public string RequestId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 服务商id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ServiceProviderId")]
|
||||
public int ServiceProviderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推送轨迹总数
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackTotal")]
|
||||
public string TrackTotal { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushRecord.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushRecord.Services
|
||||
{
|
||||
public interface ITrackPushRecordRepository : ISimpleClient<TrackPushRecordEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushRecord.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushRecord.Services
|
||||
{
|
||||
public class TrackPushRecordRepository : BasicRepository<TrackPushRecordEntity>, ITrackPushRecordRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
namespace SJZY.Track.Repository.TrackPushRecordDetails.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹推送明细表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_push_record_details")]
|
||||
public class TrackPushRecordDetailsEntity
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间(消费完成时间)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "CreateTime")]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 异常信息
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "ErrorMessage")]
|
||||
public string ErrorMessage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否成功
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "IsSuccess")]
|
||||
public bool IsSuccess { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "OrderId")]
|
||||
public int OrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推送记录id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "PushRecordId")]
|
||||
public int PushRecordId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushRecordDetails.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushRecordDetails.Services
|
||||
{
|
||||
public interface ITrackPushRecordDetailsRepository : ISimpleClient<TrackPushRecordDetailsEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackPushRecordDetails.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackPushRecordDetails.Services
|
||||
{
|
||||
public class TrackPushRecordDetailsRepository : BasicRepository<TrackPushRecordDetailsEntity>, ITrackPushRecordDetailsRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
namespace SJZY.Track.Repository.TrackStatus.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹状态表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_status")]
|
||||
public class TrackStatusEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹状态代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹状态英文
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "EnStatus")]
|
||||
public string EnStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属节点(主数据枚举ServiceNode)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Node")]
|
||||
public int Node { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹状态
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Status")]
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子系统id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SubSystemId")]
|
||||
public int SubSystemId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackStatus.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackStatus.Services
|
||||
{
|
||||
public interface ITrackStatusRepository : ISimpleClient<TrackStatusEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackStatus.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackStatus.Services
|
||||
{
|
||||
public class TrackStatusRepository : BasicRepository<TrackStatusEntity>, ITrackStatusRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
namespace SJZY.Track.Repository.TrackTemplate.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹模板表
|
||||
/// </summary>
|
||||
[SugarTable("t_track_template")]
|
||||
public class TrackTemplateEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Code")]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板名称
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子系统id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "SubSystemId")]
|
||||
public int SubSystemId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackTemplate.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackTemplate.Services
|
||||
{
|
||||
public interface ITrackTemplateRepository : ISimpleClient<TrackTemplateEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackTemplate.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackTemplate.Services
|
||||
{
|
||||
public class TrackTemplateRepository : BasicRepository<TrackTemplateEntity>, ITrackTemplateRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
namespace SJZY.Track.Repository.TrackTemplateContent.Entitys
|
||||
{
|
||||
/// <summary>
|
||||
/// 轨迹模板内容表(1:N)
|
||||
/// </summary>
|
||||
[SugarTable("t_track_template_content")]
|
||||
public class TrackTemplateContentEntity : IFullAuditedBasicEntitys
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否可删
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "IsCanDelete")]
|
||||
public bool IsCanDelete { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否对外
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "IsExternal")]
|
||||
public bool IsExternal { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "Sort")]
|
||||
public int Sort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 轨迹内容id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackContentId")]
|
||||
public int TrackContentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模板id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "TrackTemplateId")]
|
||||
public int TrackTemplateId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackTemplateContent.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackTemplateContent.Services
|
||||
{
|
||||
public interface ITrackTemplateContentRepository : ISimpleClient<TrackTemplateContentEntity>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
using SJZY.Track.Repository.TrackTemplateContent.Entitys;
|
||||
|
||||
namespace SJZY.Track.Repository.TrackTemplateContent.Services
|
||||
{
|
||||
public class TrackTemplateContentRepository : BasicRepository<TrackTemplateContentEntity>, ITrackTemplateContentRepository, IScopedDependency
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user