去掉IDE1006警告,修改BaseEntity

This commit is contained in:
2023-04-26 10:44:11 +08:00
parent a1f848fcd7
commit 5d6e9265a8
12 changed files with 23 additions and 53 deletions

View File

@@ -50,7 +50,7 @@ namespace Tnb.ProductionMgr
foreach (var item in multi)
{
MoldsEntity entity = new();
entity.Id = SnowflakeIdHelper.NextId();
entity.id = SnowflakeIdHelper.NextId();
entity.MoldCode = $"m00{index}";
entity.MoldName = "磨具" + index;
entity.ItemId = item.pId;
@@ -68,7 +68,7 @@ namespace Tnb.ProductionMgr
var dic = new Dictionary<string, object>
{
{"id",item.EqpId },
{ "mold_id", item.Id}
{ "mold_id", item.id}
};
var row2 = await db.Updateable(dic).AS("eqp_equipment")
.WhereColumns("id").