This commit is contained in:
alex
2023-06-21 09:11:33 +08:00
parent 3485b72044
commit 4b8f14d215
6 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +1,5 @@
using JNPF.Common.Const;
using JNPF;
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
@@ -164,4 +166,13 @@ public partial class WmsInstockCode : BaseEntity<string>
/// </summary>
public string? mo_bom_detail_id { get; set; }
public void Create()
{
var orgId = App.User?.FindFirst(ClaimConst.CLAINMORGID)?.Value;
if (!string.IsNullOrEmpty(orgId))
{
this.org_id = orgId;
}
}
}