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.
59 lines
1.7 KiB
C#
59 lines
1.7 KiB
C#
using System.Linq.Expressions;
|
|
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Code.Dtos;
|
|
using DS.WMS.Core.Code.Entity;
|
|
using DS.WMS.Core.Info.Dtos;
|
|
using DS.WMS.Core.Op.Entity;
|
|
namespace DS.WMS.Core.Info.Interface;
|
|
|
|
/// <summary>
|
|
/// 客户参数
|
|
/// </summary>
|
|
public interface IClientParamService
|
|
{
|
|
/// <summary>
|
|
/// 获取客户参数
|
|
/// </summary>
|
|
/// <typeparam name="T">参数值的类型</typeparam>
|
|
/// <param name="businessId">业务ID</param>
|
|
/// <param name="paramName">参数名</param>
|
|
/// <param name="joinExpression">客户类别连接条件</param>
|
|
/// <returns></returns>
|
|
Task<Param<T>> GetParamAsync<T>(long businessId, string paramName,
|
|
Expression<Func<InfoClientParam, SeaExport, bool>> joinExpression);
|
|
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
DataResult<List<ClientParamRes>> GetListByPage(PageRequest request);
|
|
/// <summary>
|
|
/// 编辑
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
DataResult EditClientParam(ClientParamReq req);
|
|
|
|
/// <summary>
|
|
/// 获取详情
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
DataResult<ClientParamRes> GetClientParamInfo(string id);
|
|
|
|
/// <summary>
|
|
/// 编辑
|
|
/// </summary>
|
|
/// <param name="req"></param>
|
|
/// <returns></returns>
|
|
DataResult BatchDelClientParam(IdModel req);
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public DataResult<List<TenantParamSelectRes>> GetTenantParamSelectList();
|
|
|
|
public DataResult<List<TenantParamDataSelectRes>> GetTenantParamDataSelectList(string code = "");
|
|
} |