<update>将插入表内的 ‘-’ 变为空

This commit is contained in:
葛林强 2025-01-16 15:36:10 +08:00
parent b625cd37dc
commit a6c0441e76
12 changed files with 24 additions and 24 deletions

View File

@ -42,18 +42,18 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
StockNum = 0, StockNum = 0,
OnDate = DateTime.Now, OnDate = DateTime.Now,
OnShelfUserId = "Mobile_Android", OnShelfUserId = "Mobile_Android",
StorageId = "-", StorageId = "",
StorageAreaId = "-", StorageAreaId = "",
UpGoodsId = UUIDUtils.GetNewUUID2(), UpGoodsId = UUIDUtils.GetNewUUID2(),
GoodsTypeId = "0", GoodsTypeId = "0",
StorageMode = "空托入库", StorageMode = "空托入库",
ProdictionDate = DateTime.Now, ProdictionDate = DateTime.Now,
Ctl = request.VehicleNo, Ctl = request.VehicleNo,
BarCode = "-", BarCode = "",
CustomerId = "景旺", CustomerId = "景旺",
GoodsName = "空载具", GoodsName = "空载具",
Status = "0", Status = "0",
Unit = "-", Unit = "",
TaskType = "1", TaskType = "1",
GoodsMeasureId = UUIDUtils.GetNewUUID2(), GoodsMeasureId = UUIDUtils.GetNewUUID2(),
PackingNum = 1, PackingNum = 1,
@ -174,7 +174,7 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
StockNum = 0, StockNum = 0,
OnDate = DateTime.Now, OnDate = DateTime.Now,
OnShelfUserId = "Mobile_Android", OnShelfUserId = "Mobile_Android",
StorageId = "-", StorageId = "",
StorageAreaId = item.Area, StorageAreaId = item.Area,
UpGoodsId = UUIDUtils.GetNewUUID2(), UpGoodsId = UUIDUtils.GetNewUUID2(),
GoodsTypeId = item.GoodsTypeId, GoodsTypeId = item.GoodsTypeId,
@ -243,7 +243,7 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
StockNum = item.PacketNum.ToDecimal(), StockNum = item.PacketNum.ToDecimal(),
OnDate = DateTime.Now, OnDate = DateTime.Now,
OnShelfUserId = "Mobile_Android", OnShelfUserId = "Mobile_Android",
StorageId = "-", StorageId = "",
StorageAreaId = item.MinorWarehouseId, StorageAreaId = item.MinorWarehouseId,
UpGoodsId = UUIDUtils.GetNewUUID2(), UpGoodsId = UUIDUtils.GetNewUUID2(),
GoodsTypeId = item.PacketLevel, GoodsTypeId = item.PacketLevel,
@ -255,7 +255,7 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
GoodsName = item.GoodsDesc, GoodsName = item.GoodsDesc,
Status = "0", Status = "0",
PRODUCLOTID = item.MinorWarehouseId, PRODUCLOTID = item.MinorWarehouseId,
Unit = "-", Unit = "",
TaskType = request.InArea, TaskType = request.InArea,
GoodsMeasureId = item.SaleOrderNo, GoodsMeasureId = item.SaleOrderNo,
PackingNum = 1, PackingNum = 1,
@ -279,24 +279,24 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
StockNum = 0, StockNum = 0,
OnDate = DateTime.Now, OnDate = DateTime.Now,
OnShelfUserId = "Mobile_Android", OnShelfUserId = "Mobile_Android",
StorageId = "-", StorageId = "",
StorageAreaId = "-", StorageAreaId = "",
UpGoodsId = UUIDUtils.GetNewUUID2(), UpGoodsId = UUIDUtils.GetNewUUID2(),
GoodsTypeId = "-", GoodsTypeId = "",
StorageMode = "MES码盘包装线", StorageMode = "MES码盘包装线",
ProdictionDate = DateTime.Now, ProdictionDate = DateTime.Now,
Ctl = request.VehicleNo, Ctl = request.VehicleNo,
BarCode = "-", BarCode = "",
CustomerId = "-", CustomerId = "",
GoodsName = "去包装线托盘", GoodsName = "去包装线托盘",
Status = "0", Status = "0",
PRODUCLOTID = "-", PRODUCLOTID = "",
Unit = "-", Unit = "",
TaskType = request.InArea, TaskType = request.InArea,
GoodsMeasureId = "-", GoodsMeasureId = "",
PackingNum = 1, PackingNum = 1,
DamageNum = 1, DamageNum = 1,
ScaleUnit = "-", ScaleUnit = "",
Remark = "" Remark = ""
}); });
} }
@ -351,7 +351,7 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
StockNum = item.PacketNum, StockNum = item.PacketNum,
OnDate = DateTime.Now, OnDate = DateTime.Now,
OnShelfUserId = "Mobile_Android", OnShelfUserId = "Mobile_Android",
StorageId = "-", StorageId = "",
StorageAreaId = item.MinorWarehouseId, StorageAreaId = item.MinorWarehouseId,
UpGoodsId = UUIDUtils.GetNewUUID2(), UpGoodsId = UUIDUtils.GetNewUUID2(),
GoodsTypeId = item.PacketLevel, GoodsTypeId = item.PacketLevel,
@ -362,7 +362,7 @@ public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsS
CustomerId = item.CustomSaleOrderNo, CustomerId = item.CustomSaleOrderNo,
GoodsName = item.GoodsDesc, GoodsName = item.GoodsDesc,
Status = "0", Status = "0",
Unit = "-", Unit = "",
TaskType = request.TaskType.ToString(), TaskType = request.TaskType.ToString(),
GoodsMeasureId = item.SaleOrderNo, GoodsMeasureId = item.SaleOrderNo,
PackingNum = 1, PackingNum = 1,

View File

@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("WmsMobileServe")] [assembly: System.Reflection.AssemblyCompanyAttribute("WmsMobileServe")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+92bbc387a84502ea1324bf99f374d21773d1a098")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b625cd37dc76e91a0effb332293cf68a40c47e6a")]
[assembly: System.Reflection.AssemblyProductAttribute("WmsMobileServe")] [assembly: System.Reflection.AssemblyProductAttribute("WmsMobileServe")]
[assembly: System.Reflection.AssemblyTitleAttribute("WmsMobileServe")] [assembly: System.Reflection.AssemblyTitleAttribute("WmsMobileServe")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
2b2dd5cdd49ee0bef0732989838c0d301eefdd5ba36a3e08da61b7af941638ef bb2380e1364493c521a10f2ba9bf30bc873e709eb37aa674ec2200d664181e89

View File

@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("WmsMobileServe")] [assembly: System.Reflection.AssemblyCompanyAttribute("WmsMobileServe")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+92bbc387a84502ea1324bf99f374d21773d1a098")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b625cd37dc76e91a0effb332293cf68a40c47e6a")]
[assembly: System.Reflection.AssemblyProductAttribute("WmsMobileServe")] [assembly: System.Reflection.AssemblyProductAttribute("WmsMobileServe")]
[assembly: System.Reflection.AssemblyTitleAttribute("WmsMobileServe")] [assembly: System.Reflection.AssemblyTitleAttribute("WmsMobileServe")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
a398b7f1a12ed8f127f7ea063578cfb4226c284ac229b9a5035e4a3c165d49e6 e495e466e8462a08ae8a12b5a527910f9633f82c1572db27d02695593b82c261

View File

@ -1 +1 @@
17368993158563419 17369189191510080

View File

@ -1 +1 @@
17368987058212765 17369188177497992