From 5c8ab7ff7ac5396aec8b072ab9f21722f83d777b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=B3=B0?= Date: Wed, 29 Apr 2026 16:48:48 +0800 Subject: [PATCH] =?UTF-8?q?p132=5F32=20=E6=96=B0=E5=A2=9E=E6=A0=87?= =?UTF-8?q?=E7=9A=84=E8=B5=84=E4=BA=A7=E9=BB=98=E8=AE=A4=E5=90=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpDAL/Modules/UnderlyingModule/UnderlyingDalService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YLErpDAL/Modules/UnderlyingModule/UnderlyingDalService.cs b/YLErpDAL/Modules/UnderlyingModule/UnderlyingDalService.cs index 5415b7ba..d9af5ba0 100644 --- a/YLErpDAL/Modules/UnderlyingModule/UnderlyingDalService.cs +++ b/YLErpDAL/Modules/UnderlyingModule/UnderlyingDalService.cs @@ -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