11
This commit is contained in:
195
Reportapi/MyCode.Project.Domain/Model/JackOrders.cs
Normal file
195
Reportapi/MyCode.Project.Domain/Model/JackOrders.cs
Normal file
@@ -0,0 +1,195 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using SqlSugar;
|
||||
|
||||
namespace MyCode.Project.Domain.Model
|
||||
{
|
||||
///<summary>
|
||||
///
|
||||
///</summary>
|
||||
[SugarTable("JackOrders")]
|
||||
public partial class JackOrders
|
||||
{
|
||||
public JackOrders(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true,ColumnName="id")]
|
||||
public Guid Id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:销售单id(吉客云内码)
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="tradeId")]
|
||||
public string TradeId {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:平台优惠
|
||||
/// Default:0
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="couponFee")]
|
||||
public decimal? CouponFee {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:实付金额
|
||||
/// Default:0
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="realFee")]
|
||||
public decimal? RealFee {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:店铺编码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="shopCode")]
|
||||
public string ShopCode {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:发货单单号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="orderNo")]
|
||||
public string OrderNo {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:订单编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="tradeNo")]
|
||||
public string TradeNo {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:是否删除(0:否;1:是)
|
||||
/// Default:0
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="isDelete")]
|
||||
public int? IsDelete {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="mainPostid")]
|
||||
public string MainPostid {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="companyName")]
|
||||
public string CompanyName {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:标记名称
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="flagNames")]
|
||||
public string FlagNames {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="shopName")]
|
||||
public string ShopName {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="warehouseName")]
|
||||
public string WarehouseName {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="warehouseCode")]
|
||||
public string WarehouseCode {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="logisticName")]
|
||||
public string LogisticName {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="tradeFrom")]
|
||||
public int? TradeFrom {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="warehouseId")]
|
||||
public string WarehouseId {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:店铺id
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="shopId")]
|
||||
public long? ShopId {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="shopTypeCode")]
|
||||
public string ShopTypeCode {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="apiType")]
|
||||
public int? ApiType {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:DateTime.Now
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="createTime")]
|
||||
public DateTime? CreateTime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:
|
||||
/// Default:DateTime.Now
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="updateTime")]
|
||||
public DateTime? UpdateTime {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -6,110 +6,127 @@ using SqlSugar;
|
||||
namespace MyCode.Project.Domain.Model
|
||||
{
|
||||
///<summary>
|
||||
///
|
||||
///工作调度
|
||||
///</summary>
|
||||
[SugarTable("sys_workprocess")]
|
||||
public partial class SysWorkprocess
|
||||
[SugarTable("SysWorkProcess")]
|
||||
public partial class SysWorkProcess
|
||||
{
|
||||
public SysWorkprocess(){
|
||||
public SysWorkProcess(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:主键
|
||||
/// Desc:ID
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true,ColumnName="id")]
|
||||
public long Id {get;set;}
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public Guid ID {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:路径
|
||||
/// Desc:对应的商家。
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="type_path")]
|
||||
public string TypePath {get;set;}
|
||||
public Guid MerchantID {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:最后修改时间
|
||||
/// Desc:执行类型。1=类对象,2=存储过程
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="edit_time")]
|
||||
public DateTime EditTime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:数字越小,优先级越高
|
||||
/// Default:0
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="priority")]
|
||||
public int Priority {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:类型1:函数
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="func_type")]
|
||||
public int FuncType {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:异常信息
|
||||
/// Default:NULL
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="exception_info")]
|
||||
public string ExceptionInfo {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注信息
|
||||
/// Default:NULL
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="remark")]
|
||||
public string Remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:执行情况,0:等待执行 1:执行中 9:执行成功 2:执行失败
|
||||
/// Desc:执行的类
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="status")]
|
||||
public int Status {get;set;}
|
||||
public string FuncClass {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:执行的模块
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string FuncMethod {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:参数信息
|
||||
/// Default:NULL
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="parameter_info")]
|
||||
public string ParameterInfo {get;set;}
|
||||
public string ParamInfo {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:方法名
|
||||
/// Desc:执行时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? ExecuteTime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:重试次数
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="method_name")]
|
||||
public string MethodName {get;set;}
|
||||
public int RetryCount {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:公司ID
|
||||
/// Desc:异常信息
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string ExceptionInfo {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:执行状态。0=等待,1=执行,2=异常暂停,3=执行完成
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="company_id")]
|
||||
public long CompanyId {get;set;}
|
||||
public int FuncStatus {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建人
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string Creater {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:创建时间
|
||||
/// Default:NULL
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime CreateTime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:编辑人
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string Editor {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:编辑时间
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public DateTime EditTime {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName="create_time")]
|
||||
public DateTime? CreateTime {get;set;}
|
||||
public string Remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:数字越小,优先级越高
|
||||
/// Default:5
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public int? Priority {get;set;}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,13 +77,13 @@
|
||||
<Compile Include="Message\Response\WebSocket\ConnUser`.cs" />
|
||||
<Compile Include="Message\Response\WorkProcess\WorkProcessResp.cs" />
|
||||
<Compile Include="Model\ApiLog.cs" />
|
||||
<Compile Include="Model\JackOrders.cs" />
|
||||
<Compile Include="Model\SysWorkprocess.cs" />
|
||||
<Compile Include="Model\SysWorkprocessHistory.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Repositories\IApiLogRepository.cs" />
|
||||
<Compile Include="Repositories\IJackOrdersRepository.cs" />
|
||||
<Compile Include="Repositories\IRepository.cs" />
|
||||
<Compile Include="Repositories\IRepository`.cs" />
|
||||
<Compile Include="Repositories\ISysWorkprocessHistoryRepository.cs" />
|
||||
<Compile Include="Repositories\ISysWorkprocessRepository.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MyCode.Project.Infrastructure;
|
||||
using MyCode.Project.Domain;
|
||||
using MyCode.Project.Domain.Model;
|
||||
using MyCode.Project.Infrastructure.Common;
|
||||
using MyCode.Project.Domain.Message;
|
||||
|
||||
namespace MyCode.Project.Domain.Repositories
|
||||
{
|
||||
public interface IJackOrdersRepository : IRepository<JackOrders>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -8,11 +8,21 @@ using MyCode.Project.Domain;
|
||||
using MyCode.Project.Domain.Model;
|
||||
using MyCode.Project.Infrastructure.Common;
|
||||
using MyCode.Project.Domain.Message;
|
||||
using MyCode.Project.Infrastructure.Enumeration;
|
||||
|
||||
namespace MyCode.Project.Domain.Repositories
|
||||
{
|
||||
public interface ISysWorkprocessRepository : IRepository<SysWorkprocess>
|
||||
public interface ISysWorkProcessRepository : IRepository<SysWorkProcess>
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 是否存在调度
|
||||
/// </summary>
|
||||
/// <param name="funcType">执行类型</param>
|
||||
/// <param name="merchantId">商家ID</param>
|
||||
/// <param name="funcClass">执行类</param>
|
||||
/// <param name="funcMethod">执行方法名</param>
|
||||
/// <param name="paramInfo">参数信息</param>
|
||||
/// <returns></returns>
|
||||
bool Exists(FuncType funcType, Guid merchantId, string funcClass, string funcMethod, string paramInfo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user