wet 1 year ago
commit a8024e4aad

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class ServiceProjectBaseInfo internal class ServiceProjectBaseInfo
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class ServiceWorkFlowActivitiesInfo internal class ServiceWorkFlowActivitiesInfo
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class ServiceWorkFlowBaseInfo internal class ServiceWorkFlowBaseInfo
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class ServiceWorkFlowProjectRelation internal class ServiceWorkFlowProjectRelation
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class ServiceWorkFlowReleaseInfo internal class ServiceWorkFlowReleaseInfo
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class ServiceWorkFlowRunActivitiesInfo internal class ServiceWorkFlowRunActivitiesInfo
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class ServiceWorkFlowRunInfo internal class ServiceWorkFlowRunInfo
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class StatusSkuBaseInfo internal class StatusSkuBaseInfo
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Entity.TrackingSystem namespace Myshipping.Application.Entity
{ {
internal class StatusTriggerBaseInfo internal class StatusTriggerBaseInfo
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Service.TrackingSystem.Dtos namespace Myshipping.Application
{ {
internal class QueryServiceProjectBaseDto 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
{
internal class QueryStatusSkuBaseDto
{
}
}

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Service.TrackingSystem.Dtos namespace Myshipping.Application
{ {
internal class ServiceProjectBaseDto internal class ServiceProjectBaseDto
{ {

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Service.TrackingSystem.Dtos namespace Myshipping.Application
{ {
internal class ServiceProjectBasePageDto internal class ServiceProjectBasePageDto
{ {

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

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

@ -1,12 +1,11 @@
using Myshipping.Application.Service.TrackingSystem.Dtos; using Myshipping.Core;
using Myshipping.Core;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Myshipping.Application.Service.TrackingSystem.Interface namespace Myshipping.Application
{ {
/// <summary> /// <summary>
/// 服务项目 /// 服务项目
@ -48,6 +47,21 @@ namespace Myshipping.Application.Service.TrackingSystem.Interface
/// <returns>返回回执</returns> /// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> Delete(string pkId); Task<TaskManageOrderResultDto> Delete(string pkId);
/// <summary>
/// 获取服务项目详情
/// </summary>
/// <param name="pkId">服务项目主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetInfo(string pkId);
/// <summary>
/// 检索服务项目列表
/// </summary>
/// <param name="queryItem">检索值</param>
/// <param name="topNum">最大返回行数默认15</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> QueryList(string queryItem, int topNum = 15);
/// <summary> /// <summary>
/// 服务项目台账查询 /// 服务项目台账查询
/// </summary> /// </summary>
@ -56,5 +70,6 @@ namespace Myshipping.Application.Service.TrackingSystem.Interface
Task<SqlSugarPagedList<ServiceProjectBasePageDto>> GetPageAsync(QueryServiceProjectBaseDto QuerySearch); Task<SqlSugarPagedList<ServiceProjectBasePageDto>> GetPageAsync(QueryServiceProjectBaseDto QuerySearch);
} }
} }

@ -0,0 +1,73 @@
using Myshipping.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
/// <summary>
/// 状态管理
/// </summary>
internal interface IStatusSkuBaseService
{
/// <summary>
/// 保存
/// </summary>
/// <param name="info">状态详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> Save(StatusSkuBaseDto info);
/// <summary>
/// 保存并启用
/// </summary>
/// <param name="info">状态详情</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> SaveAndEnable(StatusSkuBaseDto 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="pkId">状态主键</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> GetInfo(string pkId);
/// <summary>
/// 检索状态列表
/// </summary>
/// <param name="queryItem">检索值</param>
/// <param name="topNum">最大返回行数默认15</param>
/// <returns>返回回执</returns>
Task<TaskManageOrderResultDto> QueryList(string queryItem, int topNum = 15);
/// <summary>
/// 状态台账查询
/// </summary>
/// <param name="QuerySearch">状态台账查询请求</param>
/// <returns>返回结果</returns>
Task<SqlSugarPagedList<StatusSkuBasePageDto>> GetPageAsync(QueryStatusSkuBaseDto QuerySearch);
}
}
Loading…
Cancel
Save