admin
2025-11-12 fd88938db9af21d2ea6530c2c586b42543c4b45d
Wms/Wms/Controllers/BasisController.cs
@@ -64,9 +64,9 @@
        /// <param name="department">部门</param>
        /// <param name="setting">功能设定</param>
        /// <param name="operation">操作日志</param>
        public BasisController(ICustomerServer customerSvc, ILogisticsInfoServer logisticsSvc, IUserInforServer userInforServer,
            IRolesServer rolesServer, IRoleRightServer roleRightServer, IRBACServer rBACServer, IUnitServer unitSvc,
            IPackagServer packagServer, IMaterialsServer mate, IDepartmentServer department, IFunSettingServer setting,
        public BasisController(ICustomerServer customerSvc, ILogisticsInfoServer logisticsSvc, IUserInforServer userInforServer,
            IRolesServer rolesServer, IRoleRightServer roleRightServer, IRBACServer rBACServer, IUnitServer unitSvc,
            IPackagServer packagServer, IMaterialsServer mate, IDepartmentServer department, IFunSettingServer setting,
            IInterfaceServer interfaceS, IOperationSysServer operation, UserManager userManager)
        {
            _customerSvc = customerSvc;//客户Svc
@@ -362,7 +362,7 @@
        {
            Stopwatch stopwatch = new Stopwatch();
            stopwatch.Start();
            var model =  await _roleRightServer.GetRoleMenuList();
            var model = await _roleRightServer.GetRoleMenuList();
            stopwatch.Stop();
            var time = stopwatch.ElapsedMilliseconds;
@@ -626,7 +626,7 @@
            var bolls = await _mate.GetMateList(model, count);
            //return new SqlSugarPagedList() { Items = bolls, Total = count };
            return Ok(new { code = 0, count=count.Value, msg = "物料信息", data = bolls });
            return Ok(new { code = 0, count = count.Value, msg = "物料信息", data = bolls });
        }
        /// <summary>
@@ -717,10 +717,10 @@
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public async Task<List<SysPackag>> GetPackagList(int page)
        public async Task<IActionResult> GetPackagList(int page)
        {
            var data = await _mate.GetPackagList(page);
            return data;
            return Ok(new { code = 0, count = data.Count, msg = "物料信息", data = data });
        }
        #endregion