You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.Sys.Dtos;
using DS.WMS.Core.Sys.Entity;
namespace DS.WMS.Core.Sys.Interface;
public interface IConfigService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<ConfigRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditConfig(ConfigReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<ConfigRes> GetConfigInfo(string id);
5 months ago
/// <summary>
/// 获取系统参数详情
/// </summary>
/// <param name="code">参数代码</param>
/// <param name="tenantId">租户ID</param>
/// <param name="isSystemDefault">是否默认系统租户 true-是tenantId不传参数false-否tenantId必传</param>
/// <returns></returns>
Task<DataResult<ConfigRes>> GetConfig(string code, Nullable<long> tenantId = null, bool isSystemDefault = true);
}