去除引用common.props

This commit is contained in:
2023-11-06 19:35:59 +08:00
parent 6a2154edd9
commit c6b8dfc861
810 changed files with 3910 additions and 6695 deletions

View File

@@ -1,5 +1,4 @@
using JNPF.Common.Core.Manager;
using JNPF.Common.Enums;
using JNPF.Common.Security;
using JNPF.DependencyInjection;
using JNPF.DynamicApiController;
@@ -7,7 +6,6 @@ using JNPF.FriendlyException;
using Microsoft.AspNetCore.Mvc;
using SqlSugar;
using Tnb.EquipMgr.Entities;
using Tnb.EquipMgr.Entities.Dto;
using Tnb.EquipMgr.Interfaces;
namespace Tnb.EquipMgr
@@ -42,7 +40,8 @@ namespace Tnb.EquipMgr
if (entity.warn_unit == "1")//月
{
entity.next_check_time = entity.end_time?.AddMonths(-entity.warm_time.Value);
}else if (entity.warn_unit == "2")//天
}
else if (entity.warn_unit == "2")//天
{
entity.next_check_time = entity.end_time?.AddDays(-entity.warm_time.Value);
}