baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
@@ -0,0 +1,49 @@
|
||||
using System.Collections;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using System.Data;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
|
||||
{
|
||||
public interface IBarcodeRepository:IRepository<BaseEntity>
|
||||
{
|
||||
Task<List<BarCodeMsg>> GetBarcodeMsg(string barcode, string orgId, string billType = "");
|
||||
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfoAsync(string barcode);
|
||||
Task<string> GetScanBarcodeInfoAsync(string sql,int dtoType);
|
||||
Task<List<BD_BARCODERSENTRY>> GetBoxedBarcodeAsync(string sql);
|
||||
Task<List<SpMeBarcodeInfoDto>> GetSpMeBarcodeInfoAsync(string sql);
|
||||
Task<List<InBoxBarcodeInfoDto>> GetInBoxBarcodeInfoAsync(string sql);
|
||||
Task<string> GetBoxRootInfoXmlStrAsync(string sql);
|
||||
Task<decimal> GetBaseUnitQtyAsync(string materialId, string unitId, string baseUnitId, decimal qty);
|
||||
Task<int> UpdateBarcodeQtyAsync(string sql);
|
||||
Task<int> ExecuteSqlNoneQueryAsync(string sql);
|
||||
Task<int> ExecuteSqlNoneQueryAsync(List<string> sqlStrList);
|
||||
Task<string> CreateBillNo(string billInfoJson);
|
||||
Task<string> CreateBarcode(string billDataJson,string prgKey);
|
||||
Task<Hashtable> GetSystemParameters(string key);
|
||||
|
||||
/// <summary>
|
||||
/// 拆箱操作
|
||||
/// </summary>
|
||||
/// <param name="inputDto"></param>
|
||||
/// <returns></returns>
|
||||
Task SplitBox(OutBoxInputDto inputDto);
|
||||
|
||||
/// <summary>
|
||||
/// 查询DataTable
|
||||
/// </summary>
|
||||
/// <param name="sql"></param>
|
||||
/// <returns></returns>
|
||||
Task<DataSet> GetDataSet(List<string> sqlList);
|
||||
|
||||
Task<DataTable> GetDataTable(string sql);
|
||||
/// <summary>
|
||||
/// 获取条码相关的校验数据
|
||||
/// </summary>
|
||||
/// <param name="barcode"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfo(string barcode,string orgId);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
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.IRepositories
|
||||
{
|
||||
public interface IBillHandleRepository : IRepository<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,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
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.IRepositories
|
||||
{
|
||||
public interface ICallMaterialRepository : IRepository<BaseEntity>
|
||||
{
|
||||
DataTable SqlQuery(string sql);
|
||||
List<T> SqlQuery<T>(string sql) where T : class, new();
|
||||
Task<List<T>> SqlQueryAsync<T>(string sql) where T : class, new();
|
||||
Task<int> ExecuteSqlAsync(List<string> sqlList);
|
||||
|
||||
Task<int> ExecuteTransactionAsync(List<string> sqlList);
|
||||
Task<int> ExecuteSqlAsync(string sql);
|
||||
Task<string> CreateBillNo(string billInfoJson);
|
||||
decimal QtyUnitConvert(string materialId, string unitFrom, string unitTo, decimal qty);
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
|
||||
{
|
||||
public interface IInStockRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 提交入库信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> InStockSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
/// <summary>
|
||||
/// 提交退库信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> RetStockSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
|
||||
{
|
||||
public interface IMisInStockRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 提交入库信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> MisInStockSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList); //BARCODE2成品源单表
|
||||
|
||||
/// <summary>
|
||||
/// 提交出库信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> MisRetStockSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
|
||||
{
|
||||
public interface IOEMInStockRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 提交入库信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> InStockSubmit(InputBarCode<BD_BARCODERS5> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
/// <summary>
|
||||
/// 提交出库信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> RetStockSubmit(InputBarCode<BD_BARCODERS5> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
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.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 销售出库
|
||||
/// </summary>
|
||||
public interface IOutStockRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 销售出库信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SaleOutStockSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
/// <summary>
|
||||
/// 销售退货信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SaleInStockSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 销售出库(套件)信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SaleOutStockSuitSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 销售退库(套件)信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SaleInStockSuitSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
/// <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,21 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
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.IRepositories
|
||||
{
|
||||
public interface IPickInventoryRepository : IRepository<BaseEntity>
|
||||
{
|
||||
DataTable SqlQuery(string sql);
|
||||
List<T> SqlQuery<T>(string sql) where T : class, new();
|
||||
List<PickInventoryBarcodeInfo> GetBarcodeInfos(string sql);
|
||||
Task<List<T>> SqlQueryAsync<T>(string sql) where T : class, new();
|
||||
Task<int> ExecuteSqlAsync(List<string> sqlList);
|
||||
Task<int> ExecuteSqlAsync(string sql);
|
||||
Task<string> CreateBillNo(string billInfoJson);
|
||||
decimal QtyUnitConvert(string materialId, string unitFrom, string unitTo, decimal qty);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
using System.Collections;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
|
||||
{
|
||||
public interface IPickMtrlRepository : IRepository<BaseEntity>
|
||||
{
|
||||
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfoAsync(string barcode);
|
||||
|
||||
Task<List<SOURCEBILLINFO>> GetSourceBillDataAsync(string sqlStr);
|
||||
|
||||
Task<string> CreateBillNo(string strJson, int billType);
|
||||
|
||||
Task<Hashtable> GetSystemParameters(string key);
|
||||
|
||||
decimal GetQty2(string materialId, string unitFrom, string unitTo, decimal qty);
|
||||
|
||||
Task<int> ExecuteTransactionAsync(List<string> sqlStrList);
|
||||
|
||||
string GetUpdateInventoryQtySqlStr(
|
||||
string orgID,
|
||||
List<BarCodeMsg<BD_BARCODERS2>> inputMaterialList,
|
||||
bool isPlus,
|
||||
ref List<string> exeSqlStrList);
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
|
||||
{
|
||||
public interface IProductBarcodeCheckRepository : IRepository<BaseEntity>
|
||||
{
|
||||
Task<List<string>> ExecuteAsync(Dictionary<string, string> sqlList);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using System.Data;
|
||||
using System.Threading.Tasks;
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
|
||||
{
|
||||
public interface ISTKAPPINSPECTRepository : IRepository<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>
|
||||
/// 验证测试值是否合格
|
||||
/// </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<string> InspectionItemsSubmit(InspectionItemsSubmit SData);
|
||||
|
||||
/// <summary>
|
||||
/// 获取BILLNO
|
||||
/// </summary>
|
||||
/// <param name="date"></param>
|
||||
/// <returns></returns>
|
||||
Task<string> CreateBillNo(DateTime date,string tranType,string tableName);
|
||||
/// <summary>
|
||||
/// 批量执行insert,事务
|
||||
/// </summary>
|
||||
/// <param name="sqlList"></param>
|
||||
/// <returns></returns>
|
||||
Task<int> ExecuteTransactionAsync(List<string> sqlList);
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.IRepositories
|
||||
{
|
||||
public interface ISTKInStockRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 外购入库信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> STKInStockSubmit(InputBarCode<BD_BARCODERS1> request, List<BOS_SELBILL> selBillList); //BARCODE2成品源单表
|
||||
|
||||
/// <summary>
|
||||
/// 外购退料信息
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> PURRetStockSubmit(InputBarCode<BD_BARCODERS1> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
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.IRepositories
|
||||
{
|
||||
public interface ISTKInventoryRepository : IRepository<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.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 盘点方案
|
||||
/// </summary>
|
||||
public interface ISTKStockSchemeRepository : IRepository<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 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.IRepositories
|
||||
{
|
||||
public interface ISTKTransferRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 调拨管理
|
||||
/// </summary>
|
||||
/// <param name="orgID"></param>
|
||||
/// <param name="tranType"></param>
|
||||
/// <param name="selBillList"></param>
|
||||
/// <param name="barcodeList"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> STKTransferSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 委外入库/委外退货
|
||||
/// </summary>
|
||||
public interface ISUBInStkPickmtlRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 委外入库
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SUBInStkPickmtl(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 委外退货
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SUBOutStkPickmtl(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
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.IRepositories
|
||||
{
|
||||
/// <summary>
|
||||
/// 委外领料/委外退料
|
||||
/// </summary>
|
||||
public interface ISUBPICKMTRLRepository : IRepository<BaseEntity>
|
||||
{
|
||||
/// <summary>
|
||||
/// 委外领料
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SUBPICKMTRL(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
/// <summary>
|
||||
/// 委外退料
|
||||
/// </summary>
|
||||
/// <param name="orgID"></param>
|
||||
/// <param name="tranType"></param>
|
||||
/// <param name="selBillList"></param>
|
||||
/// <param name="barcodeList"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SUBRETURNMTRL(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
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.IRepositories
|
||||
{
|
||||
public interface ISelBillRepository : IRepository<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,25 @@
|
||||
using Opsoft.Data;
|
||||
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.IRepositories
|
||||
{
|
||||
public interface ISimpleProductionRepository: IRepository<BaseEntity>
|
||||
{
|
||||
Task<List<BarcodeCheckInfo>> GetBarcodeCheckInfoAsync(APPServerContext dbContext, string barcode);
|
||||
Task<int> ExecuteTransactionAsync(APPServerContext dbContext, List<string> sqlStrList);
|
||||
string CreateBillNo(APPServerContext dbContext, string strJson, int billType);
|
||||
|
||||
/// <summary>
|
||||
/// 简单生产退库
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
Task<RetMessage> SimpleOutStockSubmit(InputBarCode<BD_BARCODERS2> request, List<BOS_SELBILL> selBillList);
|
||||
|
||||
decimal GetQty2(string materialId, string unitFrom, string unitTo, decimal qty);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
+497
@@ -0,0 +1,497 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 扫描条码条码信息实体1
|
||||
/// </summary>
|
||||
public class BarcodeInfoDto1
|
||||
{
|
||||
public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this);
|
||||
public string FBARCODE { get; set; }
|
||||
public int? FBARTYPE { get; set; }
|
||||
public int? FBARCODESTATUS { get; set; }
|
||||
public bool? FISBOX { get; set; }
|
||||
public int FBOXCODETYPE { get; set; }
|
||||
public bool? FISMIX { get; set; }
|
||||
public bool? FINBOX { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public decimal? FQTY { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FUNITNAME { get; set; }
|
||||
public decimal? FBASEQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public bool? FDELETED { get; set; }
|
||||
public string FCOMPANYID { get; set; }
|
||||
public string FDETAILID { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public DateTime? FKFDATE { get; set; }
|
||||
public string FSTOCKSTATUSID { get; set; }
|
||||
public DateTime? FUSEFULDATE { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 扫描条码条码信息实体2
|
||||
/// </summary>
|
||||
public class BarcodeInfoDto2
|
||||
{
|
||||
public string FBARCODE { get; set; }
|
||||
public int? FBARTYPE { get; set; }
|
||||
public bool? FISBOX { get; set; }
|
||||
public bool? FINBOX { get; set; }
|
||||
public decimal? FQTY { get; set; }
|
||||
public bool? FDELETED { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 扫描条码条码信息实体3
|
||||
/// </summary>
|
||||
public class BarcodeInfoDto3
|
||||
{
|
||||
public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this);
|
||||
public string FBARCODE { get; set; }
|
||||
public int? FBARTYPE { get; set; }
|
||||
public int? FBARCODESTATUS { get; set; }
|
||||
public bool? FISBOX { get; set; }
|
||||
public bool? FISMIX { get; set; }
|
||||
public bool? FINBOX { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public decimal? FQTY { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FUNITNAME { get; set; }
|
||||
public decimal? FBASEQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public bool? FDELETED { get; set; }
|
||||
public string FCOMPANYID { get; set; }
|
||||
public string FDETAILID { get; set; }
|
||||
public string MIXBOXFACTOR { get; set; }
|
||||
}
|
||||
public class BarcodeInfoDto4
|
||||
{
|
||||
public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this);
|
||||
public string FBARCODE { get; set; }
|
||||
public int? FBARTYPE { get; set; }
|
||||
public int? FBARCODESTATUS { get; set; }
|
||||
public int FBOXCODETYPE { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public string FMODELNO { get; set; }
|
||||
public decimal? FQTY { get; set; }
|
||||
public decimal? FBASEQTY { get; set; }
|
||||
public string FCOMPANYID { get; set; }
|
||||
public string FSTOCKSTATUSID { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
}
|
||||
public class BarcodeInfoDto5
|
||||
{
|
||||
public object this[string prop] => this.GetType().GetProperty(prop).GetValue(this);
|
||||
public string FBARCODE { get; set; }
|
||||
public string FMODELNO { get; set; }
|
||||
public string FSN { get; set; }
|
||||
public string FMOBILLNO { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码拆分合并条码信息实体
|
||||
/// </summary>
|
||||
public class SpMeBarcodeInfoDto
|
||||
{
|
||||
public string FINTERID { get; set; }
|
||||
public decimal FTOTALQTY { get; set; }
|
||||
public DateTime? FMFGDATE { get; set; }
|
||||
public string FOBARCODE { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public int FBARCODESTATUS { get; set; }
|
||||
public string FBARCODE { get; set; }
|
||||
public bool FISBOX { get; set; }
|
||||
public bool FISMIX { get; set; }
|
||||
public string FLOTID { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public int FSTOCKSTATUS { get; set; }
|
||||
public DateTime? FINSPECTDATE { get; set; }
|
||||
public string FINSPECTID { get; set; }
|
||||
public string FSUPPLYID { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public DateTime? FDATE { get; set; }
|
||||
public int FKID { get; set; }
|
||||
public decimal FQTY { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
public string FCURRID { get; set; }
|
||||
public bool FINBOX { get; set; }
|
||||
public DateTime? FKFDATE { get; set; }
|
||||
public int FKFPERIOD { get; set; }
|
||||
public int FSTATUS { get; set; }
|
||||
public bool FDELETED { get; set; }
|
||||
public int FBARTYPE { get; set; }
|
||||
public decimal FBASEQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FKFUNIT { get; set; }
|
||||
public string FCOMPANYID { get; set; }
|
||||
public decimal FSECUNITQTY { get; set; }
|
||||
public string FSECUNITID { get; set; }
|
||||
public string FKEEPERTYPEID { get; set; }
|
||||
public string FKEEPERID { get; set; }
|
||||
public string FOWNERTYPEID { get; set; }
|
||||
public string FOWNERID { get; set; }
|
||||
public string FSTOCKSTATUSID { get; set; }
|
||||
public DateTime? FUSEFULDATE { get; set; }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码拆分输入参数实体
|
||||
/// </summary>
|
||||
public class SplitInputDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否自动拆分调用
|
||||
/// </summary>
|
||||
public bool IsAutoSplit { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 是否拣货调用
|
||||
/// </summary>
|
||||
public bool IsPickInventory { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 被拆分条码拆分后剩余数量
|
||||
/// </summary>
|
||||
public decimal RemainQty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 被拆分条码
|
||||
/// </summary>
|
||||
public string Barcode { get; set; }
|
||||
/// <summary>
|
||||
/// 当前单位内码(处理源单单位与条码单位不一致)
|
||||
/// </summary>
|
||||
public string CurrentUnitId { get; set; } = "";
|
||||
|
||||
public string TranType { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 拆分明细(除了第一条记录的条码是被拆分条码,其余的条码都为空只传数量)
|
||||
/// </summary>
|
||||
public List<SplitInputBarcodeInfo> SplitInfo { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码拆分输入参数中条码实体
|
||||
/// </summary>
|
||||
public class SplitInputBarcodeInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 拆分条码
|
||||
/// </summary>
|
||||
public string Barcode { get; set; }
|
||||
/// <summary>
|
||||
/// 拆分数量
|
||||
/// </summary>
|
||||
public decimal Qty { get; set; }
|
||||
/// <summary>
|
||||
/// 辅助单位数量
|
||||
/// </summary>
|
||||
public decimal FSECUNITQTY { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码合并输入参数实体
|
||||
/// </summary>
|
||||
public class MergeInputDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 合并明细
|
||||
/// </summary>
|
||||
public List<MergeInputBarcodeInfo> MergeInfo { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码合并输入参数中条码实体
|
||||
/// </summary>
|
||||
public class MergeInputBarcodeInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 要合并的条码
|
||||
/// </summary>
|
||||
public string Barcode { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public decimal Qty { get; set; }
|
||||
/// <summary>
|
||||
/// 基本单位数量
|
||||
/// </summary>
|
||||
public decimal BaseQty { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码装箱输入参数实体
|
||||
/// </summary>
|
||||
public class InBoxInputDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否混装
|
||||
/// </summary>
|
||||
public bool? IsMix { get; set; }
|
||||
/// <summary>
|
||||
/// 装箱条码状态
|
||||
/// </summary>
|
||||
public int BoxCodeType { get; set; }
|
||||
/// <summary>
|
||||
/// 是否追加装箱
|
||||
/// </summary>
|
||||
public bool? IsAdd { get; set; }
|
||||
/// <summary>
|
||||
/// 箱码
|
||||
/// </summary>
|
||||
public string BoxCode { get; set; }
|
||||
/// <summary>
|
||||
/// 装箱明细
|
||||
/// </summary>
|
||||
public List<InBoxInputBarcodeInfo> InBoxInfo { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 盘点条码导入
|
||||
/// </summary>
|
||||
public class ImportStockTakingBarcodeDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 功能标识
|
||||
/// </summary>
|
||||
public string TranType { get; set; }
|
||||
public string orgid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码明细
|
||||
/// </summary>
|
||||
public List<ImportStockTakingBarcode> InBoxInfo { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 盘点条码导入功能
|
||||
/// </summary>
|
||||
public class ImportStockTakingBarcode
|
||||
{
|
||||
/// <summary>
|
||||
/// 车号
|
||||
/// </summary>
|
||||
public int FNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码
|
||||
/// </summary>
|
||||
public string Barcode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 外部条码导入
|
||||
/// </summary>
|
||||
public class ImportBarcodeDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 功能标识
|
||||
/// </summary>
|
||||
public string TranType { get; set; }
|
||||
public string orgid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码明细
|
||||
/// </summary>
|
||||
public List<ImportBarcode> InBoxInfo { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 外部条码导入功能
|
||||
/// </summary>
|
||||
public class ImportBarcode
|
||||
{
|
||||
/// <summary>
|
||||
/// 收料通知单
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
/// <summary>
|
||||
/// 收料通知单行号
|
||||
/// </summary>
|
||||
public int FENTRYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码
|
||||
/// </summary>
|
||||
public string Barcode { get; set; }
|
||||
public string FNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码装箱输入参数中条码实体
|
||||
/// </summary>
|
||||
public class InBoxInputBarcodeInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 被装箱条码
|
||||
/// </summary>
|
||||
public string Barcode { get; set; }
|
||||
/// <summary>
|
||||
/// 条码状态
|
||||
/// </summary>
|
||||
public int BarStatus { get; set; }
|
||||
/// <summary>
|
||||
/// 是否箱码
|
||||
/// </summary>
|
||||
public bool? IsBox { get; set; }
|
||||
/// <summary>
|
||||
/// 箱数
|
||||
/// </summary>
|
||||
public int CartonNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public decimal Qty { get; set; }
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string UnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 基本单位数量
|
||||
/// </summary>
|
||||
public decimal BaseQty { get; set; }
|
||||
/// <summary>
|
||||
/// 基本单位
|
||||
/// </summary>
|
||||
public string BaseUnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 混装条件(暂时用不到)
|
||||
/// </summary>
|
||||
public string MixBoxFactor { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码装箱条码信息实体
|
||||
/// </summary>
|
||||
public class InBoxBarcodeInfoDto
|
||||
{
|
||||
public string FBARCODE { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public bool FISBOX { get; set; }
|
||||
public bool FINBOX { get; set; }
|
||||
public int FBARTYPE { get; set; }
|
||||
public int FBARCODESTATUS { get; set; }
|
||||
public bool FDELETED { get; set; }
|
||||
public string FKEEPERTYPEID { get; set; }
|
||||
public string FKEEPERID { get; set; }
|
||||
public string FOWNERTYPEID { get; set; }
|
||||
public string FOWNERID { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码拆箱输入参数实体
|
||||
/// </summary>
|
||||
public class OutBoxInputDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 箱码
|
||||
/// </summary>
|
||||
public string BoxCode { get; set; }
|
||||
/// <summary>
|
||||
/// null标志,暂时用不到
|
||||
/// </summary>
|
||||
public bool IsNull { get; set; }
|
||||
/// <summary>
|
||||
/// 组织ID,暂时用不到
|
||||
/// </summary>
|
||||
public string OrgId { get; set; }
|
||||
/// <summary>
|
||||
/// 拆箱明细
|
||||
/// </summary>
|
||||
public List<OutBoxInputBarcodeInfo> OutBoxInfo { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码拆箱输入参数中条码实体
|
||||
/// </summary>
|
||||
public class OutBoxInputBarcodeInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 箱码内拆出的条码
|
||||
/// </summary>
|
||||
public string Barcode { get; set; }
|
||||
/// <summary>
|
||||
/// 条码拆装箱表体内码
|
||||
/// </summary>
|
||||
public string DetailId { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public int Qty { get; set; }
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
public string UnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 基本单位数量
|
||||
/// </summary>
|
||||
public int BaseQty { get; set; }
|
||||
/// <summary>
|
||||
/// 基本单位
|
||||
/// </summary>
|
||||
public string BaseUnitId { get; set; }
|
||||
/// <summary>
|
||||
/// 物料内码
|
||||
/// </summary>
|
||||
public string MaterialId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class UpBarCodeInfoDto
|
||||
{
|
||||
public string TranType { get; set; } = "";
|
||||
public DateTime? FDate { get; set; }
|
||||
public List<UpBarCodeInfo> barcodeList { get; set; } = new List<UpBarCodeInfo>();
|
||||
}
|
||||
|
||||
public class UpBarCodeInfo
|
||||
{
|
||||
public string FBARCODE { get; set; } = "";
|
||||
public string FSTOCKID { get; set; } = "";
|
||||
public string FSTOCKLOCID { get; set; } = "";
|
||||
public int FSTOCKSTATUS { get; set; }
|
||||
public string FCOMPANYID { get; set; } = "";
|
||||
public string FKEEPERTYPEID { get; set; } = "";
|
||||
public string FKEEPERID { get; set; } = "";
|
||||
public string FOWNERTYPEID { get; set; } = "";
|
||||
public string FOWNERID { get; set; } = "";
|
||||
public string FSTOCKSTATUSID { get; set; } = "";//库存状态
|
||||
}
|
||||
}
|
||||
+148
@@ -0,0 +1,148 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
public class GetCallMaterialBillInfoPara
|
||||
{
|
||||
public string CompanyId { get; set; }
|
||||
public string BillNo { get; set; } = "";
|
||||
public string MoBillNo { get; set; } = "";
|
||||
public string WorkShop { get; set; } = "";
|
||||
public bool IsSend { get; set; } = false;
|
||||
//0=发料;1=配送;2=配送任务
|
||||
public int type { get; set; }
|
||||
}
|
||||
|
||||
public class CallMaterialBillHeadInfo
|
||||
{
|
||||
public CallMaterialBillHeadInfo()
|
||||
{
|
||||
Entries = new List<CallMaterialBillEntryInfo>();
|
||||
}
|
||||
public string FBILLTYPEID { get; set; }
|
||||
public string FBILLTYPENAME { get; set; }
|
||||
public string FINTERID { get; set; }
|
||||
public string FBILLNO { get; set; }
|
||||
public string FWORKSHOPID { get; set; }
|
||||
public string FMOID { get; set; }
|
||||
public string FMOBILLNO { get; set; }
|
||||
public string FMOENTRYID { get; set; }
|
||||
public int FMOENTRYSEQ { get; set; }
|
||||
public string FWORKRESOURCEID { get; set; }
|
||||
public string FCOMPANYID { get; set; }
|
||||
public string FPROCESSID { get; set; }
|
||||
public string FCODE { get; set; }
|
||||
public int FRESPONSE { get; set; }
|
||||
public string FPLANTASKID { get; set; }
|
||||
public string FCARRIER { get; set; }
|
||||
public DateTime? FRESPONSETIME { get; set; }
|
||||
public DateTime? FSERVICETIME { get; set; }
|
||||
public DateTime? FCLOSETIME { get; set; }
|
||||
public bool FISISSUE { get; set; }
|
||||
public string FWORKSHOPNAME { get; set; }
|
||||
public string FWORKRESOURCENAME { get; set; }
|
||||
|
||||
public List<CallMaterialBillEntryInfo> Entries { get; set; }
|
||||
}
|
||||
|
||||
public class CallMaterialBillEntryInfo
|
||||
{
|
||||
public string FINTERID { get; set; }
|
||||
public string FDETAILID { get; set; }
|
||||
public int FENTRYID { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public decimal FQTY { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FUNITNUMBER { get; set; }
|
||||
public string FUNITNAME { get; set; }
|
||||
public decimal FBASEUNITQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITNUMBER { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public decimal FHANGQTY { get; set; }
|
||||
public decimal FHANGBASEQTY { get; set; }
|
||||
public DateTime? FUSEDATE { get; set; }
|
||||
public bool FISURGENT { get; set; }
|
||||
public string FPPBOMID { get; set; }
|
||||
public string FPPBOMBILLNO { get; set; }
|
||||
public string FPPBOMENTRYID { get; set; }
|
||||
public int FPPBOMENTRYSEQ { get; set; }
|
||||
public decimal FPICKEDQTY { get; set; }
|
||||
public decimal FPICKEDBASEQTY { get; set; }
|
||||
}
|
||||
|
||||
public class CallMaterialSubmitHead
|
||||
{
|
||||
public string CallBillId { get; set; }
|
||||
public string CallBillNo { get; set; }
|
||||
public string CompanyId { get; set; }
|
||||
public List<CallMaterialSubmitEntry> Entries { get; set; }
|
||||
}
|
||||
|
||||
public class CallMaterialSubmitEntry
|
||||
{
|
||||
public string CallBillDetailId { get; set; }
|
||||
public int CallBillEntrySeq { get; set; }
|
||||
|
||||
public List<CallMaterialBarcodeInfo> Barcodes { get; set; }
|
||||
}
|
||||
|
||||
public class CallMaterialBarcodeInfo
|
||||
{
|
||||
public string FBARCODE { get; set; }
|
||||
public int FBARTYPE { get; set; }
|
||||
public int FBARCODESTATUS { get; set; }
|
||||
public bool FISBOX { get; set; }
|
||||
public bool FISMIX { get; set; }
|
||||
public int FBOXCODETYPE { get; set; }
|
||||
public bool FINBOX { get; set; }
|
||||
public int FSTOCKSTATUS { get; set; }
|
||||
public string FSTOCKSTATUSID { get; set; }
|
||||
public string FSTOCKSTATUSNAME { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
public decimal FBASEQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITNUMBER { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public decimal FQTY { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FUNITNUMBER { get; set; }
|
||||
public string FUNITNAME { get; set; }
|
||||
public decimal FSECUNITQTY { get; set; }
|
||||
public bool FISSECUNIT { get; set; }
|
||||
public string FSECUNITID { get; set; }
|
||||
public string FSECUNITNUMBER { get; set; }
|
||||
public string FSECUNITNAME { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKNUMBER { get; set; }
|
||||
public string FSTOCKNAME { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
public string FSTOCKLOCNAME { get; set; }
|
||||
public string FKFDATE { get; set; }
|
||||
public string FUSEFULDATE { get; set; }
|
||||
public string FKEEPERID { get; set; }
|
||||
public string FKEEPERTYPEID { get; set; }
|
||||
public string FOWNERID { get; set; }
|
||||
public string FOWNERTYPEID { get; set; }
|
||||
public bool FDELETED { get; set; }
|
||||
public string FKID { get; set; }
|
||||
public int FKFUNIT { get; set; }
|
||||
public int FKFPERIOD { get; set; }
|
||||
public bool FISKFPERIOD { get; set; }
|
||||
public bool IsFeed { get; set; }
|
||||
}
|
||||
}
|
||||
+254
@@ -0,0 +1,254 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 统一返回类型
|
||||
/// </summary>
|
||||
public class CommonRetObj
|
||||
{
|
||||
/// <summary>
|
||||
/// 处理结果 100 成功 200失败
|
||||
/// </summary>
|
||||
public string RetStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 处理消息
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回对象
|
||||
/// </summary>
|
||||
public Object DataObj { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 统一返回类型
|
||||
/// </summary>
|
||||
public class CommonRetList
|
||||
{
|
||||
/// <summary>
|
||||
/// 处理结果 100 成功 200失败
|
||||
/// </summary>
|
||||
public string RetStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 处理消息
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回对象数组
|
||||
/// </summary>
|
||||
public List<Object> DataList { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 静态状态枚举
|
||||
/// </summary>
|
||||
public static class RetStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// 成功状态
|
||||
/// </summary>
|
||||
public const string OKStatus = "100";
|
||||
|
||||
/// <summary>
|
||||
/// 失败状态
|
||||
/// </summary>
|
||||
public const string NGStatus = "200";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码解析传入类
|
||||
/// </summary>
|
||||
public class ResolBarCodeAfferent
|
||||
{
|
||||
/// <summary>
|
||||
/// 表单编码
|
||||
/// </summary>
|
||||
public string FormId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原码报文
|
||||
/// </summary>
|
||||
public string BarCodeMes { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 条码解析返回类
|
||||
/// </summary>
|
||||
public class ResolBarCodeReturn
|
||||
{
|
||||
/// <summary>
|
||||
/// 处理结果 100 成功 200失败
|
||||
/// </summary>
|
||||
public string RetStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 处理消息
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码
|
||||
/// </summary>
|
||||
public string BarCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料ID
|
||||
/// </summary>
|
||||
public string MaterialID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料编码
|
||||
/// </summary>
|
||||
public string MaterialNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
public string MaterialName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料规格
|
||||
/// </summary>
|
||||
public string MaterialSpecification { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产日期
|
||||
/// </summary>
|
||||
public DateTime? ManufactureTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public decimal Quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商ID
|
||||
/// </summary>
|
||||
public string SupplierID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商编码
|
||||
/// </summary>
|
||||
public string SupplierNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商名称
|
||||
/// </summary>
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 批次号
|
||||
/// </summary>
|
||||
public string Lot { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// D/C
|
||||
/// </summary>
|
||||
public string Dc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户ID
|
||||
/// </summary>
|
||||
public string CustomerID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户编码
|
||||
/// </summary>
|
||||
public string CustomerNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户名称
|
||||
/// </summary>
|
||||
public string CustomerName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备用扩展
|
||||
/// </summary>
|
||||
public string SpareExpansion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 过期日期
|
||||
/// </summary>
|
||||
public DateTime? ExpirationTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制造商ID
|
||||
/// </summary>
|
||||
public string ManufacturerID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制造商编码
|
||||
/// </summary>
|
||||
public string ManufacturerNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制造商名称
|
||||
/// </summary>
|
||||
public string ManufacturerName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 湿敏等级ID
|
||||
/// </summary>
|
||||
public string WetsenLevelID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 湿敏等级
|
||||
/// </summary>
|
||||
public string WetsenLevel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 保质期天数
|
||||
/// </summary>
|
||||
public decimal LifeDay { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户物料编码
|
||||
/// </summary>
|
||||
public string CustomerMatNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 制造商物料编码
|
||||
/// </summary>
|
||||
public string ManufacturerMatNumber { get; set; }
|
||||
/// <summary>
|
||||
/// Bin
|
||||
/// </summary>
|
||||
public string BinNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 保质期方案编码
|
||||
/// </summary>
|
||||
public string SHELFLIFEPLANID { get; set; }
|
||||
}
|
||||
|
||||
#region 实时同步ERP用
|
||||
public class SubmitData
|
||||
{
|
||||
public string DBAias { get; set; }
|
||||
public string FSrcFormID { get; set; }
|
||||
public List<string> FinteridKeys { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 提交后同步ERP返回结果
|
||||
/// </summary>
|
||||
public class ToERPResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 执行是否成功
|
||||
/// </summary>
|
||||
public bool ExecuteResult { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行返回结果
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
+263
@@ -0,0 +1,263 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 在库检验单列表传参
|
||||
/// </summary>
|
||||
public class InStockInspectionListRequest
|
||||
{
|
||||
//物料编码或检验单编码
|
||||
public string fNO { get; set; }
|
||||
//检验单类型
|
||||
public string fType { get; set; }
|
||||
//页数
|
||||
public string PageNumber { get; set; }
|
||||
//每页显示数量
|
||||
public string BarNumber { get; set; }
|
||||
//组织ID
|
||||
public string orgID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取检验项目详情传参
|
||||
/// </summary>
|
||||
public class InspectionItems
|
||||
{
|
||||
//组织ID
|
||||
public string orgID { get; set; }
|
||||
//检验单内码
|
||||
public string finterID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取抽样数量/AC/RE传参
|
||||
/// </summary>
|
||||
public class GetACRE
|
||||
{
|
||||
//检验水平
|
||||
public string FQCLEV { get; set; }
|
||||
//AQL
|
||||
public string FAQL { get; set; }
|
||||
//送检数量
|
||||
public string FMQTY { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取抽样数量/AC/RE返回参数
|
||||
/// </summary>
|
||||
public class FSampleQtyACRE
|
||||
{
|
||||
//抽样数量
|
||||
public decimal FSAMPLEQTY { get; set; }
|
||||
//AC
|
||||
public decimal FAC { get; set; }
|
||||
//RE
|
||||
public decimal FRE { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取检验项目详情
|
||||
/// </summary>
|
||||
public class InspectionItemsDetails
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否允许修改
|
||||
/// </summary>
|
||||
public Boolean FISMODIFY { get; set; }
|
||||
//检验单内码
|
||||
public string FINTERID { get; set; }
|
||||
//检验状态(1=待检;2=检验中;3=检验完成)
|
||||
public string FQCSTATE { get; set; }
|
||||
/// <summary>
|
||||
/// 检验结果(1=未知;2=合格;3=不合格)
|
||||
/// </summary>
|
||||
public string FQCRESULT { get; set; }
|
||||
//检验单号
|
||||
public string FBILLNO { get; set; }
|
||||
/// <summary>
|
||||
/// 版本名称
|
||||
/// </summary>
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 10暂存;20提交
|
||||
/// </summary>
|
||||
public string FSTATUS { get; set; }
|
||||
/// <summary>
|
||||
/// 物料内码
|
||||
/// </summary>
|
||||
public string FMATERIALID { get; set; }
|
||||
//物料编码
|
||||
public string FMATERNUMBER { get; set; }
|
||||
//送检数量
|
||||
public string FMQTY { get; set; }
|
||||
//送检日期
|
||||
public DateTime C_YMD { get; set; }
|
||||
//物料名称
|
||||
public string FMATERNAME { get; set; }
|
||||
//规格型号
|
||||
public string FSPECIFICATION { get; set; }
|
||||
//合格数/不合格数
|
||||
public string FGODBADQTY { get; set; }
|
||||
//报废数量
|
||||
public decimal FSCRAPQTY { get; set; }
|
||||
//检验文件号
|
||||
public string FFILENO { get; set; }
|
||||
//检验文件版本内码
|
||||
public string FFILEAUXPROPID { get; set; }
|
||||
//检验文件版本名称
|
||||
public string FFILEAUXPROPNAME { get; set; }
|
||||
//图纸文件号
|
||||
public string FDRAWNO { get; set; }
|
||||
//图纸文件版本内码
|
||||
public string FDRAWAUXPROPID { get; set; }
|
||||
//图纸文件版本名称
|
||||
public string FDRAWAUXPROPNAME { get; set; }
|
||||
//文件版本号集合
|
||||
public object EDITIONLIST { get; set; }
|
||||
//检验项目列表
|
||||
public object Body1 { get; set; }
|
||||
//标准文件列表
|
||||
public object Body2 { get; set; }
|
||||
//ID明细列表
|
||||
public object Body3 { get; set; }
|
||||
//检验文件列表
|
||||
public object Body4 { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取基本资料
|
||||
/// </summary>
|
||||
public class GetBDInformation
|
||||
{
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// 编码
|
||||
/// </summary>
|
||||
public string FNUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取基本资料前端传参
|
||||
/// </summary>
|
||||
public class GetBDInformationParameter
|
||||
{
|
||||
/// <summary>
|
||||
/// 基本资料类型(1=检验工具)
|
||||
/// </summary>
|
||||
public string fType { get; set; }
|
||||
/// <summary>
|
||||
/// 检验工具类型内码
|
||||
/// </summary>
|
||||
public string fGroupID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///获取AQL传参
|
||||
/// </summary>
|
||||
public class getAQL
|
||||
{
|
||||
/// <summary>
|
||||
/// 检验水平类型(1=C=0;2=其他检验水平)
|
||||
/// </summary>
|
||||
public string fType { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取检验项目
|
||||
/// </summary>
|
||||
public class GetTestItems
|
||||
{
|
||||
/// <summary>
|
||||
/// 送检数量
|
||||
/// </summary>
|
||||
public string FMQTY { get; set; }
|
||||
/// <summary>
|
||||
/// 组织
|
||||
/// </summary>
|
||||
public string orgID { get; set; }
|
||||
/// <summary>
|
||||
/// 检验单内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 验证测试值是否合格
|
||||
/// </summary>
|
||||
public class ValueIsQualified
|
||||
{
|
||||
/// <summary>
|
||||
/// 检验标准
|
||||
/// </summary>
|
||||
public string FQCSTD { get; set; }
|
||||
//测试值
|
||||
public string TestValue { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FTOOLUNITID { get; set; }
|
||||
public string FINTERID { get; set; }
|
||||
}
|
||||
|
||||
public class TestBarcode
|
||||
{
|
||||
/// <summary>
|
||||
/// 检验单内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
//条码
|
||||
public string FBARCODE { get; set; }
|
||||
//组织ID
|
||||
public string orgID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 检验单提交传参
|
||||
/// </summary>
|
||||
public class InspectionItemsSubmit
|
||||
{
|
||||
//组织ID
|
||||
public string orgID { get; set; }
|
||||
/// <summary>
|
||||
/// 删除检验项目内码
|
||||
/// </summary>
|
||||
public List<Dictionary<string, object>> deletedItem { get; set; }
|
||||
public string FINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// 10=暂存;20=提交
|
||||
/// </summary>
|
||||
public string FSTATUS { get; set; }
|
||||
public List<Dictionary<string, object>> repair { get; set; }//提交的检验项目明细
|
||||
//public List<Dictionary<string, object>> testValue { get; set; }//提交的定性检测数据
|
||||
public List<Dictionary<string, object>> scarpNum { get; set; }//提交的条码报废数
|
||||
//检验文件号
|
||||
public string FFILENO { get; set; }
|
||||
//检验文件版本内码
|
||||
public string FFILEAUXPROPID { get; set; }
|
||||
//图纸文件号
|
||||
public string FDRAWNO { get; set; }
|
||||
//图纸文件版本内码
|
||||
public string FDRAWAUXPROPID { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class UploadTestFile
|
||||
{
|
||||
//上传文件
|
||||
public IFormFile file { get; set; }
|
||||
//检验单内码
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
public class InspectionRuleValueModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 样本量
|
||||
/// </summary>
|
||||
public int SampleSize { get; set; } = 0;
|
||||
|
||||
public int AC { get; set; } = 0;
|
||||
|
||||
public int RE { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
+275
@@ -0,0 +1,275 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
public class PickInventoryResult
|
||||
{
|
||||
public string InterId { get; set; }
|
||||
public string BillNo { get; set; }
|
||||
public List<PickInventoryResultBarcodeInfo> FrozenBarcodeList { get; set; }
|
||||
public List<PickInventoryResultBarcodeInfo> ScannedBarcodeList { get; set; }
|
||||
|
||||
public PickInventoryResult()
|
||||
{
|
||||
FrozenBarcodeList = new List<PickInventoryResultBarcodeInfo>();
|
||||
ScannedBarcodeList = new List<PickInventoryResultBarcodeInfo>();
|
||||
}
|
||||
}
|
||||
|
||||
public class PickInventoryResultBarcodeInfo
|
||||
{
|
||||
public string Barcode { get; set; }
|
||||
public string MaterialNumber { get; set; }
|
||||
public string MaterialName { get; set; }
|
||||
public string Specification { get; set; }
|
||||
public string Lot { get; set; }
|
||||
public string AuxPropName { get; set; }
|
||||
public decimal NeedQty { get; set; }
|
||||
public decimal BarcodeQty { get; set; }
|
||||
public decimal RemainQty { get; set; }
|
||||
public bool IsNeedSplit { get; set; }
|
||||
public string StockName { get; set; }
|
||||
public string StockLocName { get; set; }
|
||||
public int SourceEntryId { get; set; }
|
||||
public string SourceDetailId { get; set; }
|
||||
}
|
||||
|
||||
public class PickInventoryParameter
|
||||
{
|
||||
public string SourceFormId { get; set; }
|
||||
public string SourceBillNo { get; set; }
|
||||
public string OrgId { get; set; }
|
||||
}
|
||||
|
||||
public class PickInventoryBarcodeParameter
|
||||
{
|
||||
public string InterId { get; set; }
|
||||
public string BillNo { get; set; }
|
||||
public string Barcode { get; set; }
|
||||
public bool IsRemove { get; set; }
|
||||
}
|
||||
|
||||
public class PickInventoryBarcodeInfo
|
||||
{
|
||||
public int Seq { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public string FBARCODE { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public decimal FQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public decimal FBASEQTY { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKNAME { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
public string FSTOCKLOCNAME { get; set; }
|
||||
}
|
||||
|
||||
public class PickInventoryGroup
|
||||
{
|
||||
public int FBILLENTRYID { get; set; }
|
||||
public string FBILLDETAILID { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public decimal FBASEQTY { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
|
||||
public List<PickInventoryBarcodeInfo> BarcodeInfos { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskHead
|
||||
{
|
||||
public string FINTERID { get; set; }
|
||||
public string FBILLNO { get; set; }
|
||||
public int FBILLTYPE { get; set; }
|
||||
public DateTime? FDATE { get; set; }
|
||||
public int FTASKSTATUS { get; set; }
|
||||
public string FPLANID { get; set; }
|
||||
public bool FISPOINTON { get; set; }
|
||||
public bool FISURGENCY { get; set; }
|
||||
public int FPOINTONTYPE { get; set; }
|
||||
public int FORDERAMOUNT { get; set; }
|
||||
public int FMATERIALAMOUNT { get; set; }
|
||||
public decimal FPICKAMOUNT { get; set; }
|
||||
public string FSTOCKNAEM { get; set; }
|
||||
public DateTime? FEARLIESTTIME { get; set; }
|
||||
public string FPICKER { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskEntry
|
||||
{
|
||||
public string FINTERID { get; set; }
|
||||
public string FDETAILID { get; set; }
|
||||
public string FENTRYID { get; set; }
|
||||
public string FSRCBILLNO { get; set; }
|
||||
public string FSRCDETAILID { get; set; }
|
||||
public string FSRCENTRYID { get; set; }
|
||||
public string FSRCFORMID { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITQTY { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public string FUNITNUMBER { get; set; }
|
||||
public string FUNITNAME { get; set; }
|
||||
public string FBASEUNITNUMBER { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public bool FISPOINTOVER { get; set; }
|
||||
public DateTime? FDELIVERYTIME { get; set; }
|
||||
public decimal FINCREASEQTY { get; set; }
|
||||
public decimal FPICKEDQTY { get; set; }
|
||||
public bool FISCOMPLETED { get; set; }
|
||||
public string FPICTUREBASE64 { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskListInfo
|
||||
{
|
||||
public PickTaskListInfo()
|
||||
{
|
||||
TaskEntries = new List<PickTaskEntry>();
|
||||
}
|
||||
|
||||
public PickTaskHead TaskHead { get; set; }
|
||||
public List<PickTaskEntry> TaskEntries { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskContainer
|
||||
{
|
||||
public string FINTERID { get; set; }
|
||||
public string FNUMBER { get; set; }
|
||||
public string FNAME { get; set; }
|
||||
public int FCTSTATUS { get; set; }
|
||||
public int FCTSTYPE { get; set; }
|
||||
public decimal FCTSVOLUME { get; set; }
|
||||
public decimal FCTSWEIGH { get; set; }
|
||||
public decimal FLONG { get; set; }
|
||||
public decimal FWIDE { get; set; }
|
||||
public decimal FHIGH { get; set; }
|
||||
public string FCOMPANYID { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskContainerWithMaterialInfo
|
||||
{
|
||||
public PickTaskContainerWithMaterialInfo()
|
||||
{
|
||||
Materials = new List<string>();
|
||||
}
|
||||
public PickTaskContainer TaskContainer { get; set; }
|
||||
public List<string> Materials { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskInventoryInfo
|
||||
{
|
||||
public string FINTERID { get; set; }
|
||||
public int FENTRYID { get; set; }
|
||||
public string FDETAILID { get; set; }
|
||||
public string FBODYID { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
public DateTime? FKFDATE { get; set; }
|
||||
public DateTime? FUSEFULDATE { get; set; }
|
||||
public decimal FQTY { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FUNITNUMBER { get; set; }
|
||||
public string FUNITNAME { get; set; }
|
||||
public decimal FBASEUNITQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITNUMBER { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKNUMBER { get; set; }
|
||||
public string FSTOCKNAME { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
public string FSTOCKLOCNAME { get; set; }
|
||||
public string FSTOCKSTATUSID { get; set; }
|
||||
public string FSTOCKSTATUSNAME { get; set; }
|
||||
public string FKEEPERTYPEID { get; set; }
|
||||
public string FKEEPERID { get; set; }
|
||||
public string FOWNERTYPEID { get; set; }
|
||||
public string FOWNERID { get; set; }
|
||||
public decimal FPICKEDQTY { get; set; }
|
||||
public bool FISCOMPLETED { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskBarcodeInfo
|
||||
{
|
||||
public string FINTERID { get; set; }
|
||||
public string FBARCODE { get; set; }
|
||||
public int FBARCODESTATUS { get; set; }
|
||||
public int FSTOCKSTATUS { get; set; }
|
||||
public int FBARTYPE { get; set; }
|
||||
public bool FISBOX { get; set; }
|
||||
public bool FISMIX { get; set; }
|
||||
public bool FINBOX { get; set; }
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
public DateTime? FKFDATE { get; set; }
|
||||
public DateTime? FUSEFULDATE { get; set; }
|
||||
public decimal FQTY { get; set; }
|
||||
public string FUNITID { get; set; }
|
||||
public string FUNITNUMBER { get; set; }
|
||||
public string FUNITNAME { get; set; }
|
||||
public decimal FBASEUNITQTY { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITNUMBER { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public decimal FSECUNITQTY { get; set; }
|
||||
public string FSECUNITID { get; set; }
|
||||
public string FSECUNITNUMBER { get; set; }
|
||||
public string FSECUNITNAME { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKNUMBER { get; set; }
|
||||
public string FSTOCKNAME { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
public string FSTOCKLOCNAME { get; set; }
|
||||
public string FSTOCKSTATUSID { get; set; }
|
||||
public string FSTOCKSTATUSNAME { get; set; }
|
||||
public string FKEEPERTYPEID { get; set; }
|
||||
public string FKEEPERID { get; set; }
|
||||
public string FOWNERTYPEID { get; set; }
|
||||
public string FOWNERID { get; set; }
|
||||
public bool FDELETED { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskScanBarcodePara
|
||||
{
|
||||
public string CompanyId { get; set; }
|
||||
public string InventoryRowDetailId { get; set; }
|
||||
public string Barcode { get; set; }
|
||||
public decimal Qty { get; set; }
|
||||
public string ContainerId { get; set; }
|
||||
}
|
||||
|
||||
public class PickTaskErrorReportPara
|
||||
{
|
||||
public string TaskId { get; set; }
|
||||
public string TaskDetailId { get; set; }
|
||||
//public string TaskInventoryDetailId { get; set; }
|
||||
public decimal OOSQty { get; set; }
|
||||
public string Reason { get; set; }
|
||||
public string CompanyId { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Executable
+288
@@ -0,0 +1,288 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 蓝牙打印机配置接口
|
||||
/// </summary>
|
||||
public interface IBluetoothPrintConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// 声明蓝牙打印机配置必须有详细配置
|
||||
/// </summary>
|
||||
public List<IBluetoothPrintDetailConfig> ConfigDetails { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 蓝牙打印机详细配置接口
|
||||
/// </summary>
|
||||
public interface IBluetoothPrintDetailConfig
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机元素配置接口
|
||||
/// </summary>
|
||||
public interface IElementConfig
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 蓝牙打印配置基类
|
||||
/// </summary>
|
||||
public class BluetoothPrintConfigBase
|
||||
{
|
||||
public BluetoothPrintConfigBase()
|
||||
{
|
||||
ConfigDetails = new List<IBluetoothPrintDetailConfig>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 配置名称
|
||||
/// </summary>
|
||||
public string ConfigName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配置代码
|
||||
/// </summary>
|
||||
public string ConfigNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 打印数量
|
||||
/// </summary>
|
||||
public int PrintCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签宽度
|
||||
/// </summary>
|
||||
public decimal LabelWidth { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 标签长度
|
||||
/// </summary>
|
||||
public decimal LabelHeight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 详细配置
|
||||
/// </summary>
|
||||
public List<IBluetoothPrintDetailConfig> ConfigDetails { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 蓝牙打印详细配置基类
|
||||
/// </summary>
|
||||
public class BluetoothPrintDetailConfigBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 元素类型
|
||||
/// </summary>
|
||||
public int ElementType { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机元素配置基类
|
||||
/// </summary>
|
||||
public class BluetoothPrintElementConfigBase_DT : BluetoothPrintDetailConfigBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 字段是否有默认值
|
||||
/// </summary>
|
||||
public bool IsDefaultValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字段值
|
||||
/// </summary>
|
||||
public string FieldValue { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Note { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 蓝牙打印机配置类
|
||||
/// </summary>
|
||||
public class BluetoothPrintConfig : BluetoothPrintConfigBase, IBluetoothPrintConfig
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 蓝牙打印机详细配置类
|
||||
/// </summary>
|
||||
public class BluetoothPrintDetailConfig : BluetoothPrintDetailConfigBase, IBluetoothPrintDetailConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// 绑定字段名
|
||||
/// </summary>
|
||||
public string BindingFieldName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手动/自动编码
|
||||
/// </summary>
|
||||
public bool EncodeMode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// X轴左侧开始位置
|
||||
/// </summary>
|
||||
public decimal XAxisLeftBeginPosition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Y轴顶部开始位置
|
||||
/// </summary>
|
||||
public decimal YAxisTopBeginPosition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// X轴方向放大倍率
|
||||
/// </summary>
|
||||
public decimal XAxisMultiplication { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Y轴方向放大倍率
|
||||
/// </summary>
|
||||
public decimal YAxisMultiplication { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码高度
|
||||
/// </summary>
|
||||
public decimal BarcodeHeight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码宽度
|
||||
/// </summary>
|
||||
public decimal BarcodeWidth { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 窄条码线高度
|
||||
/// </summary>
|
||||
public decimal NarrowBarcodeLineHeight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 宅条码线宽度
|
||||
/// </summary>
|
||||
public decimal NarrowBarcodeLineWidth { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码旋转角度
|
||||
/// </summary>
|
||||
public decimal BarcodeRotationAngle { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机配置类
|
||||
/// </summary>
|
||||
public class BluetoothPrintConfig_DT : BluetoothPrintConfigBase, IBluetoothPrintConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// 整体旋转角度
|
||||
/// </summary>
|
||||
public decimal Orientation { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机详细配置类
|
||||
/// </summary>
|
||||
public class BluetoothPrintDetailConfig_DT : IBluetoothPrintDetailConfig
|
||||
{
|
||||
public BluetoothPrintDetailConfig_DT()
|
||||
{
|
||||
ElementConfigs = new List<IElementConfig>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 配置的条码
|
||||
/// </summary>
|
||||
public string Barcode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 元素配置集合
|
||||
/// </summary>
|
||||
public List<IElementConfig> ElementConfigs { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机方框配置
|
||||
/// </summary>
|
||||
public class BoxConfig : BluetoothPrintElementConfigBase_DT, IElementConfig
|
||||
{
|
||||
public decimal X { get; set; }
|
||||
public decimal Y { get; set; }
|
||||
public decimal Width { get; set; }
|
||||
public decimal Height { get; set; }
|
||||
public decimal LineWidth { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机文本配置
|
||||
/// </summary>
|
||||
public class TextConfig : BluetoothPrintElementConfigBase_DT, IElementConfig
|
||||
{
|
||||
public decimal X { get; set; }
|
||||
public decimal Y { get; set; }
|
||||
public decimal Width { get; set; }
|
||||
public decimal Height { get; set; }
|
||||
public decimal FontHeight { get; set; }
|
||||
public string FontStyle { get; set; }
|
||||
public decimal Orientation { get; set; }
|
||||
public bool AutoReturn { get; set; }
|
||||
public string BindingField { get; set; }
|
||||
public bool IsInterceptText { get; set; }
|
||||
public int InterceptLength { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机一维码配置
|
||||
/// </summary>
|
||||
public class BarcodeConfig : BluetoothPrintElementConfigBase_DT, IElementConfig
|
||||
{
|
||||
public decimal X { get; set; }
|
||||
public decimal Y { get; set; }
|
||||
public decimal Width { get; set; }
|
||||
public decimal Height { get; set; }
|
||||
public decimal TextHeight { get; set; }
|
||||
public decimal Orientation { get; set; }
|
||||
public string BindingField { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机二维码配置
|
||||
/// </summary>
|
||||
public class QRCodeConfig : BluetoothPrintElementConfigBase_DT, IElementConfig
|
||||
{
|
||||
public decimal X { get; set; }
|
||||
public decimal Y { get; set; }
|
||||
public decimal Width { get; set; }
|
||||
public decimal Orientation { get; set; }
|
||||
public string BindingField { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 德佟蓝牙打印机直线配置
|
||||
/// </summary>
|
||||
public class LineConfig : BluetoothPrintElementConfigBase_DT, IElementConfig
|
||||
{
|
||||
public decimal X1 { get; set; }
|
||||
public decimal Y1 { get; set; }
|
||||
public decimal X2 { get; set; }
|
||||
public decimal Y2 { get; set; }
|
||||
public decimal LineWidth { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 请求蓝牙打印机配置参数实体
|
||||
/// </summary>
|
||||
public class QueryPrintConfigModel
|
||||
{
|
||||
public string OrgId { get; set; }
|
||||
public string ConfigNumber { get; set; }
|
||||
public string PrinterBrand { get; set; }
|
||||
public List<string> BarcodeList { get; set; }
|
||||
}
|
||||
|
||||
public class PrintModel
|
||||
{
|
||||
public string DBAias { get; set; }
|
||||
public string UserID { get; set; }
|
||||
public string FMOULD { get; set; }
|
||||
public List<string> FBarcode { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
public class ProductBarcodeCheckRequest
|
||||
{
|
||||
public string Inner { get; set; }
|
||||
public string Middle { get; set; }
|
||||
public string Outer { get; set; }
|
||||
}
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
public class QmStkAppInspect
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class StkAppInspectSubmitRequest
|
||||
{
|
||||
public string OrgId { get; set; }
|
||||
/// <summary>
|
||||
/// 部门
|
||||
/// </summary>
|
||||
public string DepId { get; set; }
|
||||
/// <summary>
|
||||
/// 原因
|
||||
/// </summary>
|
||||
public string Reason { get; set; }
|
||||
/// <summary>
|
||||
/// 条码信息
|
||||
/// </summary>
|
||||
public List<BarCodeMsg> BarcodeList { get; set; }
|
||||
}
|
||||
}
|
||||
+127
@@ -0,0 +1,127 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存更新时使用的类
|
||||
/// </summary>
|
||||
public class STKInventoryValue
|
||||
{
|
||||
/// <summary>
|
||||
/// 组织内码
|
||||
/// </summary>
|
||||
public string orgID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 保管者类型
|
||||
/// </summary>
|
||||
public string KeeperType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 保管者
|
||||
/// </summary>
|
||||
public string KeeperID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货主类型
|
||||
/// </summary>
|
||||
public string OwnType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货主
|
||||
/// </summary>
|
||||
public string OwerID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料内码
|
||||
/// </summary>
|
||||
public string MaterialID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库内码
|
||||
/// </summary>
|
||||
public string StockID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓位内码
|
||||
/// </summary>
|
||||
public string StockPlaceID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 库存状态
|
||||
/// </summary>
|
||||
public string StockStatusID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 批号
|
||||
/// </summary>
|
||||
public string Lot { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 辅助属性内码
|
||||
/// </summary>
|
||||
public string AuxPropID { get; set; }
|
||||
/// <summary>
|
||||
/// 生产日期
|
||||
/// </summary>
|
||||
public string KFDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 有效期至
|
||||
/// </summary>
|
||||
public string UsefulDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商内码
|
||||
/// </summary>
|
||||
public string SupplyID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 基本单位内码
|
||||
/// </summary>
|
||||
public string BaseUnitID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 辅助单位内码
|
||||
/// </summary>
|
||||
public string SecUnitID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 基本单位数量
|
||||
/// </summary>
|
||||
public decimal BaseQty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 辅助单位数量
|
||||
/// </summary>
|
||||
public decimal SecUnitQty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 库存更新时控制点
|
||||
/// </summary>
|
||||
public class STKInventoryControl
|
||||
{
|
||||
/// <summary>
|
||||
/// 管控数量
|
||||
/// </summary>
|
||||
public bool ControlStockQty { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 是否虚仓
|
||||
/// </summary>
|
||||
public bool IsVirtual { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 是否使用ERP库存
|
||||
/// </summary>
|
||||
public bool FIsUseInventory { get; set; } = false;
|
||||
}
|
||||
}
|
||||
+130
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
|
||||
public class STKStockScheme
|
||||
{
|
||||
public string sourceBillNO { get; set; }
|
||||
public string orgID { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 盘点方案头
|
||||
/// </summary>
|
||||
public class STKStockSchemeHead
|
||||
{
|
||||
/// <summary>
|
||||
/// 盘点方案内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点方案编码
|
||||
/// </summary>
|
||||
public string FBILLNO { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点方案名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
/// <summary>
|
||||
///已经被盘点过的条码集合
|
||||
/// </summary>
|
||||
public List<string> FBARCODE { get; set; }
|
||||
/// <summary>
|
||||
/// 起始仓库ID
|
||||
/// </summary>
|
||||
public string FSTOCKID { get; set; }
|
||||
/// <summary>
|
||||
/// 起始仓库编号
|
||||
/// </summary>
|
||||
public string FSTOCKNUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 起始仓库名称
|
||||
/// </summary>
|
||||
public string FSTOCKNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 结束仓库ID
|
||||
/// </summary>
|
||||
public string FSTOCKIDTO { get; set; }
|
||||
/// <summary>
|
||||
/// 结束仓库编号
|
||||
/// </summary>
|
||||
public string FSTOCKTONUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 结束仓库名称
|
||||
/// </summary>
|
||||
public string FSTOCKTONAME { get; set; }
|
||||
/// <summary>
|
||||
/// 截止日期
|
||||
/// </summary>
|
||||
public DateTime? FLOSEDATE { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 账存表体信息
|
||||
/// </summary>
|
||||
public class STKStockSchemeEntry
|
||||
{
|
||||
public string FMATERIALID { get; set; }
|
||||
public string FMATERIALNUMBER { get; set; }
|
||||
public string FMATERIALNAME { get; set; }
|
||||
public string FSPECIFICATION { get; set; }
|
||||
public string FSTOCKID { get; set; }
|
||||
public string FSTOCKNUMBER { get; set; }
|
||||
public string FSTOCKNAME { get; set; }
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
public string FSTOCKLOCNAME { get; set; }
|
||||
public string FSTOCKORGID { get; set; }
|
||||
public string FSTOCKORGNAME { get; set; }
|
||||
public string FKEEPERTYPEID { get; set; }
|
||||
public string FKEEPERID { get; set; }
|
||||
public string FOWNERTYPEID { get; set; }
|
||||
public string FOWNERID { get; set; }
|
||||
public string FAUXPROPID { get; set; }
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
public string FSTOCKSTATUSID { get; set; }
|
||||
public string FSTOCKSTATUSNAME { get; set; }
|
||||
public string FBOMID { get; set; }
|
||||
public string FMTONO { get; set; }
|
||||
public string FBASEUNITID { get; set; }
|
||||
public string FBASEUNITNUMBER { get; set; }
|
||||
public string FBASEUNITNAME { get; set; }
|
||||
public decimal FBASEUNITQTY { get; set; }
|
||||
public string FSTOCKUNITID { get; set; }
|
||||
public string FSTOCKUNITNUMBER { get; set; }
|
||||
public string FSTOCKUNITNAME { get; set; }
|
||||
public decimal FQTY { get; set; }
|
||||
public string FKFDATE { get; set; }
|
||||
public string FLOT { get; set; }
|
||||
public decimal FSUMQTY { get; set; }
|
||||
}
|
||||
|
||||
public class QuerySourceInvPrgReturnDto
|
||||
{
|
||||
public QuerySourceInvPrgReturnDto()
|
||||
{
|
||||
OnBillEntryInfo = new List<STKStockSchemeEntry>();
|
||||
}
|
||||
public STKStockSchemeHead HeadInfo { get; set; }
|
||||
|
||||
public List<STKStockSchemeEntry> OnBillEntryInfo { get; set; }
|
||||
}
|
||||
|
||||
public class Barcode_Inv
|
||||
{
|
||||
/// <summary>
|
||||
/// 盘点方案编号
|
||||
/// </summary>
|
||||
public string sourceBillNO { get; set; }
|
||||
/// <summary>
|
||||
/// 组织ID
|
||||
/// </summary>
|
||||
public string orgid { get; set; }
|
||||
/// <summary>
|
||||
/// 盘点条码信息
|
||||
/// </summary>
|
||||
public List<Dictionary<string, object>> submitData { get; set; }
|
||||
}
|
||||
}
|
||||
+1256
File diff suppressed because it is too large.
Load diff
+416
@@ -0,0 +1,416 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 源单信息
|
||||
/// </summary>
|
||||
public class SOURCEBILLINFO
|
||||
{
|
||||
/// <summary>
|
||||
/// 源单单据类型
|
||||
/// </summary>
|
||||
public string FBILLTYPEID { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string FNOTE { get; set; }
|
||||
/// <summary>
|
||||
/// 源单内码
|
||||
/// </summary>
|
||||
public string FSRCID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源单编号
|
||||
/// </summary>
|
||||
public string FSRCBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源单行号
|
||||
/// </summary>
|
||||
public int FSRCENTRYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源单行内码
|
||||
/// </summary>
|
||||
public string FSRCDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单内码
|
||||
/// </summary>
|
||||
public string FMOID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单编号
|
||||
/// </summary>
|
||||
public string FMOBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单行号
|
||||
/// </summary>
|
||||
public int FMOENTRYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单行内码
|
||||
/// </summary>
|
||||
public string FMODETIALID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工单下达日期
|
||||
/// </summary>
|
||||
public string FCONVEYDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 投料单内码
|
||||
/// </summary>
|
||||
public string FPPBOMID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 投料单编号
|
||||
/// </summary>
|
||||
public string FPPBOMBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 投料单行号
|
||||
/// </summary>
|
||||
public int FPPBOMENTRYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 投料单行内码
|
||||
/// </summary>
|
||||
public string FPPBOMDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单类型
|
||||
/// </summary>
|
||||
public int FORDERTYPEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单ID
|
||||
/// </summary>
|
||||
public string FORDERINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单编号
|
||||
/// </summary>
|
||||
public string FORDERBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单表体行号
|
||||
/// </summary>
|
||||
public int FORDERENTRYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单表体ID
|
||||
/// </summary>
|
||||
public string FORDERDETAILID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 委外订单对应的采购订单编号
|
||||
/// </summary>
|
||||
public string FPOORDERBILLNO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需求总数量
|
||||
/// </summary>
|
||||
public decimal FAUXQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可用数量
|
||||
/// </summary>
|
||||
public decimal FRELATIONQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 剩余数量
|
||||
/// </summary>
|
||||
public decimal FREMINANQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 剩余基本单位数量
|
||||
/// </summary>
|
||||
public decimal FBASEREMINANQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 来料检验
|
||||
/// </summary>
|
||||
public bool FCHECKINCOMING { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 批号
|
||||
/// </summary>
|
||||
public string FLOT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 辅助属性ID
|
||||
/// </summary>
|
||||
public string FAUXPROPID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 辅助属性名称
|
||||
/// </summary>
|
||||
public string FAUXPROPNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用保质期
|
||||
/// </summary>
|
||||
public bool FISKFPERIOD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 保质时长(天)
|
||||
/// </summary>
|
||||
public int FKFPERIOD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 保质日期
|
||||
/// </summary>
|
||||
public string FKFDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品代码
|
||||
/// </summary>
|
||||
public string FPRODUCTNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品名称
|
||||
/// </summary>
|
||||
public string FPRODUCTNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品规格型号
|
||||
/// </summary>
|
||||
public string FPRODUCTSPEC { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料内码
|
||||
/// </summary>
|
||||
public string FMATERIALID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料主内码,多组织只能用主内码判断物料是不是一样
|
||||
/// </summary>
|
||||
public string FMASTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料代码
|
||||
/// </summary>
|
||||
public string FITEMNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物料名称
|
||||
/// </summary>
|
||||
public string FITEMNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 规格型号
|
||||
/// </summary>
|
||||
public string FSPECIFICATION { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位内码
|
||||
/// </summary>
|
||||
public string FUNITID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 基本单位内码
|
||||
/// </summary>
|
||||
public string FBASEUNITID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位编号
|
||||
/// </summary>
|
||||
public string FUNITNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位名称
|
||||
/// </summary>
|
||||
public string FUNITNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商内码
|
||||
/// </summary>
|
||||
public string FSUPPLYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商代码
|
||||
/// </summary>
|
||||
public string FSUPPLYNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应商名称
|
||||
/// </summary>
|
||||
public string FSUPPLYNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门内码
|
||||
/// </summary>
|
||||
public string FDEPTID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门代码
|
||||
/// </summary>
|
||||
public string FDEPTNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门名称
|
||||
/// </summary>
|
||||
public string FDEPTNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户内码
|
||||
/// </summary>
|
||||
public string FCUSTID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户代码
|
||||
/// </summary>
|
||||
public string FCUSTNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户名称
|
||||
/// </summary>
|
||||
public string FCUSTNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库内码
|
||||
/// </summary>
|
||||
public string FSTOCKID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库名称
|
||||
/// </summary>
|
||||
public string FSTOCKNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓位内码
|
||||
/// </summary>
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓位名称
|
||||
/// </summary>
|
||||
public string FSTOCKLOCNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// BOM版本
|
||||
/// </summary>
|
||||
public string FBOMID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品行内码
|
||||
/// </summary>
|
||||
public string FROWID { get; set; }
|
||||
/// <summary>
|
||||
/// 产品类型
|
||||
/// </summary>
|
||||
public string FROWTYPE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 父项产品
|
||||
/// </summary>
|
||||
public string FPARENTMATID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 含税单价
|
||||
/// </summary>
|
||||
public decimal FTAXPRICE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 税率%
|
||||
/// </summary>
|
||||
public decimal FTAXRATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 折扣率%
|
||||
/// </summary>
|
||||
public decimal FDISCOUNTRATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结算币别
|
||||
/// </summary>
|
||||
public string FCURRENCYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 汇率
|
||||
/// </summary>
|
||||
public decimal FEXCHANGERATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 组织 发货通知单=>发货组织
|
||||
/// </summary>
|
||||
public string FCOMPANYID { get; set; }
|
||||
|
||||
public int FBSTATUS { get; set; }
|
||||
/// <summary>
|
||||
/// 研发项目(沛嘉医疗-高仙)
|
||||
/// </summary>
|
||||
public string FPAZEYFXM { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 领料人
|
||||
/// </summary>
|
||||
public string FPICKERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结算方
|
||||
/// </summary>
|
||||
public string FSETTLEID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 收款方
|
||||
/// </summary>
|
||||
public string FCHARGEID { get; set; }
|
||||
/// <summary>
|
||||
/// 调出组织
|
||||
/// </summary>
|
||||
public string FSTOCKORGID { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 调入组织
|
||||
/// </summary>
|
||||
public string FSTOCKORGINID { get; set; } = "";
|
||||
/// <summary>
|
||||
/// 调拨类型 0 组织内调拨,1 跨组织调拨
|
||||
/// </summary>
|
||||
public int FTRANSTYPE { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 发货通知单=>销售组织
|
||||
/// </summary>
|
||||
public string FSALEORGID { get; set; }
|
||||
/// <summary>
|
||||
/// 发货通知单=> 自定义字段 销售合同
|
||||
/// </summary>
|
||||
public string F_SALECONTRACTNO { get; set; }
|
||||
/// <summary>
|
||||
/// 发货通知单=> 自定义字段 送货地址
|
||||
/// </summary>
|
||||
public string F_RECEIVEADDRESS { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需求组织
|
||||
/// </summary>
|
||||
public string FDEMANDORGID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 收料总量
|
||||
/// </summary>
|
||||
public string FACTRECEIVEQTY { get; set; }
|
||||
/// <summary>
|
||||
/// 已扫入数量
|
||||
/// </summary>
|
||||
public string FHISQTY { get; set; }
|
||||
/// <summary>
|
||||
/// 货主类型
|
||||
/// </summary>
|
||||
public string FOWNERTYPEID { get; set; }
|
||||
/// <summary>
|
||||
/// 货主代码
|
||||
/// </summary>
|
||||
public string FOWNERNO { get; set; }
|
||||
/// <summary>
|
||||
/// 货主名称
|
||||
/// </summary>
|
||||
public string FOWNERNAME { get; set; }
|
||||
}
|
||||
}
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
using Opsoft.NetCore.O3App.Domain.UnitOfWork.IPadReport.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 位置信息
|
||||
/// </summary>
|
||||
public class LOCATION
|
||||
{
|
||||
/// <summary>
|
||||
/// 位置信息
|
||||
/// </summary>
|
||||
public string FLOCATION { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库内码
|
||||
/// </summary>
|
||||
public string FSTOCKID { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库代码
|
||||
/// </summary>
|
||||
public string FSTOCKNUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库名称
|
||||
/// </summary>
|
||||
public string FSTOCKNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 仓位内码
|
||||
/// </summary>
|
||||
public string FSTOCKLOCID { get; set; }
|
||||
/// <summary>
|
||||
/// 仓位代码
|
||||
/// </summary>
|
||||
public string FSTOCKLOCNUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 仓位名称
|
||||
/// </summary>
|
||||
public string FSTOCKLOCNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 是否启用仓位
|
||||
/// </summary>
|
||||
public bool FISOPENLOCATION { get; set; }
|
||||
/// <summary>
|
||||
/// 仓库类型(0=可以,1=待检,2=冻结,3=退回冻结,4=在途,5=收货冻结,6=废品,7=不良,8=不参与核算)
|
||||
/// 在K3 Wise 中,503表示虚仓;在K3 Cloud中,是有一段字符串,例如0,1,2 表示启用前3项,如果是启用虚仓管理,需要包括 8
|
||||
/// </summary>
|
||||
public string FSTOCKSTATUSTYPE { get; set; }
|
||||
/// <summary>
|
||||
/// 组织
|
||||
/// </summary>
|
||||
public string FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源单信息
|
||||
/// </summary>
|
||||
public List<SOURCEBILLINFO> FSRCINFO { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 库存状态集合
|
||||
/// </summary>
|
||||
public List<Basic> FSTOCKSTATUSALL { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 默认库存状态
|
||||
/// </summary>
|
||||
public string FDEFSTOCKSTATUSID { get; set; }
|
||||
/// <summary>
|
||||
/// 默认库存状态名称
|
||||
/// </summary>
|
||||
public string FDEFSTOCKSTATUSNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 默认收料状态
|
||||
/// </summary>
|
||||
public string FDEFRECEIVESTATUSID { get; set; }
|
||||
/// <summary>
|
||||
/// 默认收料状态名称
|
||||
/// </summary>
|
||||
public string FDEFRECEIVESTATUSNAME { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 仓位信息
|
||||
/// </summary>
|
||||
public class POSITIONVALUES
|
||||
{
|
||||
public string FINTERID { get; set; } = string.Empty;
|
||||
|
||||
public string FNUMBER { get; set; } = string.Empty;
|
||||
|
||||
public string FNAME { get; set; } = string.Empty;
|
||||
|
||||
public string FFLEXNUMBER { get; set; } = string.Empty;
|
||||
|
||||
public bool IsHave { get; set; } = false;
|
||||
}
|
||||
/// <summary>
|
||||
/// 仓位集信息
|
||||
/// </summary>
|
||||
public class POSITIONENTRY
|
||||
{
|
||||
public string FDETAILID { get; set; } = string.Empty;
|
||||
|
||||
public string FINTERID { get; set; } = string.Empty;
|
||||
|
||||
public string FNUMBER { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
using Opsoft.NetCore.O3App.Domain.Interface;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
public class BOS_SELBILL : BaseEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 出入库流程配置
|
||||
/// </summary>
|
||||
public BOS_SELBILL()
|
||||
{
|
||||
FSELBILLENTRY = new List<BOS_SELBILLENTRY>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string FNAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 代号
|
||||
/// </summary>
|
||||
public string FNUMBER { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源单类型
|
||||
/// </summary>
|
||||
public string FSRCFORMID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 源单类型名称
|
||||
/// </summary>
|
||||
public string FSRCNAME { get; set; }
|
||||
/// <summary>
|
||||
/// 目标单据类型
|
||||
/// </summary>
|
||||
public string FTRANTYPE { get; set; }
|
||||
/// <summary>
|
||||
/// 目标单据类型名称
|
||||
/// </summary>
|
||||
public string FTRANTYPENAME { get; set; }
|
||||
/// <summary>
|
||||
/// 是否控制数量
|
||||
/// </summary>
|
||||
public bool FISCONTROLQTY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否同步到ERP
|
||||
/// </summary>
|
||||
public bool FCANSYNERP { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否开放源单
|
||||
/// </summary>
|
||||
public bool FISOPENSOURCE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 默认源单
|
||||
/// </summary>
|
||||
public bool FDEFAULT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否审核
|
||||
/// </summary>
|
||||
public bool FCHECK { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 条码类型
|
||||
/// </summary>
|
||||
public string FKIND { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否整单录入
|
||||
/// </summary>
|
||||
public bool FISWHOLEOUT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 带出仓库仓位
|
||||
/// </summary>
|
||||
public bool FISDEFAULTSTOCK { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否检查批次
|
||||
/// </summary>
|
||||
public bool FISCHECKLOT { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否检查辅助属性
|
||||
/// </summary>
|
||||
public bool FISCHECKAUX { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否检查保质日期
|
||||
/// </summary>
|
||||
public bool FISCHECKKFDATE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扫描仓库仓位后是否刷新源单信息
|
||||
/// </summary>
|
||||
public bool FISREFRESHSRCDATA { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 启用标签规则
|
||||
/// </summary>
|
||||
public bool FISUSECODERULE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 检验ERP单据
|
||||
/// </summary>
|
||||
public bool FCHECKERPSTOCK{ get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单据转换类型
|
||||
/// </summary>
|
||||
public List<BOS_SELBILLENTRY> FSELBILLENTRY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 组织
|
||||
/// </summary>
|
||||
public string FCOMPANYID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 唯一ID
|
||||
/// </summary>
|
||||
public string UID { get; set; }
|
||||
}
|
||||
|
||||
public class BOS_SELBILLENTRY
|
||||
{
|
||||
/// <summary>
|
||||
/// 内码
|
||||
/// </summary>
|
||||
public string FINTERID { get; set; }
|
||||
/// <summary>
|
||||
/// 源单内码
|
||||
/// </summary>
|
||||
public string FSOURCEID { get; set; }
|
||||
/// <summary>
|
||||
/// 目标内码
|
||||
/// </summary>
|
||||
public string FDESTID { get; set; }
|
||||
/// <summary>
|
||||
/// 是否默认
|
||||
/// </summary>
|
||||
public bool FDEFAULT { get; set; }
|
||||
/// <summary>
|
||||
/// 源单代码
|
||||
/// </summary>
|
||||
public string FSOURCENUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 源单名称
|
||||
/// </summary>
|
||||
public string FSOURCENAME { get; set; }
|
||||
/// <summary>
|
||||
/// 目标代码
|
||||
/// </summary>
|
||||
public string FDESTNUMBER { get; set; }
|
||||
/// <summary>
|
||||
/// 目标名称
|
||||
/// </summary>
|
||||
public string FDESTNAME { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class TRAN_INFO
|
||||
{
|
||||
/// <summary>
|
||||
/// 目标单据类型
|
||||
/// </summary>
|
||||
public string FTRANTYPE { get; set; }
|
||||
/// <summary>
|
||||
/// 目标单据类型名称
|
||||
/// </summary>
|
||||
public string FTRANTYPENAME { get; set; }
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Domain.UnitOfWork.WMS.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 销售出库
|
||||
/// </summary>
|
||||
public class T_SAL_OUTSTOCK
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user