系统建模
This commit is contained in:
parent
0a9e92a3ce
commit
0e7a332c3d
@ -1,16 +1,17 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RIZO.Admin.WebApi.Filters;
|
||||
using Infrastructure.Controllers;
|
||||
using RIZO.ServiceCore.Middleware;
|
||||
using Mapster;
|
||||
using Infrastructure.Enums;
|
||||
using Infrastructure;
|
||||
using Infrastructure.Attribute;
|
||||
using RIZO.Common;
|
||||
using Infrastructure.Controllers;
|
||||
using Infrastructure.Enums;
|
||||
using Infrastructure.Model;
|
||||
using MDM.Services.IPlantService;
|
||||
using MDM.Model.Plant.Dto;
|
||||
using Mapster;
|
||||
using MDM.Model.Plant;
|
||||
using MDM.Model.Plant.Dto;
|
||||
using MDM.Services.IPlantService;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RIZO.Admin.WebApi.Filters;
|
||||
using RIZO.Common;
|
||||
using RIZO.ServiceCore.Middleware;
|
||||
|
||||
//创建时间:2025-11-15
|
||||
namespace MDM.Controllers.Plant
|
||||
@ -20,6 +21,7 @@ namespace MDM.Controllers.Plant
|
||||
/// </summary>
|
||||
[Verify]
|
||||
[Route("MasterDataManagement/Plant/PlantFactorySite")]
|
||||
[AllowAnonymous]
|
||||
public class PlantFactorySiteController : BaseController
|
||||
{
|
||||
/// <summary>
|
||||
@ -38,7 +40,7 @@ namespace MDM.Controllers.Plant
|
||||
/// <param name="parm"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("list")]
|
||||
[ActionPermissionFilter(Permission = "business:plantfactorysite:list")]
|
||||
//[ActionPermissionFilter(Permission = "business:plantfactorysite:list")]
|
||||
public IActionResult QueryPlantFactorySite([FromQuery] PlantFactorySiteQueryDto parm)
|
||||
{
|
||||
var response = _PlantFactorySiteService.GetList(parm);
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
},
|
||||
"MainDb": "0", // 多租户主库配置ID
|
||||
"UseTenant": 0, //是否启用多租户 0:不启用 1:启用
|
||||
"InjectClass": [ "RIZO.Repository", "RIZO.Service", "RIZO.Tasks", "RIZO.ServiceCore", "RIZO.Mall" ], //自动注入类
|
||||
"InjectClass": [ "RIZO.Repository", "RIZO.Service", "RIZO.Tasks", "RIZO.ServiceCore", "RIZO.Mall" ,"MDM"], //自动注入类
|
||||
"ShowDbLog": true, //是否打印db日志
|
||||
"InitDb": false, //是否初始化db
|
||||
"DemoMode": false, //是否演示模式
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user