同步erp用户

This commit is contained in:
2024-10-09 08:44:01 +08:00
parent e26e405006
commit 92d5a5400f
6 changed files with 132 additions and 38 deletions

View File

@@ -2,6 +2,9 @@ using SqlSugar;
namespace Tnb.ProductionMgr.Entities.Entity.ErpEntity
{
/// <summary>
/// erp人员
/// </summary>
[SugarTable("ERP_BD_PSNDOC")]
public class ErpBdPsndoc
{

View File

@@ -0,0 +1,16 @@
using SqlSugar;
namespace Tnb.ProductionMgr.Entities.Entity.ErpEntity
{
/// <summary>
/// erp用户
/// </summary>
[SugarTable("ERP_SM_USER")]
public class ErpSmUser
{
public string ID { get; set; }
public string PK_PSNDOC { get; set; }
public string CODE { get; set; }
public string NAME { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
namespace Tnb.ProductionMgr.Entities.Entity.ErpEntity
{
public class ErpUserDto
{
/// <summary>
/// 员工id
/// </summary>
public string PERSON_ID { get; set; }
public string USER_ID { get; set; }
public string CODE { get; set; }
public string NAME { get; set; }
/// <summary>
/// 1 erp人员 2 erp用户
/// </summary>
public string TYPE { get; set; }
}
}

View File

@@ -29,6 +29,11 @@ namespace Tnb.ProductionMgr.Entities.Entity
/// </summary>
public string user_id { get; set; }
/// <summary>
/// 人员id
/// </summary>
public string person_id { get; set; }
public DateTime create_time { get; set; }
/// <summary>