This commit is contained in:
xiaowei.song
2024-06-06 13:19:24 +08:00
parent c93711290e
commit 127c428a9e
919 changed files with 93 additions and 86 deletions

View File

@@ -0,0 +1,22 @@
using Infrastructure.Attribute;
using ZR.Model.System;
using ZR.Service.System.IService;
namespace ZR.Service.System
{
/// <summary>
/// 参数配置Service业务层处理
/// </summary>
[AppService(ServiceType = typeof(ISysConfigService), ServiceLifetime = LifeTime.Transient)]
public class SysConfigService : BaseService<SysConfig>, ISysConfigService
{
#region
public SysConfig GetSysConfigByKey(string key)
{
return Queryable().First(f => f.ConfigKey == key);
}
#endregion
}
}