设备数采项目刷选 工艺标准模板导出
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using JNPF.Common.Core.Manager;
|
||||
using JNPF.Common.Dtos.VisualDev;
|
||||
using JNPF.Common.Enums;
|
||||
using JNPF.Common.Security;
|
||||
using JNPF.DependencyInjection;
|
||||
using JNPF.DynamicApiController;
|
||||
using JNPF.FriendlyException;
|
||||
@@ -41,6 +42,7 @@ namespace Tnb.EquipMgr
|
||||
var db = _repository.AsSugarClient();
|
||||
DbResult<bool> result = await db.Ado.UseTranAsync(async () =>
|
||||
{
|
||||
eqpEquipScrap.id = SnowflakeIdHelper.NextId();
|
||||
eqpEquipScrap.create_id = _userManager.UserId;
|
||||
eqpEquipScrap.create_time = DateTime.Now;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user