去除引用common.props
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using JNPF.Common.Core.Manager;
|
||||
using JNPF.Common.Enums;
|
||||
using JNPF.Common.Extension;
|
||||
using JNPF.Common.Filter;
|
||||
using JNPF.Common.Security;
|
||||
using JNPF.DependencyInjection;
|
||||
@@ -12,7 +13,6 @@ using JNPF.Systems.Entitys.Permission;
|
||||
using Mapster;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using SqlSugar;
|
||||
using JNPF.Common.Extension;
|
||||
|
||||
namespace JNPF.Systems.System;
|
||||
|
||||
@@ -94,7 +94,7 @@ public class PrintLogService : IDynamicApiController, ITransient
|
||||
public async Task Delete([FromBody] PrintLogOutuut input)
|
||||
{
|
||||
var entity = input.Adapt<PrintLogEntity>();
|
||||
entity.Id= SnowflakeIdHelper.NextId();
|
||||
entity.Id = SnowflakeIdHelper.NextId();
|
||||
entity.PrintMan = _userManager.UserId;
|
||||
entity.PrintTime = DateTime.Now;
|
||||
var isOk = await _repository.AsInsertable(entity).ExecuteCommandAsync();
|
||||
|
||||
Reference in New Issue
Block a user