新增MES模块,包含供应商、客户、车辆和地磅数据记录管理功能,支持免密接口和数据同步。更新相关控制器、实体、服务和数据库配置,优化权限管理和数据字典支持,确保系统的灵活性和可扩展性。

This commit is contained in:
geht
2026-04-30 15:28:20 +08:00
parent 142a0bdaba
commit b03cbeff9b
121 changed files with 10540 additions and 424 deletions

View File

@@ -0,0 +1,25 @@
using System;
namespace YY.Admin.Core.Entity;
public class MesXslCustomer
{
public string? Id { get; set; }
public string? CustomerCode { get; set; }
public string? CustomerName { get; set; }
public string? CustomerShortName { get; set; }
public string? CustomerRegion { get; set; } // Dict: xslmes_customer_region
public string? ErpCode { get; set; }
public string? Status { get; set; } // Dict: xslmes_customer_status "0"启用 "1"停用
public int? IzEnable { get; set; } // 与 Status 联动,由服务端写入,本端只读
public string? CustomerDesc { get; set; }
public int? TenantId { get; set; }
public string? CreateBy { get; set; }
public DateTime? CreateTime { get; set; }
public string? UpdateBy { get; set; }
public DateTime? UpdateTime { get; set; }
public string? SysOrgCode { get; set; }
public int? Version { get; set; }
public string StatusText => Status == "1" ? "停用" : "启用";
}