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.

52 lines
1.3 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.System.Dtos;
using DS.WMS.Core.System.Entity;
namespace DS.WMS.Core.System.Interface;
public interface IVersionService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<VersionRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditVersion(VersionReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<VersionRes> GetVersionInfo(string id);
/// <summary>
/// 更新租户表差异
/// </summary>
/// <returns></returns>
public DataResult UpdateSaasTableInfo();
/// <summary>
/// 执行版本更新
/// </summary>
/// <param name="req">版本信息的Id</param>
/// <returns></returns>
Task<DataResult> ExecuteVersionUpdate(IdModel req);
/// <summary>
/// 获取版本已更新的租户列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
public DataResult<List<TenantVersionRes>> GetTenantVersionUpdateList(PageRequest request);
}