From 4b483d9d06bead231b88ca212fd799196668a057 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 28 四月 2026 22:58:27 +0800
Subject: [PATCH] fix(任务服务): 修复出库任务选择逻辑和货位分配问题
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs
index 22fc324..23a6991 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs
@@ -1,10 +1,7 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Routing;
-using WIDESEA_DTO.System;
+锘縰sing Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
-using WIDESEA_Core.BaseRepository;
+using WIDESEA_DTO.System;
using WIDESEA_ISystemService;
using WIDESEA_Model.Models;
using WIDESEA_Model.Models.System;
@@ -19,6 +16,7 @@
public class Sys_RoleController : ApiBaseController<ISys_RoleService, Sys_Role>
{
private readonly IHttpContextAccessor _httpContextAccessor;
+
public Sys_RoleController(ISys_RoleService service, IHttpContextAccessor httpContextAccessor) : base(service)
{
_httpContextAccessor = httpContextAccessor;
@@ -63,6 +61,7 @@
{
return Json(Service.GetCurrentTreePermissionPDA());
}
+
[HttpPost, Route("getUserTreePermissionPDA")]
public IActionResult GetUserTreePermissionPDA(int roleId)
{
@@ -81,4 +80,4 @@
return Json(Service.SavePermissionPDA(userPermissions, roleId));
}
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3