去掉IDE1006警告,修改BaseEntity
This commit is contained in:
@@ -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").
|
||||
|
||||
Reference in New Issue
Block a user