2024-10-16 15:22:58 +08:00
|
|
|
|
using LFlow.Base.Interfaces;
|
2024-10-18 11:32:06 +08:00
|
|
|
|
using LFlow.VersionManagement.Enums;
|
2024-10-16 15:22:58 +08:00
|
|
|
|
using LFlow.VersionManagement.Model;
|
|
|
|
|
|
|
|
|
|
namespace LFlow.VersionManagement.Service;
|
2024-10-18 11:32:06 +08:00
|
|
|
|
public interface IVersionManagementService : IService//<VersionDto>
|
2024-10-16 15:22:58 +08:00
|
|
|
|
{
|
2024-10-18 11:32:06 +08:00
|
|
|
|
VersionDto GetById(string id);
|
|
|
|
|
List<VersionDto> Search(VersionDto whereObj);
|
|
|
|
|
|
|
|
|
|
int DeleteById(string id);
|
|
|
|
|
VersionDto Save(VersionDto entity, bool isUpdate);
|
|
|
|
|
|
|
|
|
|
List<VersionDto> GetAll(int pageIndex, int pageSize, ref int total);
|
|
|
|
|
|
2024-10-22 10:14:13 +08:00
|
|
|
|
VersionDto? GetLastVersion(VersionChannel channel, UpgradeTargetType targetType);
|
2024-10-16 15:22:58 +08:00
|
|
|
|
}
|