库位表重新生成,一些数据使用enum type status

加上数据权限zoneCode
This commit is contained in:
zhougf committed 2025-04-30 19:59:47 +08:00
1 parent b0a6dcc035
commit b005422b01
25 files changed
+361 -541

No files matched your search

+4
View File
@@ -13,10 +13,13 @@ using WalkingTec.Mvvm.Core.Support.FileHandlers;
using WalkingTec.Mvvm.Mvc;
using HHWMS.Web.Support;
using HHWMS.Web;
using HHWMS.Web.Models;
using Microsoft.CodeAnalysis;
using Quartz;
using SoapCore;
using Microsoft.Extensions.DependencyInjection.Extensions;
using WebService;
using Location = HHWMS.Web.Models.Location;
var builder = WebApplication.CreateBuilder(args);
builder.Logging.ClearProviders();
@@ -130,6 +133,7 @@ app.Run();
{
List<IDataPrivilege> pris = new List<IDataPrivilege>();
//Add data privilege to specific type
pris.Add(new DataPrivilegeInfo<LocationZone>("库区",x => x.ZoneCode));
return pris;
}