From 5612526544b3532c5efc9c002d1c97b4af286bd1 Mon Sep 17 00:00:00 2001
From: sjz <1240968267@qq.com>
Date: 星期二, 02 九月 2025 15:45:08 +0800
Subject: [PATCH] 分步式调拨
---
MESApplication/bin/Release/net8.0/MESApplication.exe | 0
MES.Service/Dto/webApi/FbsDb/FbsDbA.cs | 6
MESApplication/Controllers/FBSDB/FbsDbController.cs | 126 +++++++++
MESApplication/bin/Release/net8.0/publish/MESApplication.pdb | 0
MES.Service/service/BasicData/MesRohInManager.cs | 3
MESApplication/bin/Release/net8.0/MESApplication.xml | 15 +
MESApplication/bin/Release/net8.0/publish/MESApplication.dll | 0
MES.Service/service/FBSDB/FbsDbBManager.cs | 10
MES.Service/service/BasicData/MesDeliveryNoteManager.cs | 50 +--
MES.Service/service/WomcaaManager.cs | 13
MES.Service/service/WomcaaWWManager.cs | 6
MES.Service/service/FBSDB/FbsDbManager.cs | 153 +++++++++++
MESApplication/bin/Release/net8.0/MES.Service.dll | 0
MESApplication/bin/Release/net8.0/MESApplication.dll | 0
MESApplication/bin/Release/net8.0/publish/MES.Service.pdb | 0
MESApplication/bin/Release/net8.0/MES.Service.pdb | 0
MESApplication/bin/Release/net8.0/publish/MESApplication.exe | 0
MESApplication/bin/Release/net8.0/MESApplication.pdb | 0
MESApplication/bin/Release/net8.0/publish/MES.Service.dll | 0
MESApplication/bin/Release/net8.0/publish/MESApplication.xml | 15 +
MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs | 2
MES.Service/Modes/FBSDB/MesInvItemMoveItems.cs | 170 ++++++++++++
MESApplication/Properties/PublishProfiles/FolderProfile.pubxml.user | 2
MES.Service/bin/Release/net8.0/MES.Service.dll | 0
MES.Service/bin/Release/net8.0/MES.Service.pdb | 0
MES.Service/Dto/webApi/FbsDb/ErpDb.cs | 4
MES.Service/Modes/FBSDB/MesInvItemMoves.cs | 182 +++++++++++++
27 files changed, 701 insertions(+), 56 deletions(-)
diff --git a/MES.Service/Dto/webApi/FbsDb/ErpDb.cs b/MES.Service/Dto/webApi/FbsDb/ErpDb.cs
index 6b61c78..e58df13 100644
--- a/MES.Service/Dto/webApi/FbsDb/ErpDb.cs
+++ b/MES.Service/Dto/webApi/FbsDb/ErpDb.cs
@@ -3,6 +3,6 @@
public class ErpDb
{
- public FbsDbA FbsDbA { get; set; }
- public List<FbsDbB> FbsDbBs { get; set; }
+ public FbsDbA erpDbcka { get; set; }
+ public List<FbsDbB> erpDbckB { get; set; }
}
diff --git a/MES.Service/Dto/webApi/FbsDb/FbsDbA.cs b/MES.Service/Dto/webApi/FbsDb/FbsDbA.cs
index 0e612ce..97b0f20 100644
--- a/MES.Service/Dto/webApi/FbsDb/FbsDbA.cs
+++ b/MES.Service/Dto/webApi/FbsDb/FbsDbA.cs
@@ -4,8 +4,8 @@
public class FbsDbA
{
- public string erpid { get; set; }
- public string type { get; set; }
+ public string Erpid { get; set; }
+ public string Type { get; set; }
public string? FBillNo { get; set; }
public string? FBillTypeID { get; set; }
public string? FDocumentStatus { get; set; }
@@ -15,7 +15,7 @@
public string? sq_bm { get; set; }
public string? FAPPORGID { get; set; }
public string? FDate { get; set; }
- public string? FCreateDate { get; set; }
+ public string? FCreateBy { get; set; }
public string? FOwnerTypeIdHead { get; set; }
public string? FOwnerTypeInIdHead { get; set; }
public string? FRemarks { get; set; }
diff --git a/MES.Service/Modes/FBSDB/MesInvItemMoveItems.cs b/MES.Service/Modes/FBSDB/MesInvItemMoveItems.cs
index bfab43e..becef18 100644
--- a/MES.Service/Modes/FBSDB/MesInvItemMoveItems.cs
+++ b/MES.Service/Modes/FBSDB/MesInvItemMoveItems.cs
@@ -1,7 +1,173 @@
-锘�
+锘縰sing SqlSugar;
+
namespace MES.Service.Modes.FBSDB;
-internal class MesInvItemMoveItems
+/// <summary>
+/// 璋冩嫧鍗曟槑缁�
+/// </summary>
+[SugarTable("MES_INV_ITEM_MOVE_ITEMS")]
+public class MesInvItemMoveItems
{
+ /// <summary>
+ /// ID
+ /// </summary>
+ [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
+ public decimal Id { get; set; }
+
+ /// <summary>
+ /// 涓昏〃id
+ /// </summary>
+ [SugarColumn(ColumnName = "ITEM_MOVE_ID")]
+ public decimal? ItemMoveId { get; set; }
+
+ /// <summary>
+ /// 鐗╂枡鍐呯爜
+ /// </summary>
+ [SugarColumn(ColumnName = "ITEM_ID")]
+ public decimal? ItemId { get; set; }
+
+ /// <summary>
+ /// 鐗╂枡缂栧彿
+ /// </summary>
+ [SugarColumn(ColumnName = "ITEM_NO")]
+ public string? ItemNo { get; set; }
+
+ /// <summary>
+ /// 鐢宠鏁伴噺
+ /// </summary>
+ [SugarColumn(ColumnName = "SQ_NUM")]
+ public decimal? SqNum { get; set; }
+
+ /// <summary>
+ /// 澶囨敞
+ /// </summary>
+ [SugarColumn(ColumnName = "REMARK")]
+ public string? Remark { get; set; }
+
+ /// <summary>
+ /// 椤规
+ /// </summary>
+ [SugarColumn(ColumnName = "LINE_NO")]
+ public decimal? LineNo { get; set; }
+
+ /// <summary>
+ /// 璋冩嫧鍗曞彿
+ /// </summary>
+ [SugarColumn(ColumnName = "BILL_NO")]
+ public string? BillNo { get; set; }
+
+ /// <summary>
+ /// 璋冨嚭鐘舵��
+ /// </summary>
+ [SugarColumn(ColumnName = "MOVE_OUT")]
+ public decimal? MoveOut { get; set; }
+
+ /// <summary>
+ /// 璋冨叆鐘舵��
+ /// </summary>
+ [SugarColumn(ColumnName = "MOVE_IN")]
+ public decimal? MoveIn { get; set; }
+
+ /// <summary>
+ /// 鍒涘缓浜�
+ /// </summary>
+ [SugarColumn(ColumnName = "CREATE_BY")]
+ public string? CreateBy { get; set; }
+
+ /// <summary>
+ /// 鍒涘缓鏃堕棿
+ /// </summary>
+ [SugarColumn(ColumnName = "CREATE_DATE")]
+ public DateTime? CreateDate { get; set; }
+
+ /// <summary>
+ /// 鏈�鍚庢洿鏂颁汉
+ /// </summary>
+ [SugarColumn(ColumnName = "LASTUPDATE_BY")]
+ public string? LastupdateBy { get; set; }
+
+ /// <summary>
+ /// 鏈�鍚庢洿鏂版椂闂�
+ /// </summary>
+ [SugarColumn(ColumnName = "LASTUPDATE_DATE")]
+ public DateTime? LastupdateDate { get; set; }
+
+ /// <summary>
+ /// 鍗曚綅
+ /// </summary>
+ [SugarColumn(ColumnName = "ITEM_UNIT")]
+ public decimal? ItemUnit { get; set; }
+
+ /// <summary>
+ /// 鏄惁鍚屾
+ /// </summary>
+ [SugarColumn(ColumnName = "IS_TB")]
+ public decimal? IsTb { get; set; }
+
+ /// <summary>
+ /// 璋冨嚭璐т富绫诲瀷
+ /// </summary>
+ [SugarColumn(ColumnName = "FOWNERTYPEID")]
+ public string? FOwnerTypeId { get; set; }
+
+ /// <summary>
+ /// 璋冨嚭璐т富
+ /// </summary>
+ [SugarColumn(ColumnName = "FOWNERID")]
+ public string? FOwnerId { get; set; }
+
+ /// <summary>
+ /// 璋冨嚭浠撳簱
+ /// </summary>
+ [SugarColumn(ColumnName = "FSTOCKID")]
+ public string? FStockId { get; set; }
+
+ /// <summary>
+ /// 璋冨叆璐т富绫诲瀷
+ /// </summary>
+ [SugarColumn(ColumnName = "FOWNERTYPEINID")]
+ public string? FOwnerTypeInId { get; set; }
+
+ /// <summary>
+ /// 璋冨叆璐т富
+ /// </summary>
+ [SugarColumn(ColumnName = "FOWNERINID")]
+ public string? FOwnerInId { get; set; }
+
+ /// <summary>
+ /// 璋冨叆浠撳簱
+ /// </summary>
+ [SugarColumn(ColumnName = "FSTOCKINID")]
+ public string? FStockInId { get; set; }
+
+ /// <summary>
+ /// 璋冨嚭缁勭粐
+ /// </summary>
+ [SugarColumn(ColumnName = "FSTOCKORGID")]
+ public decimal? FStockOrgId { get; set; }
+
+ /// <summary>
+ /// 璋冨叆缁勭粐
+ /// </summary>
+ [SugarColumn(ColumnName = "FSTOCKORGINID")]
+ public decimal? FStockOrgInId { get; set; }
+
+ /// <summary>
+ /// 璋冨嚭鎵瑰彿
+ /// </summary>
+ [SugarColumn(ColumnName = "FLOT")]
+ public string? FLot { get; set; }
+
+ /// <summary>
+ /// 璁″垝璺熻釜鍙�
+ /// </summary>
+ [SugarColumn(ColumnName = "FMTONO")]
+ public string? FMtono { get; set; }
+
+ /// <summary>
+ /// 璋冩嫧鍑哄簱琛宨d
+ /// </summary>
+ [SugarColumn(ColumnName = "ERPID")]
+ public decimal? ErpId { get; set; }
}
diff --git a/MES.Service/Modes/FBSDB/MesInvItemMoves.cs b/MES.Service/Modes/FBSDB/MesInvItemMoves.cs
index f78f0c0..7226903 100644
--- a/MES.Service/Modes/FBSDB/MesInvItemMoves.cs
+++ b/MES.Service/Modes/FBSDB/MesInvItemMoves.cs
@@ -1,8 +1,186 @@
-锘�
+锘縰sing SqlSugar;
namespace MES.Service.Modes.FBSDB;
-internal class MesInvItemMoves
+/// <summary>
+/// 璋冩嫧鐢宠鍗�
+/// </summary>
+[SugarTable("MES_INV_ITEM_MOVES")]
+public class MesInvItemMoves
{
+ /// <summary>
+ /// ID
+ /// </summary>
+ [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
+ public decimal Id { get; set; }
+ /// <summary>
+ /// 绉诲簱鍗曞彿
+ /// </summary>
+ [SugarColumn(ColumnName = "BILL_NO")]
+ public string? BillNo { get; set; }
+
+ /// <summary>
+ /// 鍒涘缓浜�
+ /// </summary>
+ [SugarColumn(ColumnName = "CREATE_BY")]
+ public string? CreateBy { get; set; }
+
+ /// <summary>
+ /// 鍒涘缓鏃堕棿
+ /// </summary>
+ [SugarColumn(ColumnName = "CREATE_DATE")]
+ public DateTime? CreateDate { get; set; }
+
+ /// <summary>
+ /// 鏈�鍚庢洿鏂颁汉
+ /// </summary>
+ [SugarColumn(ColumnName = "LASTUPDATE_BY")]
+ public string? LastupdateBy { get; set; }
+
+ /// <summary>
+ /// 鏈�鍚庢洿鏂版椂闂�
+ /// </summary>
+ [SugarColumn(ColumnName = "LASTUPDATE_DATE")]
+ public DateTime? LastupdateDate { get; set; }
+
+ /// <summary>
+ /// 瀹℃牳鐘舵��
+ /// </summary>
+ [SugarColumn(ColumnName = "STATUS")]
+ public decimal? Status { get; set; }
+
+ /// <summary>
+ /// 澶囨敞
+ /// </summary>
+ [SugarColumn(ColumnName = "REMARK")]
+ public string? Remark { get; set; }
+
+ /// <summary>
+ /// 鍗曟嵁绫诲瀷ID
+ /// </summary>
+ [SugarColumn(ColumnName = "BILL_TYPE_ID")]
+ public decimal? BillTypeId { get; set; }
+
+ /// <summary>
+ /// 浜嬪姟绫诲瀷缂栫爜
+ /// </summary>
+ [SugarColumn(ColumnName = "TRANSACTION_NO")]
+ public decimal? TransactionNo { get; set; }
+
+ /// <summary>
+ /// 瀹℃牳浜�
+ /// </summary>
+ [SugarColumn(ColumnName = "CHECKUSER")]
+ public string? CheckUser { get; set; }
+
+ /// <summary>
+ /// 瀹℃牳鏃堕棿
+ /// </summary>
+ [SugarColumn(ColumnName = "CHECKDATE")]
+ public DateTime? CheckDate { get; set; }
+
+ /// <summary>
+ /// 宸插洖鍐橲AP
+ /// </summary>
+ [SugarColumn(ColumnName = "SAPSTATUS")]
+ public decimal? SapStatus { get; set; }
+
+ /// <summary>
+ /// 宸ュ巶
+ /// </summary>
+ [SugarColumn(ColumnName = "FACTORY")]
+ public string? Factory { get; set; }
+
+ /// <summary>
+ /// 鍏徃
+ /// </summary>
+ [SugarColumn(ColumnName = "COMPANY")]
+ public string? Company { get; set; }
+
+ /// <summary>
+ /// 鏄惁鎺ㄩ�丒RP
+ /// </summary>
+ [SugarColumn(ColumnName = "TS")]
+ public decimal? Ts { get; set; }
+
+ /// <summary>
+ /// 0鏈皟鎷�1璋冨嚭2璋冨叆
+ /// </summary>
+ [SugarColumn(ColumnName = "DB_STATUS")]
+ public string? DbStatus { get; set; }
+
+ /// <summary>
+ /// 鐘舵��
+ /// </summary>
+ [SugarColumn(ColumnName = "MSG")]
+ public string? Msg { get; set; }
+
+ /// <summary>
+ /// 鐘舵��
+ /// </summary>
+ [SugarColumn(ColumnName = "STATES")]
+ public string? States { get; set; }
+
+ /// <summary>
+ /// 鏉ユ簮鍗曟嵁
+ /// </summary>
+ [SugarColumn(ColumnName = "SOURCE_NO")]
+ public string? SourceNo { get; set; }
+
+ /// <summary>
+ /// erp澶磇d
+ /// </summary>
+ [SugarColumn(ColumnName = "ERPID")]
+ public decimal? Erpid { get; set; }
+
+ /// <summary>
+ /// 鍗曟嵁绫诲瀷
+ /// </summary>
+ [SugarColumn(ColumnName = "FBILLTYPEID")]
+ public string? FBillTypeId { get; set; }
+
+ /// <summary>
+ /// 鍗曟嵁鐘舵��
+ /// </summary>
+ [SugarColumn(ColumnName = "FDOCUMENTSTATUS")]
+ public string? FDocumentStatus { get; set; }
+
+ /// <summary>
+ /// 璋冩嫧鏂瑰悜
+ /// </summary>
+ [SugarColumn(ColumnName = "FTRANSFERDIRECT")]
+ public string? FTransferDirect { get; set; }
+
+ /// <summary>
+ /// 璋冩嫧绫诲瀷
+ /// </summary>
+ [SugarColumn(ColumnName = "FTRANSTYPE")]
+ public string? FTransType { get; set; }
+
+ /// <summary>
+ /// 涓氬姟绫诲瀷
+ /// </summary>
+ [SugarColumn(ColumnName = "FBUSINESSTYPE")]
+ public string? FBusinessType { get; set; }
+
+ /// <summary>
+ /// 璋冨嚭璐т富绫诲瀷
+ /// </summary>
+ [SugarColumn(ColumnName = "FOWNERTYPEIDHEAD")]
+ public string? FOwnerTypeIdHead { get; set; }
+
+ /// <summary>
+ /// 璋冨叆璐т富绫诲瀷
+ /// </summary>
+ [SugarColumn(ColumnName = "FOWNERTYPEINIDHEAD")]
+ public string? FOwnerTypeInIdHead { get; set; }
+
+ /// <summary>
+ /// 鐢宠缁勭粐
+ /// </summary>
+ [SugarColumn(ColumnName = "FAPPORGID")]
+ public decimal? FAppOrgId { get; set; }
+
+ [SugarColumn(IsIgnore = true)] public string? Type { get; set; }
}
diff --git a/MES.Service/bin/Release/net8.0/MES.Service.dll b/MES.Service/bin/Release/net8.0/MES.Service.dll
index b45773e..d15d524 100644
--- a/MES.Service/bin/Release/net8.0/MES.Service.dll
+++ b/MES.Service/bin/Release/net8.0/MES.Service.dll
Binary files differ
diff --git a/MES.Service/bin/Release/net8.0/MES.Service.pdb b/MES.Service/bin/Release/net8.0/MES.Service.pdb
index e415c3b..e61b416 100644
--- a/MES.Service/bin/Release/net8.0/MES.Service.pdb
+++ b/MES.Service/bin/Release/net8.0/MES.Service.pdb
Binary files differ
diff --git a/MES.Service/service/BasicData/MesDeliveryNoteManager.cs b/MES.Service/service/BasicData/MesDeliveryNoteManager.cs
index 3d28066..2e996ad 100644
--- a/MES.Service/service/BasicData/MesDeliveryNoteManager.cs
+++ b/MES.Service/service/BasicData/MesDeliveryNoteManager.cs
@@ -14,9 +14,7 @@
{
var erpDelivery = delivery.ErpDelivery;
var mesDeliveryNote = GetMesDeliveryNote(erpDelivery);
- var mesDeliveryNoteDetails = GetMesDeliveryNoteDetails(
- delivery.ErpDeliveryData, erpDelivery.DeliveryNo,
- mesDeliveryNote.Status);
+ var mesDeliveryNoteDetails = GetMesDeliveryNoteDetails(delivery.ErpDeliveryData, erpDelivery.DeliveryNo,mesDeliveryNote.Status);
return UseTransaction(db =>
{
@@ -25,16 +23,10 @@
case "2":
case "4":
case "5":
- return SaveOrUpdateData(db, mesDeliveryNote,
- mesDeliveryNoteDetails)
- ? 1
- : 0;
+ return SaveOrUpdateData(db, mesDeliveryNote,mesDeliveryNoteDetails) ? 1 : 0;
case "3":
case "6":
- return DeleteData(db, mesDeliveryNote,
- mesDeliveryNoteDetails)
- ? 1
- : 0;
+ return DeleteData(db, mesDeliveryNote,mesDeliveryNoteDetails) ? 1 : 0;
default:
throw new NotImplementedException(
$"type娌℃湁{erpDelivery.Type}杩欎釜绫诲瀷");
@@ -44,35 +36,37 @@
// 鏇存柊鏁版嵁鐨勬柟娉�
- private bool DeleteData(SqlSugarScope db, MesDeliveryNote mesDeliveryNote,
- List<MesDeliveryNoteDetails> mesDeliveryNoteDetails)
+ private bool DeleteData(SqlSugarScope db, MesDeliveryNote mesDeliveryNote,List<MesDeliveryNoteDetails> mesDeliveryNoteDetails)
{
var decimals = mesDeliveryNoteDetails.Select(s => s.Id).ToArray();
var update = base.DeleteById(mesDeliveryNote.Id);
- var insertOrUpdate = db.Deleteable<MesDeliveryNoteDetails>()
- .Where(s => s.DeliveryNo == mesDeliveryNote.DeliveryNo)
- .ExecuteCommand() > 0;
+ var insertOrUpdate = db.Deleteable<MesDeliveryNoteDetails>().Where(s => s.DeliveryNo == mesDeliveryNote.DeliveryNo).ExecuteCommand() > 0;
- if (update && insertOrUpdate) return true;
+ if (update && insertOrUpdate)
+ {
+ return true;
+ }
throw new NotImplementedException("鍒犻櫎澶辫触");
}
// 鎻掑叆鎴栨洿鏂版暟鎹殑鏂规硶
- private bool SaveOrUpdateData(SqlSugarScope db,
- MesDeliveryNote mesDeliveryNote,
- List<MesDeliveryNoteDetails> mesDeliveryNoteDetails)
+ private bool SaveOrUpdateData(SqlSugarScope db,MesDeliveryNote mesDeliveryNote,List<MesDeliveryNoteDetails> mesDeliveryNoteDetails)
{
- if (mesDeliveryNote.Id != null) base.DeleteById(mesDeliveryNote.Id);
+ if (mesDeliveryNote.Id != null)
+ {
+ base.DeleteById(mesDeliveryNote.Id);
+ }
if (mesDeliveryNoteDetails.Count > 0)
- db.Deleteable<MesDeliveryNoteDetails>()
- .Where(s => s.DeliveryNo == mesDeliveryNote.DeliveryNo)
- .ExecuteCommand();
-
+ {
+ db.Deleteable<MesDeliveryNoteDetails>().Where(s => s.DeliveryNo == mesDeliveryNote.DeliveryNo).ExecuteCommand();
+ }
var orUpdate = base.Insert(mesDeliveryNote);
- var baOrUpdate =
- mesDeliveryNoteManager.InsertRange(mesDeliveryNoteDetails);
- if (orUpdate && baOrUpdate) return true;
+ var baOrUpdate = mesDeliveryNoteManager.InsertRange(mesDeliveryNoteDetails);
+ if (orUpdate && baOrUpdate)
+ {
+ return true;
+ }
throw new NotImplementedException("鎻掑叆鎴栨洿鏂板け璐�");
}
diff --git a/MES.Service/service/BasicData/MesRohInManager.cs b/MES.Service/service/BasicData/MesRohInManager.cs
index ec95218..3d09a67 100644
--- a/MES.Service/service/BasicData/MesRohInManager.cs
+++ b/MES.Service/service/BasicData/MesRohInManager.cs
@@ -12,8 +12,7 @@
{
var rohInErpRohIn = rohIn.ErpRohIn;
var mesRohIn = GetMesRohIn(rohInErpRohIn);
- var mesRohInDatas =
- GetMesRohInDatas(rohIn.ErpRohinDatas, rohInErpRohIn.Type);
+ var mesRohInDatas =GetMesRohInDatas(rohIn.ErpRohinDatas, rohInErpRohIn.Type);
return UseTransaction(db =>
{
diff --git a/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs b/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs
index c04fc7a..e98c108 100644
--- a/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs
+++ b/MES.Service/service/BasicData/SalesDeliveryNoticeManager.cs
@@ -175,7 +175,7 @@
LotNumber = erpDto.FLot, //鎵瑰彿
SrcBillNo = erpDto.FSrcBillNo, //婧愬崟缂栧彿
PriceQty = erpDto.FPriceUnitQty, //璁′环鏁伴噺
- OwnerId = erpDto.FOwnerIdHead, //璐т富
+ OwnerId = erpDto.FOwnerId, //璐т富
InventoryUnit = erpDto.FStockUnitID, //搴撳瓨鍗曚綅
InventoryQuantity = Convert.ToDecimal(erpDto.FStockQty), //搴撳瓨鏁伴噺
PlanDeliveryDate = ParseDateTime(erpDto.FPlanDeliveryDate), //璁″垝鍙戣揣鏃ユ湡
diff --git a/MES.Service/service/FBSDB/FbsDbBManager.cs b/MES.Service/service/FBSDB/FbsDbBManager.cs
new file mode 100644
index 0000000..e03f94e
--- /dev/null
+++ b/MES.Service/service/FBSDB/FbsDbBManager.cs
@@ -0,0 +1,10 @@
+锘�
+
+using MES.Service.DB;
+using MES.Service.Modes.FBSDB;
+
+namespace MES.Service.service.FBSDB;
+
+public class FbsDbBManager : Repository<MesInvItemMoveItems>
+{
+}
diff --git a/MES.Service/service/FBSDB/FbsDbManager.cs b/MES.Service/service/FBSDB/FbsDbManager.cs
index 8cfd820..c6f690b 100644
--- a/MES.Service/service/FBSDB/FbsDbManager.cs
+++ b/MES.Service/service/FBSDB/FbsDbManager.cs
@@ -1,8 +1,159 @@
锘�
+using MES.Service.DB;
+using MES.Service.Dto.webApi;
+using MES.Service.Dto.webApi.FbsDb;
+using MES.Service.Modes;
+using MES.Service.Modes.FBSDB;
+using MES.Service.service.BasicData;
+using SqlSugar;
+
namespace MES.Service.service.FBSDB;
-internal class FbsDbManager
+public class FbsDbManager:Repository<MesInvItemMoves>
{
+ private readonly FbsDbBManager _dbBManager = new();
+ public bool SaveList(List<ErpDb> dbs)
+ {
+ var result = dbs.Select(Save).ToList();
+ return result.All(b => b);
+ }
+
+ public bool Save(ErpDb dbs)
+ {
+ var dba = dbs.erpDbcka;
+ var mesDbA = FbaDbA(dba);
+ var mesDbB = FbsDbB(dbs.erpDbckB,dba.FBillNo);
+ return UseTransaction(db =>
+ {
+ switch (dba.Type)
+ {
+ case "3":
+ return DeleteData(db, mesDbA, mesDbB) ? 1 : 0;
+ case "1":
+ case "2":
+ case "4":
+ case "5":
+ return SaveOrUpdateData(db, mesDbA, mesDbB) ? 1 : 0;
+ default:
+ throw new NotImplementedException($"type娌℃湁{dba.Type}杩欎釜绫诲瀷");
+ }
+ }) > 0;
+ }
+
+ // 鎻掑叆鎴栨洿鏂版暟鎹殑鏂规硶
+ private bool SaveOrUpdateData(SqlSugarScope db, MesInvItemMoves fbsdba, List<MesInvItemMoveItems> fbsdbb)
+ {
+ if (fbsdba.Id != null)
+ {
+ base.DeleteById(fbsdba.Id);
+ }
+
+ if (fbsdbb.Count > 0)
+ {
+ db.Deleteable<MesInvItemMoveItems>().Where(s => s.ItemMoveId == fbsdba.Erpid).ExecuteCommand();
+ }
+ var orUpdate = base.Insert(fbsdba);
+ var baOrUpdate = _dbBManager.InsertRange(fbsdbb);
+ if (orUpdate && baOrUpdate)
+ {
+ return true;
+ }
+ throw new NotImplementedException("鎻掑叆鎴栨洿鏂板け璐�");
+ }
+
+ private bool DeleteData(SqlSugarScope db, MesInvItemMoves mesDbA, List<MesInvItemMoveItems> mesDbB)
+ {
+ var decimals = mesDbB.Select(s => s.Id).ToArray();
+ var update = base.DeleteById(mesDbA.Id);
+ var insertOrUpdate = db.Deleteable<MesInvItemMoveItems>().In(decimals).ExecuteCommand() > 0;
+
+ if (update && insertOrUpdate)
+ {
+ return true;
+ }
+ throw new NotImplementedException("鍒犻櫎澶辫触");
+ }
+
+ private MesInvItemMoves FbaDbA(FbsDbA dto)
+ {
+
+ var entity = new MesInvItemMoves
+ {
+ Erpid = Convert.ToDecimal(dto.Erpid),
+ BillNo = dto.FBillNo,
+ CreateBy = dto.FCreateBy,
+ CreateDate = dto.FDate != null ? DateTime.ParseExact(dto.FDate, "yyyy-MM-dd HH:mm:ss", null) : null,
+ Status = 1,
+ Remark = dto.FRemarks,
+ BillTypeId = 300,
+ TransactionNo = 302,
+ SapStatus = 0,
+ Factory = "1000",
+ Company = "1000",
+ Ts =0,
+ DbStatus="鏈皟鎷�",
+ FBillTypeId=dto.FBillTypeID,
+ FDocumentStatus=dto.FDocumentStatus,
+ FTransferDirect=dto.FTransferDirect,
+ FTransType=dto.FTRANSTYPE,
+ FBusinessType=dto.FBusinessType,
+ FOwnerTypeIdHead=dto.FOwnerTypeIdHead,
+ FOwnerTypeInIdHead=dto.FOwnerTypeInIdHead,
+ FAppOrgId=Convert.ToDecimal(dto.FAPPORGID)
+
+ };
+
+ var single = base.GetSingle(it => it.Erpid == entity.Erpid);
+ if (single != null)
+ {
+ entity.Id = single.Id;
+ }
+
+ return entity;
+ }
+
+ private List<MesInvItemMoveItems> FbsDbB(List<FbsDbB> dtoList,string billno)
+ {
+ var dbList = new List<MesInvItemMoveItems>();
+
+ foreach (var dto in dtoList)
+ {
+ var entitys = new MesInvItemMoveItems
+ {
+ ErpId = Convert.ToDecimal(dto.erpid),
+ ItemMoveId = Convert.ToDecimal(dto.eid),
+ ItemId =Convert.ToDecimal(dto.FMATERIALID),
+ ItemUnit = Convert.ToDecimal(dto.FUNITID),
+ SqNum = Convert.ToDecimal(dto.FQty),
+ Remark = dto.FNote,
+ BillNo = billno,
+ MoveIn = 0,
+ MoveOut = 0,
+ CreateDate = DateTime.Now,
+ IsTb = 0,
+ FOwnerTypeId = dto.FOwnerTypeId,
+ FOwnerId = dto.FOwnerId,
+ FStockId = dto.FStockId,
+ FOwnerTypeInId = dto.FOwnerTypeInId,
+ FOwnerInId = dto.FOwnerInId,
+ FStockInId = dto.FStockInId,
+ FStockOrgId = Convert.ToDecimal(dto.FStockOrgId),
+ FStockOrgInId = Convert.ToDecimal(dto.FStockOrgInId),
+ FLot=dto.FLot,
+ FMtono=dto.FMtoNo
+ };
+
+ var entity = Db.Queryable<MesInvItemMoveItems>().Where(s => s.ErpId == entitys.ErpId).Single();
+ if (entity != null)
+ {
+ entitys.Id = entity.Id;
+ }
+
+ dbList.Add(entitys);
+ }
+
+ return dbList;
+ }
}
diff --git a/MES.Service/service/WomcaaManager.cs b/MES.Service/service/WomcaaManager.cs
index beffc7d..70b228d 100644
--- a/MES.Service/service/WomcaaManager.cs
+++ b/MES.Service/service/WomcaaManager.cs
@@ -22,10 +22,8 @@
public bool Save(ErpWOM wom)
{
var womErpCaa = wom.ErpCaa;
- var mesWomcaa = MapErpCAAtoWomcaa(womErpCaa, wom.ErpCabs[0].FXSHTBH,
- wom.ErpCabs[0].F_ZJXF_HSDJ);
- var mesWomcabs =
- MapErpCABtoWomcab(wom.ErpCabs);
+ var mesWomcaa = MapErpCAAtoWomcaa(womErpCaa, wom.ErpCabs[0].FXSHTBH,wom.ErpCabs[0].F_ZJXF_HSDJ);
+ var mesWomcabs = MapErpCABtoWomcab(wom.ErpCabs);
return UseTransaction(db =>
{
@@ -45,8 +43,7 @@
}) > 0;
}
- private bool UpdateData(SqlSugarScope db, Womcaa mesWomcaa,
- List<Womcab> mesWomcabs)
+ private bool UpdateData(SqlSugarScope db, Womcaa mesWomcaa,List<Womcab> mesWomcabs)
{
if (mesWomcaa.Id != null)
{
@@ -135,7 +132,7 @@
{
return true;
}
- throw new NotImplementedException("鏇存柊澶辫触");
+ throw new NotImplementedException("鍒犻櫎澶辫触");
}
private Womcaa MapErpCAAtoWomcaa(ErpCAA dto, string? fxshtbh, string? hsdj)
@@ -257,7 +254,7 @@
ProcNo = dto.F_ZJXF_SSGX
};
- var entity = Db.Queryable<Womcab>().Where(s => s.Erpid == womcab.Erpid).Single();
+ var entity = Db.Queryable<Womcab>().Where(s => s.Erpid == womcab.Erpid && s.Eid==womcab.Eid).Single();
if (entity != null)
{
womcab.Id = entity.Id;
diff --git a/MES.Service/service/WomcaaWWManager.cs b/MES.Service/service/WomcaaWWManager.cs
index ad77733..b7f1587 100644
--- a/MES.Service/service/WomcaaWWManager.cs
+++ b/MES.Service/service/WomcaaWWManager.cs
@@ -37,9 +37,7 @@
case "1":
case "2":
case "4":
- return SaveOrUpdateDataWw(db, mesWomcaa, mesWomcabs)
- ? 1
- : 0;
+ return SaveOrUpdateDataWw(db, mesWomcaa, mesWomcabs) ? 1 : 0;
case "5":
return UpdateData(db, mesWomcaa, mesWomcabs) ? 1 : 0;
default:
@@ -257,7 +255,7 @@
SalesOrder = dto.F_WWC_TEXT
};
- var entity = Db.Queryable<Womcab>().Where(s => s.Erpid == womcab.Erpid).Single();
+ var entity = Db.Queryable<Womcab>().Where(s => s.Erpid == womcab.Erpid && s.Eid==womcab.Eid).Single();
if (entity != null)
{
womcab.Id = entity.Id;
diff --git a/MESApplication/Controllers/FBSDB/FbsDbController.cs b/MESApplication/Controllers/FBSDB/FbsDbController.cs
index 80aaec3..8228b07 100644
--- a/MESApplication/Controllers/FBSDB/FbsDbController.cs
+++ b/MESApplication/Controllers/FBSDB/FbsDbController.cs
@@ -1,6 +1,128 @@
-锘縩amespace MESApplication.Controllers.FBSDB;
+锘縰sing MES.Service.Dto.webApi;
+using MES.Service.Dto.webApi.FbsDb;
+using MES.Service.Modes;
+using MES.Service.service;
+using MES.Service.service.FBSDB;
+using MES.Service.util;
+using Microsoft.AspNetCore.Mvc;
+using Newtonsoft.Json;
+using System.Dynamic;
-public class FbsDbController
+namespace MESApplication.Controllers.FBSDB;
+
+/// <summary>
+/// 璋冩嫧
+/// </summary>
+[ApiController]
+[Route("api/Dbcka")]
+public class FbsDbController :ControllerBase
{
+ private readonly MessageCenterManager _manager = new();
+ private readonly FbsDbManager m = new();
+
+ private readonly string METHOD = "POST";
+
+ private readonly string TableName = "Dbcka";
+
+ private readonly string URL = "http://localhost:10054/api/Dbcka/";
+
+ /// <summary>
+ /// 鏂板
+ /// </summary>
+ [HttpPost("Save")]
+ public ResponseResult Save(ErpDb db)
+ {
+ var entity = new MessageCenter();
+ entity.TableName = TableName;
+ entity.Url = URL + "Save";
+ entity.Method = METHOD;
+ entity.Data = JsonConvert.SerializeObject(db);
+ entity.Status = 1;
+ entity.CreateBy = "PL017";
+ try
+ {
+ dynamic resultInfos = new ExpandoObject();
+ var save = m.Save(db);
+
+ resultInfos.tbBillList = save;
+
+ entity.Result = 0;
+
+ if (save)
+ {
+ entity.Result = 1;
+ }
+ entity.DealWith = 1;
+ _manager.save(entity);
+
+ return new ResponseResult
+ {
+ status = 0,
+ message = "OK",
+ data = resultInfos
+ };
+ }
+ catch (Exception ex)
+ {
+ entity.Result = 0;
+
+ entity.DealWith = 0;
+
+ entity.ResultData = ex.Message;
+
+ _manager.save(entity);
+
+ return ResponseResult.ResponseError(ex);
+ }
+ }
+ /// <summary>
+ /// 鏂板鎵归噺
+ /// </summary>
+ [HttpPost("SaveList")]
+ public ResponseResult SaveList(List<ErpDb> dbs)
+ {
+ var entity = new MessageCenter();
+ entity.TableName = TableName;
+ entity.Url = URL + "SaveList";
+ entity.Method = METHOD;
+ entity.Data = JsonConvert.SerializeObject(dbs);
+ entity.Status = 1;
+ entity.CreateBy = "PL017";
+ try
+ {
+ dynamic resultInfos = new ExpandoObject();
+ var save = m.SaveList(dbs);
+ resultInfos.tbBillList = save;
+
+ entity.Result = 0;
+ if (save)
+ {
+ entity.Result = 1;
+ }
+
+ entity.DealWith = 1;
+ _manager.save(entity);
+
+ return new ResponseResult
+ {
+ status = 0,
+ message = "OK",
+ data = resultInfos
+ };
+ }
+ catch (Exception ex)
+ {
+ entity.Result = 0;
+
+ entity.DealWith = 0;
+
+ entity.ResultData = ex.Message;
+
+ _manager.save(entity);
+
+ return ResponseResult.ResponseError(ex);
+ }
+ }
+
}
diff --git a/MESApplication/Properties/PublishProfiles/FolderProfile.pubxml.user b/MESApplication/Properties/PublishProfiles/FolderProfile.pubxml.user
index b19b1e2..1a33b33 100644
--- a/MESApplication/Properties/PublishProfiles/FolderProfile.pubxml.user
+++ b/MESApplication/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -5,7 +5,7 @@
<Project>
<PropertyGroup>
<_PublishTargetUrl>E:\Tool\TLM\TLM_JK\MESApplication\bin\Release\net8.0\publish\</_PublishTargetUrl>
- <History>True|2025-07-23T05:05:59.4942121Z||;True|2025-07-23T10:12:43.2843130+08:00||;True|2025-07-22T15:29:46.8848508+08:00||;False|2025-07-22T15:29:15.2781716+08:00||;False|2025-07-22T15:26:28.6544573+08:00||;True|2025-07-16T14:28:49.8020385+08:00||;True|2025-07-15T14:10:46.5966766+08:00||;True|2025-07-15T13:47:28.9454088+08:00||;True|2025-07-15T13:47:02.7000977+08:00||;False|2025-07-15T13:46:13.1024314+08:00||;True|2025-06-23T11:21:29.8285053+08:00||;True|2025-06-23T10:42:44.4782901+08:00||;True|2025-06-13T11:39:26.7350436+08:00||;False|2025-06-13T11:38:43.8884292+08:00||;True|2025-06-13T11:00:43.8087373+08:00||;True|2025-05-16T15:10:24.9670924+08:00||;True|2025-05-15T14:40:01.9090441+08:00||;True|2025-05-15T14:37:16.5010870+08:00||;True|2025-05-14T11:08:53.5234495+08:00||;True|2025-05-10T11:32:49.9307363+08:00||;True|2025-05-09T18:04:27.4863117+08:00||;True|2025-04-16T18:13:28.4207378+08:00||;True|2025-04-11T18:24:26.3046003+08:00||;True|2025-03-26T10:03:35.1416945+08:00||;True|2025-03-24T14:54:31.6912596+08:00||;True|2025-03-04T15:36:06.8726998+08:00||;True|2025-03-04T15:07:10.0825281+08:00||;True|2025-02-28T12:01:45.7353138+08:00||;True|2025-02-27T18:49:51.8648828+08:00||;True|2025-02-24T18:08:27.1066831+08:00||;True|2025-02-14T20:58:59.6306239+08:00||;True|2025-02-12T18:28:32.5741267+08:00||;True|2024-12-28T09:06:17.0669698+08:00||;True|2024-12-26T14:45:42.2002555+08:00||;True|2024-12-26T13:03:07.9325085+08:00||;True|2024-12-26T11:43:04.0852484+08:00||;True|2024-12-21T22:33:39.6121285+08:00||;True|2024-12-16T14:40:36.9800141+08:00||;True|2024-12-14T16:23:42.9536129+08:00||;True|2024-12-11T15:50:13.8959852+08:00||;True|2024-12-11T10:47:42.1561088+08:00||;True|2024-12-08T18:32:27.3909077+08:00||;True|2024-12-06T16:30:29.0031886+08:00||;True|2024-12-05T16:20:00.9907217+08:00||;True|2024-12-05T16:19:41.4441561+08:00||;True|2024-12-05T16:19:22.9404769+08:00||;True|2024-12-05T11:07:30.6547548+08:00||;True|2024-12-03T17:12:24.9349522+08:00||;True|2024-11-27T11:05:24.9761937+08:00||;True|2024-11-19T08:57:10.9008301+08:00||;True|2024-11-18T21:02:57.0481324+08:00||;True|2024-11-05T17:25:48.6360448+08:00||;True|2024-11-05T17:16:08.2144948+08:00||;True|2024-10-28T11:56:24.2694762+08:00||;True|2024-10-28T11:40:56.4512491+08:00||;True|2024-10-28T11:28:42.4509497+08:00||;True|2024-10-28T11:11:11.1286907+08:00||;True|2024-10-28T10:09:42.4378313+08:00||;True|2024-10-28T09:57:51.0792947+08:00||;True|2024-10-23T17:07:23.7741858+08:00||;True|2024-10-22T14:34:55.4526970+08:00||;True|2024-10-17T16:37:53.4763504+08:00||;True|2024-10-13T14:04:45.3666662+08:00||;True|2024-10-13T12:30:16.7294894+08:00||;True|2024-10-13T12:22:13.5740642+08:00||;True|2024-09-26T17:43:56.9592414+08:00||;True|2024-09-25T09:56:59.0722612+08:00||;True|2024-09-20T16:35:40.9416105+08:00||;True|2024-09-13T15:42:08.2824743+08:00||;True|2024-08-20T17:12:00.2924570+08:00||;True|2024-08-17T10:57:05.6670396+08:00||;True|2024-08-17T10:56:46.8068041+08:00||;True|2024-08-16T14:09:17.0526491+08:00||;True|2024-08-15T08:40:32.8134665+08:00||;True|2024-08-14T10:00:27.7017207+08:00||;True|2024-08-14T08:54:44.8284031+08:00||;True|2024-08-07T10:32:10.3689256+08:00||;True|2024-08-05T15:45:03.0864530+08:00||;True|2024-08-03T09:59:13.7916520+08:00||;True|2024-07-31T17:27:28.1965929+08:00||;True|2024-07-31T15:27:34.7943845+08:00||;True|2024-07-30T15:04:50.5849235+08:00||;True|2024-07-30T14:09:06.2877325+08:00||;True|2024-07-29T16:11:30.4493940+08:00||;True|2024-07-23T14:30:34.4591002+08:00||;True|2024-07-22T14:17:39.8186158+08:00||;True|2024-04-10T12:55:31.3963752+08:00||;True|2024-04-08T13:59:25.5487203+08:00||;True|2024-04-06T09:30:09.5350539+08:00||;True|2024-04-06T08:46:05.8814658+08:00||;True|2024-04-05T14:06:52.0448024+08:00||;True|2024-04-05T12:47:46.0561601+08:00||;True|2024-02-26T08:46:22.0988887+08:00||;True|2024-02-24T19:17:13.6770376+08:00||;True|2024-02-24T14:32:37.4450337+08:00||;True|2024-02-23T10:22:06.5150173+08:00||;True|2024-02-22T13:19:56.6997993+08:00||;True|2024-02-22T10:53:17.7929585+08:00||;True|2024-02-21T17:08:06.5553444+08:00||;True|2024-02-19T16:24:37.4912012+08:00||;</History>
+ <History>True|2025-08-15T06:25:19.3531965Z||;True|2025-08-14T17:32:25.7508344+08:00||;False|2025-08-14T17:31:56.8464506+08:00||;True|2025-08-12T19:41:36.3893617+08:00||;True|2025-08-09T09:29:59.0486574+08:00||;True|2025-08-06T13:22:48.4388593+08:00||;True|2025-08-02T16:57:47.8520200+08:00||;True|2025-07-23T13:05:59.4942121+08:00||;True|2025-07-23T10:12:43.2843130+08:00||;True|2025-07-22T15:29:46.8848508+08:00||;False|2025-07-22T15:29:15.2781716+08:00||;False|2025-07-22T15:26:28.6544573+08:00||;True|2025-07-16T14:28:49.8020385+08:00||;True|2025-07-15T14:10:46.5966766+08:00||;True|2025-07-15T13:47:28.9454088+08:00||;True|2025-07-15T13:47:02.7000977+08:00||;False|2025-07-15T13:46:13.1024314+08:00||;True|2025-06-23T11:21:29.8285053+08:00||;True|2025-06-23T10:42:44.4782901+08:00||;True|2025-06-13T11:39:26.7350436+08:00||;False|2025-06-13T11:38:43.8884292+08:00||;True|2025-06-13T11:00:43.8087373+08:00||;True|2025-05-16T15:10:24.9670924+08:00||;True|2025-05-15T14:40:01.9090441+08:00||;True|2025-05-15T14:37:16.5010870+08:00||;True|2025-05-14T11:08:53.5234495+08:00||;True|2025-05-10T11:32:49.9307363+08:00||;True|2025-05-09T18:04:27.4863117+08:00||;True|2025-04-16T18:13:28.4207378+08:00||;True|2025-04-11T18:24:26.3046003+08:00||;True|2025-03-26T10:03:35.1416945+08:00||;True|2025-03-24T14:54:31.6912596+08:00||;True|2025-03-04T15:36:06.8726998+08:00||;True|2025-03-04T15:07:10.0825281+08:00||;True|2025-02-28T12:01:45.7353138+08:00||;True|2025-02-27T18:49:51.8648828+08:00||;True|2025-02-24T18:08:27.1066831+08:00||;True|2025-02-14T20:58:59.6306239+08:00||;True|2025-02-12T18:28:32.5741267+08:00||;True|2024-12-28T09:06:17.0669698+08:00||;True|2024-12-26T14:45:42.2002555+08:00||;True|2024-12-26T13:03:07.9325085+08:00||;True|2024-12-26T11:43:04.0852484+08:00||;True|2024-12-21T22:33:39.6121285+08:00||;True|2024-12-16T14:40:36.9800141+08:00||;True|2024-12-14T16:23:42.9536129+08:00||;True|2024-12-11T15:50:13.8959852+08:00||;True|2024-12-11T10:47:42.1561088+08:00||;True|2024-12-08T18:32:27.3909077+08:00||;True|2024-12-06T16:30:29.0031886+08:00||;True|2024-12-05T16:20:00.9907217+08:00||;True|2024-12-05T16:19:41.4441561+08:00||;True|2024-12-05T16:19:22.9404769+08:00||;True|2024-12-05T11:07:30.6547548+08:00||;True|2024-12-03T17:12:24.9349522+08:00||;True|2024-11-27T11:05:24.9761937+08:00||;True|2024-11-19T08:57:10.9008301+08:00||;True|2024-11-18T21:02:57.0481324+08:00||;True|2024-11-05T17:25:48.6360448+08:00||;True|2024-11-05T17:16:08.2144948+08:00||;True|2024-10-28T11:56:24.2694762+08:00||;True|2024-10-28T11:40:56.4512491+08:00||;True|2024-10-28T11:28:42.4509497+08:00||;True|2024-10-28T11:11:11.1286907+08:00||;True|2024-10-28T10:09:42.4378313+08:00||;True|2024-10-28T09:57:51.0792947+08:00||;True|2024-10-23T17:07:23.7741858+08:00||;True|2024-10-22T14:34:55.4526970+08:00||;True|2024-10-17T16:37:53.4763504+08:00||;True|2024-10-13T14:04:45.3666662+08:00||;True|2024-10-13T12:30:16.7294894+08:00||;True|2024-10-13T12:22:13.5740642+08:00||;True|2024-09-26T17:43:56.9592414+08:00||;True|2024-09-25T09:56:59.0722612+08:00||;True|2024-09-20T16:35:40.9416105+08:00||;True|2024-09-13T15:42:08.2824743+08:00||;True|2024-08-20T17:12:00.2924570+08:00||;True|2024-08-17T10:57:05.6670396+08:00||;True|2024-08-17T10:56:46.8068041+08:00||;True|2024-08-16T14:09:17.0526491+08:00||;True|2024-08-15T08:40:32.8134665+08:00||;True|2024-08-14T10:00:27.7017207+08:00||;True|2024-08-14T08:54:44.8284031+08:00||;True|2024-08-07T10:32:10.3689256+08:00||;True|2024-08-05T15:45:03.0864530+08:00||;True|2024-08-03T09:59:13.7916520+08:00||;True|2024-07-31T17:27:28.1965929+08:00||;True|2024-07-31T15:27:34.7943845+08:00||;True|2024-07-30T15:04:50.5849235+08:00||;True|2024-07-30T14:09:06.2877325+08:00||;True|2024-07-29T16:11:30.4493940+08:00||;True|2024-07-23T14:30:34.4591002+08:00||;True|2024-07-22T14:17:39.8186158+08:00||;True|2024-04-10T12:55:31.3963752+08:00||;True|2024-04-08T13:59:25.5487203+08:00||;True|2024-04-06T09:30:09.5350539+08:00||;True|2024-04-06T08:46:05.8814658+08:00||;True|2024-04-05T14:06:52.0448024+08:00||;True|2024-04-05T12:47:46.0561601+08:00||;True|2024-02-26T08:46:22.0988887+08:00||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>
\ No newline at end of file
diff --git a/MESApplication/bin/Release/net8.0/MES.Service.dll b/MESApplication/bin/Release/net8.0/MES.Service.dll
index b45773e..d15d524 100644
--- a/MESApplication/bin/Release/net8.0/MES.Service.dll
+++ b/MESApplication/bin/Release/net8.0/MES.Service.dll
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/MES.Service.pdb b/MESApplication/bin/Release/net8.0/MES.Service.pdb
index e415c3b..e61b416 100644
--- a/MESApplication/bin/Release/net8.0/MES.Service.pdb
+++ b/MESApplication/bin/Release/net8.0/MES.Service.pdb
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/MESApplication.dll b/MESApplication/bin/Release/net8.0/MESApplication.dll
index a1e20f0..5051c5a 100644
--- a/MESApplication/bin/Release/net8.0/MESApplication.dll
+++ b/MESApplication/bin/Release/net8.0/MESApplication.dll
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/MESApplication.exe b/MESApplication/bin/Release/net8.0/MESApplication.exe
index 9702823..4bd33ae 100644
--- a/MESApplication/bin/Release/net8.0/MESApplication.exe
+++ b/MESApplication/bin/Release/net8.0/MESApplication.exe
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/MESApplication.pdb b/MESApplication/bin/Release/net8.0/MESApplication.pdb
index 7e67cbe..b400f99 100644
--- a/MESApplication/bin/Release/net8.0/MESApplication.pdb
+++ b/MESApplication/bin/Release/net8.0/MESApplication.pdb
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/MESApplication.xml b/MESApplication/bin/Release/net8.0/MESApplication.xml
index 399b61a..883d66d 100644
--- a/MESApplication/bin/Release/net8.0/MESApplication.xml
+++ b/MESApplication/bin/Release/net8.0/MESApplication.xml
@@ -858,6 +858,21 @@
</summary>
<returns></returns>
</member>
+ <member name="T:MESApplication.Controllers.FBSDB.FbsDbController">
+ <summary>
+ 璋冩嫧
+ </summary>
+ </member>
+ <member name="M:MESApplication.Controllers.FBSDB.FbsDbController.Save(MES.Service.Dto.webApi.FbsDb.ErpDb)">
+ <summary>
+ 鏂板
+ </summary>
+ </member>
+ <member name="M:MESApplication.Controllers.FBSDB.FbsDbController.SaveList(System.Collections.Generic.List{MES.Service.Dto.webApi.FbsDb.ErpDb})">
+ <summary>
+ 鏂板鎵归噺
+ </summary>
+ </member>
<member name="M:MESApplication.Controllers.QC.MesLineUserController.GetList">
<summary>
鑾峰彇鎵�鏈�
diff --git a/MESApplication/bin/Release/net8.0/publish/MES.Service.dll b/MESApplication/bin/Release/net8.0/publish/MES.Service.dll
index b45773e..d15d524 100644
--- a/MESApplication/bin/Release/net8.0/publish/MES.Service.dll
+++ b/MESApplication/bin/Release/net8.0/publish/MES.Service.dll
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/publish/MES.Service.pdb b/MESApplication/bin/Release/net8.0/publish/MES.Service.pdb
index e415c3b..e61b416 100644
--- a/MESApplication/bin/Release/net8.0/publish/MES.Service.pdb
+++ b/MESApplication/bin/Release/net8.0/publish/MES.Service.pdb
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/publish/MESApplication.dll b/MESApplication/bin/Release/net8.0/publish/MESApplication.dll
index a1e20f0..5051c5a 100644
--- a/MESApplication/bin/Release/net8.0/publish/MESApplication.dll
+++ b/MESApplication/bin/Release/net8.0/publish/MESApplication.dll
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/publish/MESApplication.exe b/MESApplication/bin/Release/net8.0/publish/MESApplication.exe
index 9702823..4bd33ae 100644
--- a/MESApplication/bin/Release/net8.0/publish/MESApplication.exe
+++ b/MESApplication/bin/Release/net8.0/publish/MESApplication.exe
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/publish/MESApplication.pdb b/MESApplication/bin/Release/net8.0/publish/MESApplication.pdb
index 7e67cbe..b400f99 100644
--- a/MESApplication/bin/Release/net8.0/publish/MESApplication.pdb
+++ b/MESApplication/bin/Release/net8.0/publish/MESApplication.pdb
Binary files differ
diff --git a/MESApplication/bin/Release/net8.0/publish/MESApplication.xml b/MESApplication/bin/Release/net8.0/publish/MESApplication.xml
index 399b61a..883d66d 100644
--- a/MESApplication/bin/Release/net8.0/publish/MESApplication.xml
+++ b/MESApplication/bin/Release/net8.0/publish/MESApplication.xml
@@ -858,6 +858,21 @@
</summary>
<returns></returns>
</member>
+ <member name="T:MESApplication.Controllers.FBSDB.FbsDbController">
+ <summary>
+ 璋冩嫧
+ </summary>
+ </member>
+ <member name="M:MESApplication.Controllers.FBSDB.FbsDbController.Save(MES.Service.Dto.webApi.FbsDb.ErpDb)">
+ <summary>
+ 鏂板
+ </summary>
+ </member>
+ <member name="M:MESApplication.Controllers.FBSDB.FbsDbController.SaveList(System.Collections.Generic.List{MES.Service.Dto.webApi.FbsDb.ErpDb})">
+ <summary>
+ 鏂板鎵归噺
+ </summary>
+ </member>
<member name="M:MESApplication.Controllers.QC.MesLineUserController.GetList">
<summary>
鑾峰彇鎵�鏈�
--
Gitblit v1.9.3