| | |
| | | /// <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 |
| | |
| | | { |
| | | Stopwatch stopwatch = new Stopwatch(); |
| | | stopwatch.Start(); |
| | | var model = await _roleRightServer.GetRoleMenuList(); |
| | | var model = await _roleRightServer.GetRoleMenuList(); |
| | | stopwatch.Stop(); |
| | | |
| | | var time = stopwatch.ElapsedMilliseconds; |
| | |
| | | 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> |