baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)

This commit is contained in:
Gaussian committed 2026-11-06 18:38:38 +08:00
commit c2b0e7be0d
6522 files changed
+3530643

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Opsoft.NetCore.O3App.Domain.Interface
{
public class BaseEntity
{
}
}
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
using Opsoft.NetCore.O3App.Domain.Models;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
namespace Opsoft.NetCore.O3App.Domain.Interface
{
public interface IRepository<TEntity> where TEntity : BaseEntity
{
public LoginRequest LoginInfo { get; set; }
public string GetBillType(string sourceType, string sourceBillTypeID, List<BOS_SELBILL> selBillList, out string billTypeID);
}
}
+10
View File
@@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Opsoft.NetCore.O3App.Domain.Interface
{
public interface IService<T> where T : BaseEntity
{
}
}
+17
View File
@@ -0,0 +1,17 @@
using Opsoft.NetCore.O3App.Domain.Models;
namespace Opsoft.NetCore.O3App.Domain
{
/// <summary>
/// Provides access to the <see cref="TraceContext"/> for the current request.
/// </summary>
public interface ITraceContextAccessor
{
/// <summary>
/// The <see cref="TraceContext"/> for the current request.
/// </summary>
TraceContext TraceContext { get; set; }
long TransactionSequence { get; }
}
}
+24
View File
@@ -0,0 +1,24 @@
using Opsoft.NetCore.O3App.Domain.Models;
namespace Opsoft.NetCore.O3App.Domain
{
/// <summary>
/// A factory for creating and disposing an instance of a <see cref="TraceContext"/>.
/// </summary>
public interface ITraceContextFactory
{
/// <summary>
/// Creates a new <see cref="TraceContext"/> with the Trace ID set for the current request.
/// </summary>
/// <param name="traceId">The Trace ID to set on the context.</param>
/// /// <param name="header">The header used to hold the Trace ID.</param>
/// <returns>A new instance of a <see cref="TraceContext"/>.</returns>
TraceContext Create(string traceId, string header);
/// <summary>
/// Disposes of the <see cref="TraceContext"/> for the current request.
/// </summary>
void Dispose();
}
}