You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
939 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Estsh.Core.Base;
using Estsh.Core.Wms.IRepositories;
using Estsh.Core.Wms.IServices;
using Estsh.Core.Model.Result;
using Estsh.Core.Services;
using Estsh.Core.Repositories;
using Estsh.Core.Models;
using Newtonsoft.Json.Linq;
namespace Estsh.Core.Wms.Services
{
public class TestService : BaseService<BaseEntity>, ITestService
{
private readonly ITestRepository repository;
public TestService(ITestRepository _repository) : base(_repository)
{
repository = _repository;
}
/// <summary>
/// 获取收货改数权限
/// </summary>
/// <param name="user">用户名</param>
/// <returns></returns>
public List<SysBase> GetUser(string user)
{
return repository.GetUser(user);
}
}
}