feat 生日券功能,自动上传消费数据,提醒访客到期

This commit is contained in:
2025-12-09 11:35:05 +08:00
parent 323eb367d0
commit c1462a03dc
60 changed files with 1451 additions and 409 deletions

View File

@@ -0,0 +1,39 @@

using Newtonsoft.Json;
namespace Dlhis.Jip.Api.Requests;
public class UploadCostRequest
{
[JsonProperty("T_DATA")]
public List<UploadCostItemRequest> Data { get; set; }
}
public class UploadCostItemRequest
{
/// <summary>
/// 工号 可选,为空则删除日期下的所有记录
/// </summary>
[JsonProperty("ZWORKCODE")]
public string WorkCode { get; set; }
/// <summary>
/// 子信息类型 9020 水费扣减(上饶),9021 冷水扣减(上饶),9022 热水扣减(上饶), 2086餐卡消费金额 , 2088生日券发放金额、2089生日券消费金额
/// </summary>
[JsonProperty("SUBTY")]
public string Code { get; set; }
/// <summary>
/// 开始日期
/// </summary>
[JsonProperty("BEGDA")]
public string BeginDate { get; set; }
/// <summary>
/// 工资项金额
/// </summary>
[JsonProperty("BETRG")]
public decimal Charge { get; set; }
}