新增服务与状态的接口方法

optimize
jianghaiqing 1 year ago
parent 4b1753986e
commit 0864714af7

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.TrackingSystem.Dtos
{
internal class QueryServiceProjectBaseDto
{
}
}

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.TrackingSystem.Dtos
{
internal class ServiceProjectBaseDto
{
}
}

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.TrackingSystem.Dtos
{
internal class ServiceProjectBasePageDto
{
}
}

@ -0,0 +1,60 @@
using Myshipping.Application.Service.TrackingSystem.Dtos;
using Myshipping.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application.Service.TrackingSystem.Interface
{
/// <summary>
/// 服务项目
/// </summary>
internal interface IServiceProjectService
{
/// <summary>
/// 保存
/// </summary>
/// <param name="info">服务项目详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> Save(ServiceProjectBaseDto info);
/// <summary>
/// 保存并启用
/// </summary>
/// <param name="info">服务项目详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SaveAndEnable(ServiceProjectBaseDto info);
/// <summary>
/// 启用
/// </summary>
/// <param name="pkId">服务项目主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SetEnable(string pkId);
/// <summary>
/// 取消启用
/// </summary>
/// <param name="pkId">服务项目主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SetUnEnable(string pkId);
/// <summary>
/// 删除
/// </summary>
/// <param name="pkId">服务项目主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> Delete(string pkId);
/// <summary>
/// 服务项目台账查询
/// </summary>
/// <param name="QuerySearch">服务项目台账查询请求</param>
/// <returns>返回结果</returns>
Task<SqlSugarPagedList<ServiceProjectBasePageDto>> GetPageAsync(QueryServiceProjectBaseDto QuerySearch);
}
}
Loading…
Cancel
Save