diff --git a/src/SJZY.Track.Repository/Order/Entitys/OrderEntity.cs b/src/SJZY.Track.Repository/Order/Entitys/OrderEntity.cs
new file mode 100644
index 00000000..53566dca
--- /dev/null
+++ b/src/SJZY.Track.Repository/Order/Entitys/OrderEntity.cs
@@ -0,0 +1,71 @@
+namespace SJZY.Track.Repository.Order.Entitys
+{
+ ///
+ /// 轨迹订单主表
+ ///
+ [SugarTable("t_order")]
+ public class OrderEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 客户id(外部主体id)
+ ///
+ [SugarColumn(ColumnName = "CustomId")]
+ public int CustomId { get; set; }
+
+ ///
+ /// 订单是否完结(异步维护)
+ ///
+ [SugarColumn(ColumnName = "IsCompleted")]
+ public bool IsCompleted { get; set; }
+
+ ///
+ /// 最新轨迹内容(异步维护)
+ ///
+ [SugarColumn(ColumnName = "LatestTraceContent")]
+ public string LatestTraceContent { get; set; }
+
+ ///
+ /// 最新轨迹内容英文(异步维护)
+ ///
+ [SugarColumn(ColumnName = "LatestTraceEnContent")]
+ public string LatestTraceEnContent { get; set; }
+
+ ///
+ /// 最新轨迹时间(异步维护)
+ ///
+ [SugarColumn(ColumnName = "LatestTraceTime")]
+ public DateTime? LatestTraceTime { get; set; }
+
+ ///
+ /// 订单明细(json字符串)
+ ///
+ [SugarColumn(ColumnName = "OrderDetails")]
+ public string OrderDetails { get; set; }
+
+ ///
+ /// 订单号
+ ///
+ [SugarColumn(ColumnName = "OrderNo")]
+ public string OrderNo { get; set; }
+
+ ///
+ /// 订单类型(主数据枚举TrackOrderType)
+ ///
+ [SugarColumn(ColumnName = "OrderType")]
+ public int OrderType { get; set; }
+
+ ///
+ /// 子系统id
+ ///
+ [SugarColumn(ColumnName = "SubSystemId")]
+ public int SubSystemId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/Order/Services/IOrderRepository.cs b/src/SJZY.Track.Repository/Order/Services/IOrderRepository.cs
new file mode 100644
index 00000000..7a67dae4
--- /dev/null
+++ b/src/SJZY.Track.Repository/Order/Services/IOrderRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.Order.Entitys;
+
+namespace SJZY.Track.Repository.Order.Services
+{
+ public interface IOrderRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/Order/Services/OrderRepository.cs b/src/SJZY.Track.Repository/Order/Services/OrderRepository.cs
new file mode 100644
index 00000000..5e682c3a
--- /dev/null
+++ b/src/SJZY.Track.Repository/Order/Services/OrderRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.Order.Entitys;
+
+namespace SJZY.Track.Repository.Order.Services
+{
+ public class OrderRepository : BasicRepository, IOrderRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/OrderLink/Entitys/OrderLinkEntity.cs b/src/SJZY.Track.Repository/OrderLink/Entitys/OrderLinkEntity.cs
new file mode 100644
index 00000000..701ed883
--- /dev/null
+++ b/src/SJZY.Track.Repository/OrderLink/Entitys/OrderLinkEntity.cs
@@ -0,0 +1,29 @@
+namespace SJZY.Track.Repository.OrderLink.Entitys
+{
+ ///
+ /// 轨迹订单关联表(1:N)
+ ///
+ [SugarTable("t_order_link")]
+ public class OrderLinkEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 关联的订单id
+ ///
+ [SugarColumn(ColumnName = "LinkOrderId")]
+ public int LinkOrderId { get; set; }
+
+ ///
+ /// 订单id
+ ///
+ [SugarColumn(ColumnName = "OrderId")]
+ public int OrderId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/OrderLink/Services/IOrderLinkRepository.cs b/src/SJZY.Track.Repository/OrderLink/Services/IOrderLinkRepository.cs
new file mode 100644
index 00000000..d43818a1
--- /dev/null
+++ b/src/SJZY.Track.Repository/OrderLink/Services/IOrderLinkRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.OrderLink.Entitys;
+
+namespace SJZY.Track.Repository.OrderLink.Services
+{
+ public interface IOrderLinkRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/OrderLink/Services/OrderLinkRepository.cs b/src/SJZY.Track.Repository/OrderLink/Services/OrderLinkRepository.cs
new file mode 100644
index 00000000..5085004b
--- /dev/null
+++ b/src/SJZY.Track.Repository/OrderLink/Services/OrderLinkRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.OrderLink.Entitys;
+
+namespace SJZY.Track.Repository.OrderLink.Services
+{
+ public class OrderLinkRepository : BasicRepository, IOrderLinkRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/OrderTemplate/Entitys/OrderTemplateEntity.cs b/src/SJZY.Track.Repository/OrderTemplate/Entitys/OrderTemplateEntity.cs
new file mode 100644
index 00000000..8c6b589e
--- /dev/null
+++ b/src/SJZY.Track.Repository/OrderTemplate/Entitys/OrderTemplateEntity.cs
@@ -0,0 +1,35 @@
+namespace SJZY.Track.Repository.OrderTemplate.Entitys
+{
+ ///
+ /// 轨迹订单模板表(1:N)
+ ///
+ [SugarTable("t_order_template")]
+ public class OrderTemplateEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 订单id
+ ///
+ [SugarColumn(ColumnName = "OrderId")]
+ public int OrderId { get; set; }
+
+ ///
+ /// 服务商id
+ ///
+ [SugarColumn(ColumnName = "ServiceProviderId")]
+ public int ServiceProviderId { get; set; }
+
+ ///
+ /// 模板id
+ ///
+ [SugarColumn(ColumnName = "TrackTemplateId")]
+ public int TrackTemplateId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/OrderTemplate/Services/IOrderTemplateRepository.cs b/src/SJZY.Track.Repository/OrderTemplate/Services/IOrderTemplateRepository.cs
new file mode 100644
index 00000000..39279ef4
--- /dev/null
+++ b/src/SJZY.Track.Repository/OrderTemplate/Services/IOrderTemplateRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.OrderTemplate.Entitys;
+
+namespace SJZY.Track.Repository.OrderTemplate.Services
+{
+ public interface IOrderTemplateRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/OrderTemplate/Services/OrderTemplateRepository.cs b/src/SJZY.Track.Repository/OrderTemplate/Services/OrderTemplateRepository.cs
new file mode 100644
index 00000000..3bf0346a
--- /dev/null
+++ b/src/SJZY.Track.Repository/OrderTemplate/Services/OrderTemplateRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.OrderTemplate.Entitys;
+
+namespace SJZY.Track.Repository.OrderTemplate.Services
+{
+ public class OrderTemplateRepository : BasicRepository, IOrderTemplateRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/SJZY.Track.Repository.csproj b/src/SJZY.Track.Repository/SJZY.Track.Repository.csproj
index 97ea5bf1..1583dea7 100644
--- a/src/SJZY.Track.Repository/SJZY.Track.Repository.csproj
+++ b/src/SJZY.Track.Repository/SJZY.Track.Repository.csproj
@@ -20,4 +20,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/SJZY.Track.Repository/TrackContent/Entitys/TrackContentEntity.cs b/src/SJZY.Track.Repository/TrackContent/Entitys/TrackContentEntity.cs
new file mode 100644
index 00000000..29ef777a
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackContent/Entitys/TrackContentEntity.cs
@@ -0,0 +1,53 @@
+namespace SJZY.Track.Repository.TrackContent.Entitys
+{
+ ///
+ /// 轨迹内容
+ ///
+ [SugarTable("t_track_content")]
+ public class TrackContentEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 轨迹内容代码
+ ///
+ [SugarColumn(ColumnName = "Code")]
+ public string Code { get; set; }
+
+ ///
+ /// 轨迹内容
+ ///
+ [SugarColumn(ColumnName = "Content")]
+ public string Content { get; set; }
+
+ ///
+ /// 轨迹内容英文
+ ///
+ [SugarColumn(ColumnName = "EnContent")]
+ public string EnContent { get; set; }
+
+ ///
+ /// 子系统id
+ ///
+ [SugarColumn(ColumnName = "SubSystemId")]
+ public int SubSystemId { get; set; }
+
+ ///
+ /// 轨迹标记id
+ ///
+ [SugarColumn(ColumnName = "TrackFlagId")]
+ public int TrackFlagId { get; set; }
+
+ ///
+ /// 所属轨迹状态id
+ ///
+ [SugarColumn(ColumnName = "TrackStatusId")]
+ public int TrackStatusId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackContent/Services/ITrackContentRepository.cs b/src/SJZY.Track.Repository/TrackContent/Services/ITrackContentRepository.cs
new file mode 100644
index 00000000..e07a950a
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackContent/Services/ITrackContentRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackContent.Entitys;
+
+namespace SJZY.Track.Repository.TrackContent.Services
+{
+ public interface ITrackContentRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackContent/Services/TrackContentRepository.cs b/src/SJZY.Track.Repository/TrackContent/Services/TrackContentRepository.cs
new file mode 100644
index 00000000..28163046
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackContent/Services/TrackContentRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackContent.Entitys;
+
+namespace SJZY.Track.Repository.TrackContent.Services
+{
+ public class TrackContentRepository : BasicRepository, ITrackContentRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackContentMap/Entitys/TrackContentMapEntity.cs b/src/SJZY.Track.Repository/TrackContentMap/Entitys/TrackContentMapEntity.cs
new file mode 100644
index 00000000..b8b5f757
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackContentMap/Entitys/TrackContentMapEntity.cs
@@ -0,0 +1,29 @@
+namespace SJZY.Track.Repository.TrackContentMap.Entitys
+{
+ ///
+ /// 轨迹内容映射表
+ ///
+ [SugarTable("t_track_content_map")]
+ public class TrackContentMapEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 映射轨迹内容id
+ ///
+ [SugarColumn(ColumnName = "MapTrackContentId")]
+ public int MapTrackContentId { get; set; }
+
+ ///
+ /// 源轨迹内容id
+ ///
+ [SugarColumn(ColumnName = "TrackContentId")]
+ public int TrackContentId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackContentMap/Services/ITrackContentMapRepository.cs b/src/SJZY.Track.Repository/TrackContentMap/Services/ITrackContentMapRepository.cs
new file mode 100644
index 00000000..9aab5da6
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackContentMap/Services/ITrackContentMapRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackContentMap.Entitys;
+
+namespace SJZY.Track.Repository.TrackContentMap.Services
+{
+ public interface ITrackContentMapRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackContentMap/Services/TrackContentMapRepository.cs b/src/SJZY.Track.Repository/TrackContentMap/Services/TrackContentMapRepository.cs
new file mode 100644
index 00000000..4e6783c4
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackContentMap/Services/TrackContentMapRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackContentMap.Entitys;
+
+namespace SJZY.Track.Repository.TrackContentMap.Services
+{
+ public class TrackContentMapRepository : BasicRepository, ITrackContentMapRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackFlag/Entitys/TrackFlagEntity.cs b/src/SJZY.Track.Repository/TrackFlag/Entitys/TrackFlagEntity.cs
new file mode 100644
index 00000000..11b86c26
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackFlag/Entitys/TrackFlagEntity.cs
@@ -0,0 +1,35 @@
+namespace SJZY.Track.Repository.TrackFlag.Entitys
+{
+ ///
+ /// 轨迹标记表
+ ///
+ [SugarTable("t_track_flag")]
+ public class TrackFlagEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 标记代码
+ ///
+ [SugarColumn(ColumnName = "Code")]
+ public string Code { get; set; }
+
+ ///
+ /// 标记名称
+ ///
+ [SugarColumn(ColumnName = "Name")]
+ public string Name { get; set; }
+
+ ///
+ /// 子系统id
+ ///
+ [SugarColumn(ColumnName = "SubSystemId")]
+ public int SubSystemId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackFlag/Services/ITrackFlagRepository.cs b/src/SJZY.Track.Repository/TrackFlag/Services/ITrackFlagRepository.cs
new file mode 100644
index 00000000..709655e5
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackFlag/Services/ITrackFlagRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackFlag.Entitys;
+
+namespace SJZY.Track.Repository.TrackFlag.Services
+{
+ public interface ITrackFlagRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackFlag/Services/TrackFlagRepository.cs b/src/SJZY.Track.Repository/TrackFlag/Services/TrackFlagRepository.cs
new file mode 100644
index 00000000..2a6977fc
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackFlag/Services/TrackFlagRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackFlag.Entitys;
+
+namespace SJZY.Track.Repository.TrackFlag.Services
+{
+ public class TrackFlagRepository : BasicRepository, ITrackFlagRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPullConfig/Entitys/TrackPullConfigEntity.cs b/src/SJZY.Track.Repository/TrackPullConfig/Entitys/TrackPullConfigEntity.cs
new file mode 100644
index 00000000..5efa67b0
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPullConfig/Entitys/TrackPullConfigEntity.cs
@@ -0,0 +1,47 @@
+namespace SJZY.Track.Repository.TrackPullConfig.Entitys
+{
+ ///
+ /// 轨迹拉取配置表
+ ///
+ [SugarTable("t_track_pull_config")]
+ public class TrackPullConfigEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 解析方式,1取接口通返参映射后的,2取服务商原返参
+ ///
+ [SugarColumn(ColumnName = "ParseMethod")]
+ public int ParseMethod { get; set; }
+
+ ///
+ /// 服务商拉取频率(分钟)
+ ///
+ [SugarColumn(ColumnName = "PullInterval")]
+ public int PullInterval { get; set; }
+
+ ///
+ /// 服务商id
+ ///
+ [SugarColumn(ColumnName = "ServiceProviderId")]
+ public int ServiceProviderId { get; set; }
+
+ ///
+ /// 子系统id
+ ///
+ [SugarColumn(ColumnName = "SubSystemId")]
+ public int SubSystemId { get; set; }
+
+ ///
+ /// 模板id
+ ///
+ [SugarColumn(ColumnName = "TrackTemplateId")]
+ public int TrackTemplateId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackPullConfig/Services/ITrackPullConfigRepository.cs b/src/SJZY.Track.Repository/TrackPullConfig/Services/ITrackPullConfigRepository.cs
new file mode 100644
index 00000000..646bc6bc
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPullConfig/Services/ITrackPullConfigRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPullConfig.Entitys;
+
+namespace SJZY.Track.Repository.TrackPullConfig.Services
+{
+ public interface ITrackPullConfigRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPullConfig/Services/TrackPullConfigRepository.cs b/src/SJZY.Track.Repository/TrackPullConfig/Services/TrackPullConfigRepository.cs
new file mode 100644
index 00000000..f99ae2ce
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPullConfig/Services/TrackPullConfigRepository.cs
@@ -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, ITrackPullConfigRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPullContentConfig/Entitys/TrackPullContentConfigEntity.cs b/src/SJZY.Track.Repository/TrackPullContentConfig/Entitys/TrackPullContentConfigEntity.cs
new file mode 100644
index 00000000..cf3e4b9d
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPullContentConfig/Entitys/TrackPullContentConfigEntity.cs
@@ -0,0 +1,71 @@
+namespace SJZY.Track.Repository.TrackPullContentConfig.Entitys
+{
+ ///
+ /// 轨迹拉取内容配置表
+ ///
+ [SugarTable("t_track_pull_content_config")]
+ public class TrackPullContentConfigEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 服务商轨迹代码参数值
+ ///
+ [SugarColumn(ColumnName = "TrackContentCodeValue")]
+ public string TrackContentCodeValue { get; set; }
+
+ ///
+ /// 轨迹内容id
+ ///
+ [SugarColumn(ColumnName = "TrackContentId")]
+ public int TrackContentId { get; set; }
+
+ ///
+ /// 服务商轨迹内容参数值
+ ///
+ [SugarColumn(ColumnName = "TrackContentValue")]
+ public string TrackContentValue { get; set; }
+
+ ///
+ /// 轨迹关键词(正向),多个逗分隔
+ ///
+ [SugarColumn(ColumnName = "TrackKeyword")]
+ public string TrackKeyword { get; set; }
+
+ ///
+ /// 轨迹关键词(反向),多个逗分隔
+ ///
+ [SugarColumn(ColumnName = "TrackKeywordReverse")]
+ public string TrackKeywordReverse { get; set; }
+
+ ///
+ /// 轨迹发生地参数值(主数据枚举)
+ ///
+ [SugarColumn(ColumnName = "TrackPlaceValue")]
+ public int? TrackPlaceValue { get; set; }
+
+ ///
+ /// 轨迹拉取配置id
+ ///
+ [SugarColumn(ColumnName = "TrackPullConfigId")]
+ public int TrackPullConfigId { get; set; }
+
+ ///
+ /// 服务商轨迹状态参数值
+ ///
+ [SugarColumn(ColumnName = "TrackStatusValue")]
+ public string TrackStatusValue { get; set; }
+
+ ///
+ /// 轨迹时区GMT
+ ///
+ [SugarColumn(ColumnName = "TrackTimeZone")]
+ public string TrackTimeZone { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackPullContentConfig/Services/ITrackPullContentConfigRepository.cs b/src/SJZY.Track.Repository/TrackPullContentConfig/Services/ITrackPullContentConfigRepository.cs
new file mode 100644
index 00000000..9fce3f8a
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPullContentConfig/Services/ITrackPullContentConfigRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPullContentConfig.Entitys;
+
+namespace SJZY.Track.Repository.TrackPullContentConfig.Services
+{
+ public interface ITrackPullContentConfigRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPullContentConfig/Services/TrackPullContentConfigRepository.cs b/src/SJZY.Track.Repository/TrackPullContentConfig/Services/TrackPullContentConfigRepository.cs
new file mode 100644
index 00000000..05ae7d19
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPullContentConfig/Services/TrackPullContentConfigRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPullContentConfig.Entitys;
+
+namespace SJZY.Track.Repository.TrackPullContentConfig.Services
+{
+ public class TrackPullContentConfigRepository : BasicRepository, ITrackPullContentConfigRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushConfig/Entitys/TrackPushConfigEntity.cs b/src/SJZY.Track.Repository/TrackPushConfig/Entitys/TrackPushConfigEntity.cs
new file mode 100644
index 00000000..5c99ec50
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushConfig/Entitys/TrackPushConfigEntity.cs
@@ -0,0 +1,47 @@
+namespace SJZY.Track.Repository.TrackPushConfig.Entitys
+{
+ ///
+ /// 轨迹推送配置表
+ ///
+ [SugarTable("t_track_push_config")]
+ public class TrackPushConfigEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 客户id(外部主体id)
+ ///
+ [SugarColumn(ColumnName = "CustomId")]
+ public int CustomId { get; set; }
+
+ ///
+ /// 是否自动推送
+ ///
+ [SugarColumn(ColumnName = "IsAutoPush")]
+ public bool IsAutoPush { get; set; }
+
+ ///
+ /// 服务商id(客户:服务商 1:1)
+ ///
+ [SugarColumn(ColumnName = "ServiceProviderId")]
+ public int ServiceProviderId { get; set; }
+
+ ///
+ /// 子系统id
+ ///
+ [SugarColumn(ColumnName = "SubSystemId")]
+ public int SubSystemId { get; set; }
+
+ ///
+ /// 模板id(多个之间英文逗号分隔)
+ ///
+ [SugarColumn(ColumnName = "TrackTemplateId")]
+ public string TrackTemplateId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackPushConfig/Services/ITrackPushConfigRepository.cs b/src/SJZY.Track.Repository/TrackPushConfig/Services/ITrackPushConfigRepository.cs
new file mode 100644
index 00000000..72f31a32
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushConfig/Services/ITrackPushConfigRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushConfig.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushConfig.Services
+{
+ public interface ITrackPushConfigRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushConfig/Services/TrackPushConfigRepository.cs b/src/SJZY.Track.Repository/TrackPushConfig/Services/TrackPushConfigRepository.cs
new file mode 100644
index 00000000..529fef74
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushConfig/Services/TrackPushConfigRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushConfig.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushConfig.Services
+{
+ public class TrackPushConfigRepository : BasicRepository, ITrackPushConfigRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushContentConfig/Entitys/TrackPushContentConfigEntity.cs b/src/SJZY.Track.Repository/TrackPushContentConfig/Entitys/TrackPushContentConfigEntity.cs
new file mode 100644
index 00000000..7caefd7a
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushContentConfig/Entitys/TrackPushContentConfigEntity.cs
@@ -0,0 +1,77 @@
+namespace SJZY.Track.Repository.TrackPushContentConfig.Entitys
+{
+ ///
+ /// 轨迹推送内容配置表
+ ///
+ [SugarTable("t_track_push_content_config")]
+ public class TrackPushContentConfigEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 扩展字段参数值
+ ///
+ [SugarColumn(ColumnName = "ExpandFieldsValue")]
+ public string ExpandFieldsValue { get; set; }
+
+ ///
+ /// 推送单号类型(主数据枚举TrackOrderType)
+ ///
+ [SugarColumn(ColumnName = "OrderNoType")]
+ public int OrderNoType { get; set; }
+
+ ///
+ /// 推送轨迹排序
+ ///
+ [SugarColumn(ColumnName = "Sort")]
+ public int Sort { get; set; }
+
+ ///
+ /// 轨迹代码参数值
+ ///
+ [SugarColumn(ColumnName = "TrackContentCodeValue")]
+ public string TrackContentCodeValue { get; set; }
+
+ ///
+ /// 轨迹内容id
+ ///
+ [SugarColumn(ColumnName = "TrackContentId")]
+ public int TrackContentId { get; set; }
+
+ ///
+ /// 轨迹内容参数值
+ ///
+ [SugarColumn(ColumnName = "TrackContentValue")]
+ public string TrackContentValue { get; set; }
+
+ ///
+ /// 轨迹内容英文参数值
+ ///
+ [SugarColumn(ColumnName = "TrackEnContentValue")]
+ public string TrackEnContentValue { get; set; }
+
+ ///
+ /// 轨迹推送配置id
+ ///
+ [SugarColumn(ColumnName = "TrackPushConfigId")]
+ public int TrackPushConfigId { get; set; }
+
+ ///
+ /// 轨迹状态参数值
+ ///
+ [SugarColumn(ColumnName = "TrackStatusValue")]
+ public string TrackStatusValue { get; set; }
+
+ ///
+ /// 轨迹时区GMT
+ ///
+ [SugarColumn(ColumnName = "TrackTimeZone")]
+ public string TrackTimeZone { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackPushContentConfig/Services/ITrackPushContentConfigRepository.cs b/src/SJZY.Track.Repository/TrackPushContentConfig/Services/ITrackPushContentConfigRepository.cs
new file mode 100644
index 00000000..aac710d9
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushContentConfig/Services/ITrackPushContentConfigRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushContentConfig.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushContentConfig.Services
+{
+ public interface ITrackPushContentConfigRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushContentConfig/Services/TrackPushContentConfigRepository.cs b/src/SJZY.Track.Repository/TrackPushContentConfig/Services/TrackPushContentConfigRepository.cs
new file mode 100644
index 00000000..0c2eb86e
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushContentConfig/Services/TrackPushContentConfigRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushContentConfig.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushContentConfig.Services
+{
+ public class TrackPushContentConfigRepository : BasicRepository, ITrackPushContentConfigRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Entitys/TrackPushPullParamsConfigEntity.cs b/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Entitys/TrackPushPullParamsConfigEntity.cs
new file mode 100644
index 00000000..3f0ca590
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Entitys/TrackPushPullParamsConfigEntity.cs
@@ -0,0 +1,83 @@
+namespace SJZY.Track.Repository.TrackPushPullParamsConfig.Entitys
+{
+ ///
+ /// 轨迹拉取/推送参数配置
+ ///
+ [SugarTable("t_track_push_pull_params_config")]
+ public class TrackPushPullParamsConfigEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 扩展字段参数名
+ ///
+ [SugarColumn(ColumnName = "ExpandFieldsName")]
+ public string ExpandFieldsName { get; set; }
+
+ ///
+ /// 推拉模式,0拉取,1推送
+ ///
+ [SugarColumn(ColumnName = "IsPush")]
+ public bool IsPush { get; set; }
+
+ ///
+ /// 单号参数名
+ ///
+ [SugarColumn(ColumnName = "OrderNoName")]
+ public string OrderNoName { get; set; }
+
+ ///
+ /// 推拉配置id
+ ///
+ [SugarColumn(ColumnName = "PullOrPushConfigId")]
+ public int PullOrPushConfigId { get; set; }
+
+ ///
+ /// 轨迹时区参数名
+ ///
+ [SugarColumn(ColumnName = "TackTimeZoneName")]
+ public string TackTimeZoneName { get; set; }
+
+ ///
+ /// 轨迹代码参数名
+ ///
+ [SugarColumn(ColumnName = "TrackContentCodeName")]
+ public string TrackContentCodeName { get; set; }
+
+ ///
+ /// 轨迹内容参数名
+ ///
+ [SugarColumn(ColumnName = "TrackContentName")]
+ public string TrackContentName { get; set; }
+
+ ///
+ /// 轨迹内容英文参数名
+ ///
+ [SugarColumn(ColumnName = "TrackEnContentName")]
+ public string TrackEnContentName { get; set; }
+
+ ///
+ /// 轨迹发生地参数名
+ ///
+ [SugarColumn(ColumnName = "TrackPlaceName")]
+ public string TrackPlaceName { get; set; }
+
+ ///
+ /// 轨迹状态参数名
+ ///
+ [SugarColumn(ColumnName = "TrackStatusName")]
+ public string TrackStatusName { get; set; }
+
+ ///
+ /// 轨迹发生时间参数名
+ ///
+ [SugarColumn(ColumnName = "TrackTimeName")]
+ public string TrackTimeName { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Services/ITrackPushPullParamsConfigRepository.cs b/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Services/ITrackPushPullParamsConfigRepository.cs
new file mode 100644
index 00000000..4098b145
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Services/ITrackPushPullParamsConfigRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushPullParamsConfig.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushPullParamsConfig.Services
+{
+ public interface ITrackPushPullParamsConfigRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Services/TrackPushPullParamsConfigRepository.cs b/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Services/TrackPushPullParamsConfigRepository.cs
new file mode 100644
index 00000000..a24556d1
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushPullParamsConfig/Services/TrackPushPullParamsConfigRepository.cs
@@ -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, ITrackPushPullParamsConfigRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushRecord/Entitys/TrackPushRecordEntity.cs b/src/SJZY.Track.Repository/TrackPushRecord/Entitys/TrackPushRecordEntity.cs
new file mode 100644
index 00000000..0eeca89e
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushRecord/Entitys/TrackPushRecordEntity.cs
@@ -0,0 +1,59 @@
+namespace SJZY.Track.Repository.TrackPushRecord.Entitys
+{
+ ///
+ /// 轨迹推送记录
+ ///
+ [SugarTable("t_track_push_record")]
+ public class TrackPushRecordEntity
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 创建时间(推送时间)
+ ///
+ [SugarColumn(ColumnName = "CreateTime")]
+ public DateTime CreateTime { get; set; }
+
+ ///
+ /// 创建人(推送人)
+ ///
+ [SugarColumn(ColumnName = "CreateUserId")]
+ public int CreateUserId { get; set; }
+
+ ///
+ /// 是否自动推送
+ ///
+ [SugarColumn(ColumnName = "IsAutoPush")]
+ public bool IsAutoPush { get; set; }
+
+ ///
+ /// 推送内容
+ ///
+ [SugarColumn(ColumnName = "PushContent")]
+ public string PushContent { get; set; }
+
+ ///
+ /// 接口通请求id
+ ///
+ [SugarColumn(ColumnName = "RequestId")]
+ public string RequestId { get; set; }
+
+ ///
+ /// 服务商id
+ ///
+ [SugarColumn(ColumnName = "ServiceProviderId")]
+ public int ServiceProviderId { get; set; }
+
+ ///
+ /// 推送轨迹总数
+ ///
+ [SugarColumn(ColumnName = "TrackTotal")]
+ public string TrackTotal { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackPushRecord/Services/ITrackPushRecordRepository.cs b/src/SJZY.Track.Repository/TrackPushRecord/Services/ITrackPushRecordRepository.cs
new file mode 100644
index 00000000..cac702c2
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushRecord/Services/ITrackPushRecordRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushRecord.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushRecord.Services
+{
+ public interface ITrackPushRecordRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushRecord/Services/TrackPushRecordRepository.cs b/src/SJZY.Track.Repository/TrackPushRecord/Services/TrackPushRecordRepository.cs
new file mode 100644
index 00000000..06a72739
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushRecord/Services/TrackPushRecordRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushRecord.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushRecord.Services
+{
+ public class TrackPushRecordRepository : BasicRepository, ITrackPushRecordRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushRecordDetails/Entitys/TrackPushRecordDetailsEntity.cs b/src/SJZY.Track.Repository/TrackPushRecordDetails/Entitys/TrackPushRecordDetailsEntity.cs
new file mode 100644
index 00000000..73140fd9
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushRecordDetails/Entitys/TrackPushRecordDetailsEntity.cs
@@ -0,0 +1,47 @@
+namespace SJZY.Track.Repository.TrackPushRecordDetails.Entitys
+{
+ ///
+ /// 轨迹推送明细表
+ ///
+ [SugarTable("t_track_push_record_details")]
+ public class TrackPushRecordDetailsEntity
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 创建时间(消费完成时间)
+ ///
+ [SugarColumn(ColumnName = "CreateTime")]
+ public DateTime CreateTime { get; set; }
+
+ ///
+ /// 异常信息
+ ///
+ [SugarColumn(ColumnName = "ErrorMessage")]
+ public string ErrorMessage { get; set; }
+
+ ///
+ /// 是否成功
+ ///
+ [SugarColumn(ColumnName = "IsSuccess")]
+ public bool IsSuccess { get; set; }
+
+ ///
+ /// 订单id
+ ///
+ [SugarColumn(ColumnName = "OrderId")]
+ public int OrderId { get; set; }
+
+ ///
+ /// 推送记录id
+ ///
+ [SugarColumn(ColumnName = "PushRecordId")]
+ public int PushRecordId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackPushRecordDetails/Services/ITrackPushRecordDetailsRepository.cs b/src/SJZY.Track.Repository/TrackPushRecordDetails/Services/ITrackPushRecordDetailsRepository.cs
new file mode 100644
index 00000000..85047d16
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushRecordDetails/Services/ITrackPushRecordDetailsRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushRecordDetails.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushRecordDetails.Services
+{
+ public interface ITrackPushRecordDetailsRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackPushRecordDetails/Services/TrackPushRecordDetailsRepository.cs b/src/SJZY.Track.Repository/TrackPushRecordDetails/Services/TrackPushRecordDetailsRepository.cs
new file mode 100644
index 00000000..20cd54e3
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackPushRecordDetails/Services/TrackPushRecordDetailsRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackPushRecordDetails.Entitys;
+
+namespace SJZY.Track.Repository.TrackPushRecordDetails.Services
+{
+ public class TrackPushRecordDetailsRepository : BasicRepository, ITrackPushRecordDetailsRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackStatus/Entitys/TrackStatusEntity.cs b/src/SJZY.Track.Repository/TrackStatus/Entitys/TrackStatusEntity.cs
new file mode 100644
index 00000000..f0d60726
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackStatus/Entitys/TrackStatusEntity.cs
@@ -0,0 +1,47 @@
+namespace SJZY.Track.Repository.TrackStatus.Entitys
+{
+ ///
+ /// 轨迹状态表
+ ///
+ [SugarTable("t_track_status")]
+ public class TrackStatusEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 轨迹状态代码
+ ///
+ [SugarColumn(ColumnName = "Code")]
+ public string Code { get; set; }
+
+ ///
+ /// 轨迹状态英文
+ ///
+ [SugarColumn(ColumnName = "EnStatus")]
+ public string EnStatus { get; set; }
+
+ ///
+ /// 所属节点(主数据枚举ServiceNode)
+ ///
+ [SugarColumn(ColumnName = "Node")]
+ public int Node { get; set; }
+
+ ///
+ /// 轨迹状态
+ ///
+ [SugarColumn(ColumnName = "Status")]
+ public string Status { get; set; }
+
+ ///
+ /// 子系统id
+ ///
+ [SugarColumn(ColumnName = "SubSystemId")]
+ public int SubSystemId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackStatus/Services/ITrackStatusRepository.cs b/src/SJZY.Track.Repository/TrackStatus/Services/ITrackStatusRepository.cs
new file mode 100644
index 00000000..aeed1fbf
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackStatus/Services/ITrackStatusRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackStatus.Entitys;
+
+namespace SJZY.Track.Repository.TrackStatus.Services
+{
+ public interface ITrackStatusRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackStatus/Services/TrackStatusRepository.cs b/src/SJZY.Track.Repository/TrackStatus/Services/TrackStatusRepository.cs
new file mode 100644
index 00000000..67425dff
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackStatus/Services/TrackStatusRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackStatus.Entitys;
+
+namespace SJZY.Track.Repository.TrackStatus.Services
+{
+ public class TrackStatusRepository : BasicRepository, ITrackStatusRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackTemplate/Entitys/TrackTemplateEntity.cs b/src/SJZY.Track.Repository/TrackTemplate/Entitys/TrackTemplateEntity.cs
new file mode 100644
index 00000000..1dfbad6c
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackTemplate/Entitys/TrackTemplateEntity.cs
@@ -0,0 +1,35 @@
+namespace SJZY.Track.Repository.TrackTemplate.Entitys
+{
+ ///
+ /// 轨迹模板表
+ ///
+ [SugarTable("t_track_template")]
+ public class TrackTemplateEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 模板代码
+ ///
+ [SugarColumn(ColumnName = "Code")]
+ public string Code { get; set; }
+
+ ///
+ /// 模板名称
+ ///
+ [SugarColumn(ColumnName = "Name")]
+ public string Name { get; set; }
+
+ ///
+ /// 子系统id
+ ///
+ [SugarColumn(ColumnName = "SubSystemId")]
+ public int SubSystemId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackTemplate/Services/ITrackTemplateRepository.cs b/src/SJZY.Track.Repository/TrackTemplate/Services/ITrackTemplateRepository.cs
new file mode 100644
index 00000000..240aadaa
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackTemplate/Services/ITrackTemplateRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackTemplate.Entitys;
+
+namespace SJZY.Track.Repository.TrackTemplate.Services
+{
+ public interface ITrackTemplateRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackTemplate/Services/TrackTemplateRepository.cs b/src/SJZY.Track.Repository/TrackTemplate/Services/TrackTemplateRepository.cs
new file mode 100644
index 00000000..e3347eac
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackTemplate/Services/TrackTemplateRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackTemplate.Entitys;
+
+namespace SJZY.Track.Repository.TrackTemplate.Services
+{
+ public class TrackTemplateRepository : BasicRepository, ITrackTemplateRepository, IScopedDependency
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackTemplateContent/Entitys/TrackTemplateContentEntity.cs b/src/SJZY.Track.Repository/TrackTemplateContent/Entitys/TrackTemplateContentEntity.cs
new file mode 100644
index 00000000..32c4ce66
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackTemplateContent/Entitys/TrackTemplateContentEntity.cs
@@ -0,0 +1,47 @@
+namespace SJZY.Track.Repository.TrackTemplateContent.Entitys
+{
+ ///
+ /// 轨迹模板内容表(1:N)
+ ///
+ [SugarTable("t_track_template_content")]
+ public class TrackTemplateContentEntity : IFullAuditedBasicEntitys
+ {
+
+ ///
+ /// 自增主键
+ ///
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
+ public int Id { get; set; }
+
+ ///
+ /// 是否可删
+ ///
+ [SugarColumn(ColumnName = "IsCanDelete")]
+ public bool IsCanDelete { get; set; }
+
+ ///
+ /// 是否对外
+ ///
+ [SugarColumn(ColumnName = "IsExternal")]
+ public bool IsExternal { get; set; }
+
+ ///
+ /// 排序
+ ///
+ [SugarColumn(ColumnName = "Sort")]
+ public int Sort { get; set; }
+
+ ///
+ /// 轨迹内容id
+ ///
+ [SugarColumn(ColumnName = "TrackContentId")]
+ public int TrackContentId { get; set; }
+
+ ///
+ /// 模板id
+ ///
+ [SugarColumn(ColumnName = "TrackTemplateId")]
+ public int TrackTemplateId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/src/SJZY.Track.Repository/TrackTemplateContent/Services/ITrackTemplateContentRepository.cs b/src/SJZY.Track.Repository/TrackTemplateContent/Services/ITrackTemplateContentRepository.cs
new file mode 100644
index 00000000..0894357d
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackTemplateContent/Services/ITrackTemplateContentRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackTemplateContent.Entitys;
+
+namespace SJZY.Track.Repository.TrackTemplateContent.Services
+{
+ public interface ITrackTemplateContentRepository : ISimpleClient
+ {
+
+ }
+}
diff --git a/src/SJZY.Track.Repository/TrackTemplateContent/Services/TrackTemplateContentRepository.cs b/src/SJZY.Track.Repository/TrackTemplateContent/Services/TrackTemplateContentRepository.cs
new file mode 100644
index 00000000..3ba4d5a2
--- /dev/null
+++ b/src/SJZY.Track.Repository/TrackTemplateContent/Services/TrackTemplateContentRepository.cs
@@ -0,0 +1,9 @@
+using SJZY.Track.Repository.TrackTemplateContent.Entitys;
+
+namespace SJZY.Track.Repository.TrackTemplateContent.Services
+{
+ public class TrackTemplateContentRepository : BasicRepository, ITrackTemplateContentRepository, IScopedDependency
+ {
+
+ }
+}