p132_32 新增标的资产默认启用

This commit is contained in:
尹峰
2026-04-29 16:48:48 +08:00
parent eb92ed77b1
commit 5c8ab7ff7a
@@ -396,6 +396,8 @@ namespace YLErp.Modules.UnderlyingModule
ObjectHelper.MapValues(dbModel, req);
}
dbModel.Price = underlying_manager.DefaultSpotPrice;
// 新增标的默认启用
dbModel.LaunchState = "1";
DbContext.underlying_manager.Add(dbModel);
}
else