新增以U8登录人为基础的制单功能(ST)

This commit is contained in:
qmj
2025-05-21 21:55:36 +08:00
parent 9e01715ea2
commit b0be43e335
25 changed files with 1038 additions and 41 deletions
@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace UFIDA.U8.Framework.Api.Entity
{
/// <summary>
/// 登录参数
/// </summary>
public class LoginInput
{
/// <summary>
/// 用户名
/// </summary>
public string pUserId { get; set; }
/// <summary>
/// 密码
/// </summary>
public string pPassword { get; set; } = "";
/// <summary>
/// 登录日期,影响各接口制单的默认日期
/// </summary>
public string pDate { get; set; } = $"{DateTime.Today:yyyy-MM-dd}";
}
/// <summary>
/// 用户令牌参数
/// </summary>
public class UserTokenInput
{
/// <summary>
/// 用户令牌
/// </summary>
public string userToken { get; set; }
}
/// <summary>
/// 登录输出参数
/// </summary>
public class LoginOutput
{
/// <summary>
/// 系统号
/// </summary>
public string cAccId { get; set; }
/// <summary>
/// 用户令牌
/// </summary>
public string userToken { get; set; }
}
}
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace UFIDA.U8.Framework.Api.Models
{
public class SFCInput
{
}
/// <summary>
/// 报工单删除参数
/// </summary>
public class DeleteMoRoutingBillInput
{
public List<string> cVouchCode { get; set; }
public List<int> MID { get; set; }
}
}
+16
View File
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace UFIDA.U8.Framework.Api.Models
{
/// <summary>
/// 批量审核弃审参数
/// </summary>
public class STInput
{
public List<string> cCode { get; set; }
public List<long> voucherId { get; set; }
}
}
@@ -0,0 +1,38 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using UFIDA.U8.Framework.Api.ControlObject.Entity;
namespace UFIDA.U8.Framework.Api.Models
{
/// <summary>
/// 查询参数
/// </summary>
public class U8AccountConfigInput
{
public string cAccId { get; set; }
}
/// <inheritdoc />
[SugarTable("SysU8AccountConfig", "系统U8账套对接参数配置表")]
public class AddU8AccountConfigInput : Common.Entity.SysU8AccountConfig
{
}
/// <inheritdoc />
[SugarTable("SysU8AccountConfig", "系统U8账套对接参数配置表")]
public class UpdateU8AccountConfigInput : Common.Entity.SysU8AccountConfig
{
}
/// <inheritdoc />
public class ListU8AccountConfigInput : U8AccountConfigInput
{
}
}