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

+26
View File
@@ -0,0 +1,26 @@
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface IBarcodeService:IService<BaseEntity>
{
Task<BarCodeMsg> GetBarCodeMsg(string barcode, string orgId,string billType="");
Task<RetMessage> GetBarcodeInfo(string barcode, int billType, string orgId, bool isMix);
Task<RetMessage> GetMESWorkOrderInfo(string barcode);
Task<RetMessage> GetStockTakingBarcodeInfo(string barcode, string orgId);
Task<RetMessage> GetBarcodeInfoIsAdd(string barcode,string orgId, bool isMix);
Task<RetMessage> SplitBarcode(SplitInputDto inputDto);
Task<RetMessage> MergeBarcode(MergeInputDto inputDto);
Task<RetMessage> UpBarcodeInfo(UpBarCodeInfoDto inputDto);
Task<RetMessage> InBox(InBoxInputDto inputDto);
Task<RetMessage> OutBox(OutBoxInputDto inputDto);
Task<RetMessage> ImportBarCode(ImportBarcodeDto inputDto);
Task<RetMessage> ImportStockTakingBarCode(ImportBarcodeDto inputDto);
}
}
@@ -0,0 +1,26 @@
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface IBillHandleService : IService<BaseEntity>
{
Task<List<TRAN_INFO>> QuerySelBill();
Task<RetMessage> QueryBillInfo(JObject data);
Task<RetMessage> QueryBarCode(JObject data);
/// <summary>
/// 出入库复核提交
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> CheckSubmit(string orgID, string TranType, string fbillNo, List<BarCodeMsg<BD_BARCODERS2>> barcodeList);
}
}
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface ICallMaterialService : IService<BaseEntity>
{
Task<RetMessage> GetCallBillInfo(GetCallMaterialBillInfoPara para);
Task<RetMessage> CallMaterialSubmit(List<CallMaterialSubmitHead> callBills);
Task<RetMessage> CallMaterialQueryBarcode(string barcode);
Task<RetMessage> StartSend(string billNo);
Task<RetMessage> SendTo(List<string> billNo);
}
}
+28
View File
@@ -0,0 +1,28 @@
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface IInStockService : IService<BaseEntity>
{
/// <summary>
/// 提交出入库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> InStockSubmit(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 提交出退库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> RetStockSubmit(InputBarCode<BD_BARCODERS2> request);
}
}
@@ -0,0 +1,31 @@
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
/// <summary>
/// 其他入库、其他出库
/// </summary>
public interface IMisInStockService : IService<BaseEntity>
{
/// <summary>
/// 提交入库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> MisInStockSubmit(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 提交出库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> MisRetStockSubmit(InputBarCode<BD_BARCODERS2> request);
}
}
@@ -0,0 +1,29 @@
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface IOEMInStockService : IService<BaseEntity>
{
/// <summary>
/// 提交出入库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> InStockSubmit(InputBarCode<BD_BARCODERS5> request);
/// <summary>
/// 提交出库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> RetStockSubmit(InputBarCode<BD_BARCODERS5> request);
}
}
+74
View File
@@ -0,0 +1,74 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
/// <summary>
/// 销售出库
/// </summary>
public interface IOutStockService : IService<BaseEntity>
{
/// <summary>
/// 销售出库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SaleOutStockSubmit(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 销售出库(套件)信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SaleOutStockSuitSubmit(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 销售退货信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SaleInStockSubmit(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 销售退货(套件)信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SaleInStockSuitSubmit(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 销售复核(扫条码/扫箱码)
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SaleCheckScanSourceBill(JObject request);
/// <summary>
/// 销售复核(扫条码/扫箱码)
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SaleCheckScanCode(JObject request);
/// <summary>
/// 销售复核(暂存)
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SaleCheckTemporaryStorage(string FBILLNO, string orgID, List<BarCodeMsg<BD_BARCODERS2>> barcodeList);
/// <summary>
/// 销售复核(提交)
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SaleCheckSubmit(string FBILLNO, string orgID, List<BarCodeMsg<BD_BARCODERS2>> barcodeList);
}
}
@@ -0,0 +1,28 @@
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface IPickInventoryService : IService<BaseEntity>
{
Task<RetMessage> GetPickInventoryDetail(PickInventoryParameter para);
Task<RetMessage> ScanOrRemoveBarcode(PickInventoryBarcodeParameter para);
Task<RetMessage> GetPickTaskList(string companyId, int type);
Task<RetMessage> TakePickTask(string companyId, string eventBillNo);
Task<RetMessage> GetContainerInfo(string companyId, string containerNo);
Task<RetMessage> GetInventoryInfo(string taskSubRowDetailId);
Task<RetMessage> QueryBarcode(string companyId, string barcode);
Task<RetMessage> ScanBarcode(PickTaskScanBarcodePara para);
Task<RetMessage> ErrorReport(PickTaskErrorReportPara para);
}
}
+34
View File
@@ -0,0 +1,34 @@
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface IPickMtrlService:IService<BaseEntity>
{
/// <summary>
/// 生产领料提交
/// </summary>
/// <param name="orgId">组织Id</param>
/// <param name="barcodeList">录入条码集合</param>
/// <returns></returns>
Task<RetMessage> PickMtrlSubmit(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 生产退料提交
/// </summary>
/// <param name="orgId">组织Id</param>
/// <param name="barcodeList">录入条码集合</param>
/// <returns></returns>
Task<RetMessage> ReturnMtrlSubmit(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 生产补料提交
/// </summary>
/// <param name="orgId">组织Id</param>
/// <param name="barcodeList">录入条码集合</param>
/// <returns></returns>
Task<RetMessage> FeedMtrlSubmit(InputBarCode<BD_BARCODERS2> request);
}
}
@@ -0,0 +1,14 @@
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface IProductBarcodeCheckService : IService<BaseEntity>
{
Task<bool> SubmitSave(List<ProductBarcodeCheckRequest> input);
}
}
@@ -0,0 +1,95 @@
using System;
using System.Collections.Generic;
using System.Text;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using System.Data;
using System.Threading.Tasks;
using Opsoft.NetCore.O3App.Shared;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface ISTKAPPINSPECTService : IService<BaseEntity>
{
/// <summary>
/// 获取基本资料列表
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<List<GetBDInformation>> GetBDInformation(GetBDInformationParameter SData);
/// <summary>
/// 获取AQL
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<object> GetAQL(getAQL SData);
/// <summary>
/// 获取检验项目
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<DataTable> GetTestItems(GetTestItems SData);
/// <summary>
/// 获取抽样数量/AC/RE
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<FSampleQtyACRE> GetACRE(GetACRE SData);
/// <summary>
/// 验证测试值是否合格
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<Boolean> ValueIsQualified(ValueIsQualified SData);
/// <summary>
/// 获取检验单列表
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<DataTable> InStockInspectionList(InStockInspectionListRequest SData);
/// <summary>
/// 获取检验项目详情
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<List<InspectionItemsDetails>> InspectionItems(InspectionItems SData);
/// <summary>
/// 验证条码
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<Boolean> TestBarcode(TestBarcode SData);
/// <summary>
/// 检验单提交
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<string> InspectionItemsSubmit(InspectionItemsSubmit SData);
/// <summary>
/// 请检单提交
/// </summary>
/// <param name="barcodeList"></param>
/// <returns></returns>
Task<string> SubmitSTKAPPInspect(StkAppInspectSubmitRequest request);
/// <summary>
/// 上传检验文件
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<string> UploadTestFile(UploadTestFile SData);
}
}
@@ -0,0 +1,28 @@
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface ISTKInStockService : IService<BaseEntity>
{
/// <summary>
/// 提交出入库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> STKInStockSubmit(InputBarCode<BD_BARCODERS1> request);
/// <summary>
/// 提交出退库信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> PURRetStockSubmit(InputBarCode<BD_BARCODERS1> request);
}
}
@@ -0,0 +1,24 @@
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.BaseData.Model;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface ISTKInventoryService : IService<BaseEntity>
{
/// <summary>
/// 库存查询
/// </summary>
/// <param name="stockList"></param>
/// <returns></returns>
Task<Dictionary<string, object>> QueryInventory(JObject paramaters);
}
}
@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
/// <summary>
/// 盘点方案
/// </summary>
public interface ISTKStockSchemeService : IService<BaseEntity>
{
/// <summary>
/// 查询盘点方案
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<QuerySourceInvPrgReturnDto> QuerySourceInvPrg(STKStockScheme SData);
/// <summary>
/// 盘点方案提交
/// </summary>
/// <param name="SData"></param>
/// <returns></returns>
Task<string> SubmitBill(Barcode_Inv SData);
}
}
@@ -0,0 +1,24 @@
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface ISTKTransferService : IService<BaseEntity>
{
/// <summary>
/// 调拨管理
/// </summary>
/// <param name="orgID"></param>
/// <param name="barcodeList"></param>
/// <param name="tranType"></param>
/// <returns></returns>
Task<RetMessage> STKTransferSubmit(InputBarCode<BD_BARCODERS2> request);
}
}
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
/// <summary>
/// 委外入库/委外退货
/// </summary>
public interface ISUBInStkPickmtlService : IService<BaseEntity>
{
/// <summary>
/// 委外入库
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SUBInStkPickmtl(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 委外退货
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SUBOutStkPickmtl(InputBarCode<BD_BARCODERS2> request);
}
}
@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
/// <summary>
/// 委外领料/委外退料
/// </summary>
public interface ISUBPICKMTRLService : IService<BaseEntity>
{
/// <summary>
/// 委外领料
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SUBPICKMTRL(InputBarCode<BD_BARCODERS2> request);
/// <summary>
/// 委外退料
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> SUBRETURNMTRL(InputBarCode<BD_BARCODERS2> request);
}
}
+47
View File
@@ -0,0 +1,47 @@
using Newtonsoft.Json.Linq;
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface ISelBillService : IService<BaseEntity>
{
/// <summary>
/// 查询出入库流程配置
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<List<BOS_SELBILL>> QuerySelBill(string orgID, string data);
/// <summary>
/// 扫描源单编号,查询源单信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> QuerySourceBillInfo(JObject data);
/// <summary>
/// 查询条码信息
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> QueryBarCode(JObject data);
/// <summary>
/// 扫描位置信息,查询仓库仓位
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> QueryStockData(JObject data);
/// <summary>
/// 查询仓库库存状态
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
Task<RetMessage> QueryStockStatus(JObject data);
}
}
@@ -0,0 +1,16 @@
using Opsoft.NetCore.O3App.Domain.Interface;
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
using Opsoft.NetCore.O3App.Shared;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IServices
{
public interface ISimpleProductionService : IService<BaseEntity>
{
Task<RetMessage> SimplePickMtrlSubmit(InputBarCode<BD_BARCODERS2> request);
Task<RetMessage> SimpleReturnMtrlSubmit(InputBarCode<BD_BARCODERS2> request);
Task<RetMessage> SimpleInStockSubmit(InputBarCode<BD_BARCODERS2> request);
Task<RetMessage> SimpleOutStockSubmit(InputBarCode<BD_BARCODERS2> request);
}
}