|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.Module.DjyServiceStatus
|
|
|
|
|
{
|
|
|
|
|
public class DjyServiceStatusDtos
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 内嵌服务项目请求
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class EmbedServiceProjectDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BusinessId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 服务项目代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string[] ProjectCodes { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态操作类型 0-手工 1-自动
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int OpertType { get; set; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修改服务项目状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class EmbedServiceProjectStatusDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string businessId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 来源类型 0-人工 1-自动
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int SourceType { get; set; } = 0;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 服务项目状态明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<EmbedServiceProjectStatusDetailDto> StatusCodes { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class EmbedServiceProjectStatusDetailDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StatusCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人工设定状态完成时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> SetActDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人工设定状态值(可传箱使天数)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SetActVal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ActRemark { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class EmbedQueryServiceProjectWithStatus
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务主键(可为空,不为空时需要查询已触发的记录和未触发的记录,为空时只查询已启用的)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BusinessId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 0-查服务项目 1-查服务项目下的状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int QueryType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 服务项目代码组
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string[] ProjectCodes { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long TenantId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class EmbedServiceProjectStatusResultDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SkuPKId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 活动主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ActPKId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 活动显示顺序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ActSortNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StatusSKUCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StatusSKUName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 显示颜色(背景色)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BackgroundColor { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 显示名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShowName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 流程主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WFPKId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 父活动主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ParentActPKId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 显示顺序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int SortNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否有子状态 true-有子状态 false-没有子状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool HasChild { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否已完成
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsYield { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 完成时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> ActDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ActVal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ActRemark { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 子状态列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<EmbedServiceProjectStatusResultDto> SubStatusList { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 触发器列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<string> TriggerList { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分组名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GroupName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 服务流程排序值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int WFSortNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计算排序值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal CalcSortNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否结束
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsEnd { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务系统代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BusiSystemCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BusiId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|