xxe 2 years ago
parent
commit
19f1fc7ef6
2 changed files with 44 additions and 1 deletions
  1. +30
    -0
      HKLib/Dto/ReportDto.cs
  2. +14
    -1
      HKLib/Interfaces/HKLibHelper.cs

+ 30
- 0
HKLib/Dto/ReportDto.cs View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace HKLib.Dto
{
public class ReportDto
{
/// <summary>
/// 开始时间
/// </summary>
public DateTime STime { get; set; }
/// <summary>
/// 结束时间
/// </summary>
public DateTime ETime { get; set; }
/// <summary>
/// 姓名
/// </summary>
public string Name { get; set; }
/// <summary>
/// 组织
/// </summary>
public string Org { get; set; }
/// <summary>
/// 设备位置
/// </summary>
public string Location { get; set; }
}
}

+ 14
- 1
HKLib/Interfaces/HKLibHelper.cs View File

@@ -49,7 +49,7 @@ namespace HKLib.Interfaces
}).Build().RunStringFirst(); }).Build().RunStringFirst();
} }
/// <summary> /// <summary>
/// 变更卡状态
/// 变更卡状态 销户
/// </summary> /// </summary>
/// <param name="input"></param> /// <param name="input"></param>
public static void CardStutasChange(CardStutasDto input) public static void CardStutasChange(CardStutasDto input)
@@ -62,5 +62,18 @@ namespace HKLib.Interfaces
}).Build().RunStringFirst(); }).Build().RunStringFirst();
ServiceQueryPush.QueryPush.PushMQ(input, "CardStutasChanged", MQEnum.Top); ServiceQueryPush.QueryPush.PushMQ(input, "CardStutasChanged", MQEnum.Top);
} }
/// <summary>
/// 报表数据
/// </summary>
/// <param name="input"></param>
public static void Report(ReportDto input)
{
IHttpMultiClient.HttpMulti.AddNode(t =>
{
t.NodePath = $"{Configer.SaasRoute}";
t.ReqType = MultiType.POST;
t.JsonParam = input.ToJson();
}).Build().RunStringFirst();
}
} }
} }

Loading…
Cancel
Save